From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hugo Thunnissen Newsgroups: gmane.emacs.devel Subject: Re: Developing a PHP package Date: Sat, 04 Sep 2021 18:44:05 +0000 Message-ID: <87fsuk41vu.fsf@hugot.nl> References: <87pmto47r1.fsf@hugot.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 04 20:48:58 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 1mMain-0000Fv-C1 for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 20:48:57 +0200 Original-Received: from localhost ([::1]:38732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMaim-0006LA-7p for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Sep 2021 14:48:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMaeN-0002jt-L2 for emacs-devel@gnu.org; Sat, 04 Sep 2021 14:44:23 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:41872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMaeK-0004AE-Nn for emacs-devel@gnu.org; Sat, 04 Sep 2021 14:44:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugot.nl; s=selector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=QP/ZLKemZNvWUY1GtpJnSwz6eVAeeDMiQKpEBNzq12Y=; b=GqcCd3fKagjvXekzMeEndHny0P oT8umIWGYm4a278dT9UM4Y5XHOpwIlK5zNTC6syndNVrJZgz1mF7yoSchC3dlasVj0Ld10TVsCBP2 /EaVSTeyzOKo6vhHKLI+Ru0vDsTQgIINZAaXcnNyLh7JLg5hmQcnJvd+9FJQopowqdxME5a3bkOWl +o3nhtKnIwp7amoTstDeJF5EpHccebwA6r84gj8FEHoFS0Rz2H+m/dUl0VJJMRQ5i2qjF0Jps3MXw SV4P/Yf0RURTBYiHJkdT1hHG7LiVFyMWmnCxwBhnES20PU1U0e0Krdw3SHOdVcvuu8cZbkBDkYCHG tz8BVhkg==; Original-Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1mMaeF-00077o-I5; Sat, 04 Sep 2021 20:44:15 +0200 Original-Received: by submission03.runbox with esmtpsa [Authenticated ID (1060096)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1mMae6-0001M4-2L; Sat, 04 Sep 2021 20:44:06 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 04 Sep 2021 12:51:04 -0400") Received-SPF: pass client-ip=91.220.196.211; envelope-from=devel@hugot.nl; helo=aibo.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:273947 Archived-At: > 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. Great, elpa is probably the best place to start anyways :). That papwerwork won't be a problem. >> - 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. > It is my understanding from reading back a bit in in the mailing list archives that php-mode cannot be merged into emacs, so I thought that maybe it would make sense use this as the base for a new PHP mode. I would still have to see whether implementing that is actually practical though. > > Do you have a Git repository for your code somewhere? I do now! https://git.sr.ht/~hugot/phpinspect.el . Excuse the lack of documentation, I haven't found time to write much of that yet. - Hugo