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

Bug#1111919: emacs-editing-major-modes: do not depend or recommend modes that depend or recommend on implementation of language



Control: severity -1 wishlist

Sean Whitton <spwhitton@spwhitton.name> writes:

> Hello,
>
> On Sat 23 Aug 2025 at 06:05pm +02, Lionel Elie Mamane wrote:
>
>> Package: emacs-editing-major-modes
>> Version: 1.2
>> Severity: normal
>>
>> Installing emacs-editing-major-modes wants to install 1 GiB of
>> packages... because it depends on emacs modes packages that themselves
>> are not big, but that themselves depend or recommend the
>> implementation for the language whose syntax they fontify.
>>
>> This renders the package rather not useful to install blindly to "get
>> all major emacs editing modes". This package should at most suggest
>> any such emacs mode package. Feel free to instead convince the package
>> maintainer of the emacs mode package to suggest their language
>> implementation instead of recommending or depending on it.
>>
>> In terms of size, elpa-haskell-mode is by far the main culprit, but
>> others include elpa-gnuplot-mode elpa-agda2-mode elpa-markdown-mode
>
> I don't think we should change emacs-editing-major-modes here.

+1.  emacs-editing-major-modes is provided so that Emacs on Debian
supports most known formats out-of-the-box, and recommending available
major modes in Debian is by design.

>
> Instead we should consider changing those other modes.

I think this may be desirable, as users are free to use externally
installed tools and the editing modes should still work.

Lionel: please feel free to file wishlist bugs modes that "Depends" on
the tools to downgrade to using recommends, such as the specific mode
packages you listed.

On the other hand, as emacs-editing-major-modes only recommends the
corresponding major modes, as a workaround you are free to skip
installing the modes you don't like.  Personally I skip elpa-agda2-mode
due to the same reason as you.  Also, I use aptitude to selectively
exclude them, which can be done easier than using apt.


> [...]
> 
-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


Reply to: