emacs-devel
[Top][All Lists]
Advanced

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

Re: Clojure mode


From: Philip Kaludercic
Subject: Re: Clojure mode
Date: Wed, 30 Aug 2023 12:25:20 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: monnier@iro.umontreal.ca,  stefankangas@gmail.com,  yandros@gmail.com,
>>   bozhidar@batsov.dev,  dmitry@gutov.dev,  rms@gnu.org,
>>   danny@dfreeman.email,  emacs-devel@gnu.org,  manuel.uberti@inventati.org
>> Date: Wed, 30 Aug 2023 11:51:37 +0000
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> To make a concrete suggestion: The database would probably consist of
>> >> possible extensions to `auto-mode-alist', `magic-mode-alist' and
>> >> `interpreter-mode-alist'.
>> >
>> > That'd be the anchor, definitely, at least for major modes.  It could
>> > be a single function that is called if no suitable entry is found in
>> > any of these variables.
>> 
>> What could be a single function?
>
> That function would look up some database and suggest a package if it
> exists.

Ah, yes that is true.

Are there any other examples, where we would want to have minor modes
for specific file types?  These sorts of entries would probably have to
be added manually.

I am glad to see that there is interest in this proposal.  I can try and
create an example of how this could work, and push it to a feature
branch for further review, some time soon.  As mentioned elsewhere, this
might or might not be related to updating the "archive-contents" format
and adding package.el to GNU ELPA, as mentioned in [0]

[0] https://mail.gnu.org/archive/html/emacs-devel/2023-08/msg00667.html

-- 
Philip Kaludercic



reply via email to

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