[Top][All Lists]

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

Re: Making `interactive' conditional

From: Óscar Fuentes
Subject: Re: Making `interactive' conditional
Date: Tue, 19 Jan 2016 16:28:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

John Wiegley <address@hidden> writes:

>>>>>> Stefan Monnier <address@hidden> writes:
>> I think that pretending that "foo" is not interactive just because you're
>> not in the right context is going too far.
> Lots of great discussion on this feature while I was away for a few days!
> After reading the comments, it does seem that changing core to get a smarter
> M-x isn't the best plan right now.
> While some may want a more narrow and efficient M-x, others just
> don't,

Nobody proposed to force people to use the feature. What you have seen
is the usual drama and hysteria display typical of emacs-devel.

> for discovery purposes.

Anyone is free to refrain from using the feature for whatever reason.
But having the commands that apply to the current buffer (plus the
global ones) listed on M-x is something that enhances discovery, unless
you are interested on *all* of Emacs *all* the time.

> Also, it's hard to properly define a "context" for when
> commands should appear, since for some, that notion varies.
> And, well, Stefan's argument about impurity sold me. I have a feeling he knew
> it would, too. :)
> I'd still love to see a faster, more apropos M-x develop in ELPA, if anyone is
> interested in making that happen.

As Lars said, instrumentalization is required.

reply via email to

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