unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Hugo Thunnissen <devel@hugot.nl>
Cc: emacs-devel@gnu.org
Subject: Re: Developing a PHP package
Date: Sat, 04 Sep 2021 20:26:35 +0300	[thread overview]
Message-ID: <83o898uu9g.fsf@gnu.org> (raw)
In-Reply-To: <87pmto47r1.fsf@hugot.nl> (message from Hugo Thunnissen on Sat, 04 Sep 2021 16:37:22 +0000)

> From: Hugo Thunnissen <devel@hugot.nl>
> Date: Sat, 04 Sep 2021 16:37:22 +0000
> 
> - How does the process of contributing a package to emacs usually go?

You tell us you want to submit your package, we look at the code,
comment on any stuff we may wish to change to adapt to our coding
conventions, and then we add it to Emacs.

> - 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?

No, because TS will most probably be an optional library, at least
originally.

> - 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, I think so.

> - 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?

Why can't you use etags for that?

> Thank you for taking the time to read this mail, and for future
> discourse: I am new to mailing list etiquette, feel free to point out
> when I am doing it wrong :)

Thanks for working on your package and for your interest in Emacs in
general.



  parent reply	other threads:[~2021-09-04 17:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 16:37 Developing a PHP package Hugo Thunnissen
2021-09-04 16:51 ` Stefan Monnier
2021-09-04 18:44   ` Hugo Thunnissen
2021-09-04 19:46     ` Stefan Monnier
2021-09-05  7:40   ` Lars Ingebrigtsen
2021-09-05  8:44     ` Juri Linkov
2021-09-05  9:19     ` Eli Zaretskii
2021-09-04 17:21 ` Dmitry Gutov
2021-09-04 17:26 ` Eli Zaretskii [this message]
2021-09-04 18:52   ` Hugo Thunnissen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o898uu9g.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=devel@hugot.nl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).