emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: master 927b885 1/3: Disable filtering of commands i


From: Juri Linkov
Subject: Re: [External] : Re: master 927b885 1/3: Disable filtering of commands in M-x completion
Date: Thu, 18 Feb 2021 21:03:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> >> > (defun foo (&optional beg end)
>> >> >   (interactive "r")
>> >> >   (message "FOO"))
>> >>
>> >> Yes, I'm sure.  'M-x foo RET' without an active
>> >> region raises an error:
>> >>   command-execute: The mark is not active now
>> >
>> > I don't see that in Emacs 27.1 or prior (with
>> > `emacs -Q').  Is this perhaps new for 28?
>> > If so, why would we do that?
>> 
>> It raises an error because the value of
>> mark-even-if-inactive was changed to nil,
>> so the region exists only when explicitly activated.
>
> Really?  That's a horrible change in default behavior
> (IMHO).  Why was that done?

No, not by default, only customized to nil.
But I don't think that changing the default
would be "a horrible change".

> 1. The context here was using a prefix arg for `C-h f'
> and `C-h v'.
>
> 2. I mentioned that _my_ version of `describe-function'
> lets a prefix arg limit candidates to commands.
>
> 3. So `C-u M-x describe-function' limits candidates to
> commands.
>
> (Similarly for `C-h v'.)
>
> Why are you changing the subject here to invocation of
> non-`describe-*' commands with `M-x'?  What's the point?

Because this is the subject of this thread.



reply via email to

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