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: Drew Adams
Subject: RE: [External] : Re: master 927b885 1/3: Disable filtering of commands in M-x completion
Date: Thu, 18 Feb 2021 20:45:55 +0000

> > OK, interesting.  Here it doesn't.
> > MS Windows 10
> > Emacs 23 through 27.1
> > emacs -Q
> >
> > `mark-even-if-inactive' = t
> > (default in Emacs 23 and later)
> 
> Are you sure you have no mark?

No, there's a mark.  (I guess just from
defining the command or invoking it.)

But even if `mark-even-if-inactive' is nil,
the region _exists_, no?

The doc string of `mark-even-if-inactive'
doesn't actually say what the behavior is
when 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?

The region exists, even when that var is nil,
no?  The region (and mark) just might not be
_active_.  But if you ever had a mark in that
buffer then the region _exists_.

And the doc for `interactive' code `r' says
nothing about activity - it just says that
`r' returns point and mark.

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.



reply via email to

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