[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: region-active-p
From: |
David Kastrup |
Subject: |
Re: region-active-p |
Date: |
Tue, 30 Oct 2007 09:59:44 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> If you plan to use this API generally in Emacs, then I guess XEmacs
> compatibility is a secondary consideration. If so I would prefer that
> you use a different name and the semantics for the argument that
> Stefan proposed
>
> 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.
region-effective-p
I am quite unconvinced that it is a good idea to differentiate the
non-empty case, however. It is just begging for a wagonload of
commands that behave inconsistently, depending on what the programmer
happened to pick for checking the region.
I think that for Emacs, we should stay with the equivalent of (and
transient-mark-mode mark-active). If that introduces some slight user
level incompatibility with XEmacs, this is hardly tragic:
zmacs-regions is different from Emacs' region handling, anyway.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: region-active-p, (continued)
- Re: region-active-p, Richard Stallman, 2007/10/28
- Re: region-active-p, Stefan Monnier, 2007/10/28
- Re: region-active-p, Stephen J. Turnbull, 2007/10/28
- Re: region-active-p, Stefan Monnier, 2007/10/28
- Re: region-active-p, Richard Stallman, 2007/10/28
- Re: region-active-p, Stephen J. Turnbull, 2007/10/29
- Re: region-active-p, Richard Stallman, 2007/10/30
- Re: region-active-p,
David Kastrup <=
- Re: region-active-p, Richard Stallman, 2007/10/31
- RE: region-active-p, Drew Adams, 2007/10/30
- Re: region-active-p, Stefan Monnier, 2007/10/30
- RE: region-active-p, Drew Adams, 2007/10/30
- Re: region-active-p, Stefan Monnier, 2007/10/30
- RE: region-active-p, Drew Adams, 2007/10/30
- Re: region-active-p, Stefan Monnier, 2007/10/30
- Re: region-active-p, Miles Bader, 2007/10/30
- Re: region-active-p, David Kastrup, 2007/10/31
- Re: region-active-p, Miles Bader, 2007/10/31