From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel 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 Organization: LINKOV.NET Message-ID: <878s7lb3la.fsf@mail.linkov.net> References: <20210217165944.26910.26583@vcs0.savannah.gnu.org> <20210217165946.030D420DFC@vcs0.savannah.gnu.org> <87blcih3ar.fsf@mail.linkov.net> <87sg5toh2y.fsf@mail.linkov.net> <87a6s1e3a3.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28326"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , Stefan Kangas , "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 18 20:08:02 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCoeg-0007HE-Rm for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 20:08:02 +0100 Original-Received: from localhost ([::1]:41442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCoef-0002ez-T9 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 14:08:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCobz-00014R-Hw for emacs-devel@gnu.org; Thu, 18 Feb 2021 14:05:15 -0500 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:48357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCobw-0001RH-Nr; Thu, 18 Feb 2021 14:05:14 -0500 X-Originating-IP: 91.129.96.116 Original-Received: from mail.gandi.net (m91-129-96-116.cust.tele2.ee [91.129.96.116]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 2DCE51BF209; Thu, 18 Feb 2021 19:05:05 +0000 (UTC) In-Reply-To: (Drew Adams's message of "Thu, 18 Feb 2021 18:24:38 +0000") Received-SPF: pass client-ip=217.70.183.201; envelope-from=juri@linkov.net; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265179 Archived-At: >> >> > (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.