[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6a2cdc6: Allow minor modes to specify major modes they're use
From: |
Lars Ingebrigtsen |
Subject: |
Re: master 6a2cdc6: Allow minor modes to specify major modes they're useful in |
Date: |
Sat, 13 Feb 2021 16:10:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> That would certainly be nice, but I didn't see how to make that work
>> here -- :noninteractive would be misleading, since :interactive
>> (foo-mode) makes it interactive.
>
> How 'bout `:inhibit-interactive` or `:not-a-command`?
And add another keyword for :applicable-modes? That seems even more
complicated...
>> So :interactive t and leaving the keyword out results in identical
>> results, and I don't think that's too bad. If you squint at it, it's a
>> bit Common Lispish.
>
> That's a part of Common-Lisp that I don't like.
I love that bit -- it allows us to never use parameters like not-foo,
which are fraught with misunderstanding.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no