unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuchen Pei <hi@ypei.me>
To: Philip Kaludercic <philipk@posteo.net>
Cc: Emacs Devel mailing list <emacs-devel@gnu.org>
Subject: Re: Adding major or popular language modes to Emacs distribution
Date: Sat, 28 Aug 2021 09:31:21 +1000	[thread overview]
Message-ID: <87zgt28nxy.fsf@ypei.me> (raw)
In-Reply-To: <87czpy1nyu.fsf@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]


Philip Kaludercic <philipk@posteo.net> writes:

> Yuchen Pei <hi@ypei.me> writes:
>
>> Hello,
>>
>> I notice some glaring omissions of modes supporting major / 
>> popular
>> languages like php, haskell and wikitext in Emacs, though there 
>> are
>> widely used versions available externally as packages.
>
> See the thread "Re: NonGNU ELPA work" from today: I submitted 
> patches
> for NonGNU ELPA, the repository that has been enabled for Emacs 
> 28+,
> adding new major modes, so that they can be installed without 
> any
> further configuration.

I'm aware of NonGNU ELPA and use it, thanks for adding packages 
there.  But I'm not sure it can substitute Emacs itself.

>
>> I feel it is important that Emacs support these languages 
>> natively.
>
> Why natively? With packages like gnu-elpa, the user can be 
> notified when
> a major mode exists for a file they have opened. The advantage 
> is that
> bug-fixes and improvements are not tied to Emacs releases but 
> can happen
> concurrently. The disadvantage is that it requires an internet
> connection.

This makes sense.  But does this mean if I want to add new 
language modes it should go to GNU ELPA rather than Emacs itself?

>
>> What is the process of adding these modes?  My understanding 
>> is:
>>
>> 1. Ask the maintainer of a mode to contribute the mode to 
>> Emacs.
>
> And any significant contributor have to sign the FSF copyright
> agreement.

I acknowledge this could be a reason why some packages don't make 
their way to GNU ELPA or Emacs, but it shouldn't be a reason why 
new modes satisfying the criteria shouldn't be added to GNU ELPA 
or Emacs.

>
>> 2. If for some reason the maintainer is unable or unwilling to 
>> add the
>> mode, someone writes the mode and contribute to Emacs.
>>
>> In step 2, is it conventional to add the mode to GNU ELPA 
>> first,
>> before moving it into Emacs itself?
>>
>> I am asking because I am interested in working on some of these 
>> modes.


-- 
Best,
Yuchen

PGP Key: 47F9 D050 1E11 8879 9040  4941 2126 7E93 EF86 DFD0
           <https://ypei.me/assets/ypei-pubkey.txt>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 243 bytes --]

  reply	other threads:[~2021-08-27 23:31 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27 23:04 Adding major or popular language modes to Emacs distribution Yuchen Pei
2021-08-27 23:12 ` Philip Kaludercic
2021-08-27 23:31   ` Yuchen Pei [this message]
2021-08-28  2:38     ` Arthur Miller
2021-08-28  6:47       ` Eli Zaretskii
2021-08-28 11:34         ` Qiantan Hong
2021-08-28 11:52           ` Eli Zaretskii
2021-08-28 13:14     ` Stefan Monnier
2021-08-28 13:37       ` Eli Zaretskii
2021-08-28 13:42         ` Dmitry Gutov
2021-08-28 13:49           ` Eli Zaretskii
2021-08-28 14:16             ` Dmitry Gutov
2021-08-28 14:37               ` Eli Zaretskii
2021-08-28 14:46                 ` Dmitry Gutov
2021-08-28 15:01                   ` Eli Zaretskii
2021-08-28 14:59             ` Lars Ingebrigtsen
2021-08-28 15:03               ` Eli Zaretskii
2021-08-28  6:24   ` Eli Zaretskii
2021-08-28 13:45     ` Philip Kaludercic
2021-08-28 13:56       ` Eli Zaretskii
2021-08-28 14:30         ` Philip Kaludercic
2021-08-28 14:40           ` Eli Zaretskii
2021-08-28 14:45             ` Theodor Thornhill
2021-08-28 14:58               ` Eli Zaretskii
2021-08-28 15:03             ` Arthur Miller
2021-08-28 15:09               ` Eli Zaretskii
2021-08-28 15:32             ` Philip Kaludercic
2021-08-28 15:53               ` Lars Ingebrigtsen
2021-08-28 16:28                 ` Theodor Thornhill
2021-08-28 20:40                   ` Dmitry Gutov
2021-08-29  2:15                     ` Ergus
2021-08-29  6:40                       ` Eli Zaretskii
2021-08-28 16:55                 ` Arthur Miller
2021-08-28 17:02                   ` Theodor Thornhill
2021-08-28  6:21 ` Eli Zaretskii

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=87zgt28nxy.fsf@ypei.me \
    --to=hi@ypei.me \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /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).