emacs-devel
[Top][All Lists]
Advanced

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

Re: region-active-p


From: Stefan Monnier
Subject: Re: region-active-p
Date: Tue, 30 Oct 2007 15:03:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> I'm not wedded to any particular name. Possible names are
>> `region-usable-p' and `region-nonempty-p'.
>> Neither one fits quite right.  Whether the region is active is more
>> central to the meaning than whether it is nonempty.
>> Perhaps `region-overrides-p' is a good name.  The decision is whether
>> the region should override the normal meaning of the command.
>> I invite other suggestions.

> transient-region-p?

> BTW, what's the reason for creating this, again? I thought this was about
> harmonizing with XEmacs somehow. Now that doesn't seem possible. What's
> wrong with just (and mark-active transient-mark-mode)? that's short and
> leaves no doubt about the meaning.

I thought the whole point was to add region-emptyness checking in there
as well (and potentially more, to account for things like a region that
has just been selected with the mouse).


        Stefan




reply via email to

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