From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Developing a PHP package Date: Sat, 04 Sep 2021 20:26:35 +0300 Message-ID: <83o898uu9g.fsf@gnu.org> References: <87pmto47r1.fsf@hugot.nl> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22104"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Hugo Thunnissen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 04 19:27:07 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMZRb-0005Y3-Mx for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 19:27:07 +0200 Original-Received: from localhost ([::1]:47164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMZRa-0003Bn-HH for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 13:27:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMZR5-0002Qi-Ad for emacs-devel@gnu.org; Sat, 04 Sep 2021 13:26:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39080) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMZR3-0008SK-TQ; Sat, 04 Sep 2021 13:26:34 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1340 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMZR3-0003ch-Fq; Sat, 04 Sep 2021 13:26:33 -0400 In-Reply-To: <87pmto47r1.fsf@hugot.nl> (message from Hugo Thunnissen on Sat, 04 Sep 2021 16:37:22 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273939 Archived-At: > From: Hugo Thunnissen > 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.