Re: [ELPA] New package: phps-mode
Philip Kaludercic <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Kenta USAMI <[email protected]> writes: > Hi everyone, > > The GitHub URL linked from https://elpa.gnu.org/packages/phps-mode.html is > broken; it > appears the project has moved to > https://forgejo.cvj.se/cjohansson/emacs-phps-mode. > (I am not affiliated with the project, but the domain matches Christian > Johansson's email address.) > > Could someone please update the GNU ELPA metadata? The metadata has already been updated in March, but there hasn't been a release since so the website wasn't updated. > 2019年7月18日(木) 5:28 Christian Johansson <[email protected]>: > >> Hi again! >> >> Thanks, I have updated the regex, labels with UTF-8 are now supported >> just like in PHP 7 >> >> Best Regards >> Christian >> >> On 2019-07-17 10:44, Mattias Engdegård wrote: >> > 17 juli 2019 kl. 07.43 skrev Christian Johansson <[email protected]>: >> >> Thanks for your review, I should have fixed all those items now and >> pushed them to ELPA >> >> (defvar phps-mode-lexer-LABEL >> >> "[a-zA-Z_\u0080-\u00FF][a-zA-Z0-9_\x80-\xff]*" >> > Unfinished? >> > >> > It looks like PHP accepts any Unicode character above and including >> U+0080 in labels implicitly, by including 80-ff at the byte level and the >> implicit fact that most PHP code is in UTF-8. So your regexp would probably >> be something like >> > >> > "[A-Za-z_[:nonascii:]][0-9A-Za-z_[:nonascii:]]*" >> > >> > You could always try and see if your code correctly treats $γνῶσις, say. >> > >> >>