From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: master 927b885 1/3: Disable filtering of commands in M-x completion Date: Fri, 19 Feb 2021 15:17:55 +0200 Message-ID: <83lfbk2o3g.fsf@gnu.org> 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> <83zh01419g.fsf@gnu.org> <83sg5t408m.fsf@gnu.org> <83lfbl3yyw.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8807"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, stefankangas@gmail.com, juri@linkov.net To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 14:34:21 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 1lD5vJ-0002BV-IT for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 14:34:21 +0100 Original-Received: from localhost ([::1]:40952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD5vI-0005oP-GD for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 08:34:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD5fC-00075n-Uq for emacs-devel@gnu.org; Fri, 19 Feb 2021 08:17:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46193) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD5fC-0007yj-FI; Fri, 19 Feb 2021 08:17:42 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lD5fB-0007IB-TI; Fri, 19 Feb 2021 08:17:42 -0500 In-Reply-To: (message from Drew Adams on Thu, 18 Feb 2021 20:45:55 +0000) 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:265247 Archived-At: > From: Drew Adams > CC: "juri@linkov.net" , > "stefankangas@gmail.com" > , > "emacs-devel@gnu.org" > Date: Thu, 18 Feb 2021 20:45:55 +0000 > > > Are you sure you have no mark? > > No, there's a mark. (I guess just from > defining the command or invoking it.) No, defining a command doesn't set the mark, nor does invoking it. maybe you've pasted the definition from somewhere? > But even if `mark-even-if-inactive' is nil, > the region _exists_, no? If the mark is set, then the region exists, but it is not necessarily "active". > The doc string of `mark-even-if-inactive' > doesn't actually say what the behavior is > when nil. It does here: Non-nil means you can use the mark even when inactive. This option makes a difference in Transient Mark mode. When the option is non-nil, deactivation of the mark turns off region highlighting, but commands that use the mark behave as if the mark were still active. As usual, when the description is about what happens when something is non-nil means that those things do NOT happen when that thing is nil. > It says only that if NON-nil then "you can > use the mark" even when inactive. A guess > is that if nil then you CANNOT use the mark > when inactive. But what does "use the mark" > really mean, here? It mentions Transient Mark mode, and that should tell you what that means. > I see that the Elisp manual does say that > an error is raised for `r' if the mark is not > SET. But even the manual says nothing about > what `r' does for an inactive region/mark. It does now.