emacs-devel
[Top][All Lists]
Advanced

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

Re: master 0161c9d 1/2: Load all generic-x.el modes unconditionally


From: Stefan Monnier
Subject: Re: master 0161c9d 1/2: Load all generic-x.el modes unconditionally
Date: Fri, 12 Feb 2021 10:23:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Nothing terrible.  The question for me was rather "what's the benefit?".
>> But among the disadvantages, the most obvious one is that you can't rely on
>> (require 'generic-x) to define your function.
> Yes, but the docs of the package explicitly documents this, so this is
> intended behavior.  Like I said, the package is a bit unusual; but
> being unusual doesn't mean it's bad.  It gets the job done.

I think unusual is bad unless there's some clear benefit.

Having control over which modes are auto-activated via `auto-mode-alist`
is good, so it's a part we can keep.

Having control over which functions are defined doesn't seem to offer
any benefit, so I'd rather get rid of this unusual aspect.


        Stefan




reply via email to

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