unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org, stefankangas@gmail.com, juri@linkov.net
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	[thread overview]
Message-ID: <83lfbk2o3g.fsf@gnu.org> (raw)
In-Reply-To: <SA2PR10MB4474C45BC026AD7784349C77F3859@SA2PR10MB4474.namprd10.prod.outlook.com> (message from Drew Adams on Thu, 18 Feb 2021 20:45:55 +0000)

> From: Drew Adams <drew.adams@oracle.com>
> CC: "juri@linkov.net" <juri@linkov.net>,
>         "stefankangas@gmail.com"
> 	<stefankangas@gmail.com>,
>         "emacs-devel@gnu.org" <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.



  reply	other threads:[~2021-02-19 13:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210217165944.26910.26583@vcs0.savannah.gnu.org>
     [not found] ` <20210217165946.030D420DFC@vcs0.savannah.gnu.org>
2021-02-17 19:27   ` master 927b885 1/3: Disable filtering of commands in M-x completion Stefan Kangas
2021-02-17 20:01     ` Juri Linkov
2021-02-17 22:18       ` [External] : " Drew Adams
2021-02-18  9:33         ` Juri Linkov
2021-02-18 16:25           ` Drew Adams
2021-02-18 17:22             ` Juri Linkov
2021-02-18 18:24               ` Drew Adams
2021-02-18 19:03                 ` Juri Linkov
2021-02-18 19:18                   ` Drew Adams
2021-02-18 19:35                 ` Eli Zaretskii
2021-02-18 19:47                   ` Drew Adams
2021-02-18 19:58                     ` Eli Zaretskii
2021-02-18 20:11                       ` Drew Adams
2021-02-18 20:22                       ` Drew Adams
2021-02-18 20:25                         ` Eli Zaretskii
2021-02-18 20:45                           ` Drew Adams
2021-02-19 13:17                             ` Eli Zaretskii [this message]
2021-02-19 17:53                               ` Drew Adams
2021-02-19 18:38                                 ` Eli Zaretskii
2021-02-18 23:15                       ` martin rudalics
2021-02-18 23:32                         ` Drew Adams
2021-02-19  8:37                           ` Eli Zaretskii
2021-02-19 17:42                             ` Drew Adams
2021-02-18 19:38                 ` Eli Zaretskii
2021-02-18 19:49                   ` Drew Adams
2021-02-18 19:58                     ` Eli Zaretskii
2021-02-18 20:26                       ` Drew Adams
2021-02-17 20:04     ` Eli Zaretskii
2021-02-17 20:31       ` Stefan Kangas
2021-02-17 20:12     ` [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lfbk2o3g.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).