[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/setup 31dfc0f24e 2/5: Expand on how setting a "feat
From: |
Stefan Monnier |
Subject: |
Re: [elpa] externals/setup 31dfc0f24e 2/5: Expand on how setting a "feature" sets hooks and maps. |
Date: |
Wed, 20 Apr 2022 15:16:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> I had been thinking about this recently, and I do think that I made a
> mistake in adding too many of these "dwim" features. This commit just
> documents the behaviour, it doesn't add anything.
Yes, I realized that, it was just the commit that prompted the thought :-)
> To solve the issue I would have to deprecate the current macro set and
> provide a new one that could be used instead, written with the benefit
> of hindsight.
You could start by emitting warnings when the arg doesn't end in
`-mode` (if you decide it's a good change, that is. I haven't looked
at all the consequences it might have).
Stefan