[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New ELPA package ada-lite
From: |
Stephen Leake |
Subject: |
Re: New ELPA package ada-lite |
Date: |
Wed, 17 Aug 2022 02:56:58 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Stefan Monnier <monnier@iro.umontreal.ca>
>> Cc: emacs-devel <emacs-devel@gnu.org>
>> Date: Mon, 15 Aug 2022 15:04:56 -0400
>>
>> > I'd like to add a package ada-lite-mode to ELPA; code attached. The
>> > intent is to be a mode for Ada files that's easier to install than the
>> > current ELPA ada-mode.
>>
>> Sounds good, as long as the other ada-mode will be modified to (require
>> and) derive from (or extend) ada-lite.
>>
>> Currently, if both ada-mode and ada-lite packages are installed and
>> activated, their autoloads will fight for the top spot of
>> `auto-mode-alist`.
>
> Would it make sense to have the lite mode in core?
I don't think so; that would mean any use of ada-mode would cause a
conflict in auto-mode-alist.
Hmm; if all core package autoloads are executed before all ELPA package
autoloads, that would at least be deterministic; if the ELPA package is
installed and active, it's entry is first in auto-mode-alist and thus
always wins.
If both are ELPA packages, the order probably depends on file-system
sorting, or sorting on the package name, or something equally obscure.
--
-- Stephe
Re: New ELPA package ada-lite, Stephen Leake, 2022/08/17
Re: New ELPA package ada-lite, Felician Nemeth, 2022/08/19