emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Developing a PHP package


From: Stefan Monnier
Subject: Re: Developing a PHP package
Date: Sat, 04 Sep 2021 12:51:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> the emacs core would have my preference. Is there interest in having
> such a package in the emacs core?

I'll let Emacs maintainers decide whether they want it in the core, but
I'd be happy to add it to GNU ELPA.  In both cases we'd first need you
to sign some copyright paperwork anyway.  If you're OK with that, please
fill the form after my sig and send it to the FSF as instructed so they
can send you the appropriate paperwork to sign.

> - I have read that there is work being done on incorporating lib
>   tree-sitter in emacs, would tree-sitter make a package like mine
>   obsolete?

Could be, but in my experience, there's often room for several competing
solutions anyway.

> - The parser is currently only used for completion, but could
>   theoretically also be used (with some modifications) to do syntax
>   highlighting and indentation, making for somewhat of an alternative to
>   PHP-mode in the future.  Would there be interest in something like
>   that?

Yes.  Better would be for it to be a *complement* rather than an
alternative, so that improvements don't need to be duplicated in the
two packages.

> - The package has a dependency on a bash script that uses some GNU
>   coreutils (find, grep) and diff from GNU diffutils. The script is used
>   to find files containing definitions of PHP classes and namespaces,
>   but not for any of code parsing. What is the policy for emacs packages
>   having dependencies on external programs like that?

Emacs already has such dependencies (e.g. `M-x diff`, `M-x grep`, ...),
so that's not a problem.  Some of your users may be affected (typically
under Windows), but that's secondary (it's only a matter of "quality"
than policy).

Do you have a Git repository for your code somewhere?


        Stefan


Please email the following information to assign@gnu.org, and we
will send you the assignment form for your past and future changes.

Please use your full legal name (in ASCII characters) as the subject
line of the message.
----------------------------------------------------------------------
REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES

[What is the name of the program or package you're contributing to?]
Emacs

[Did you copy any files or text written by someone else in these changes?
Even if that material is free software, we need to know about it.]


[Do you have an employer who might have a basis to claim to own
your changes?  Do you attend a school which might make such a claim?]


[For the copyright registration, what country are you a citizen of?]


[What year were you born?]


[Please write your email address here.]


[Please write your postal address here.]





[Which files have you changed so far, and which new files have you written
so far?]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]