[Top][All Lists]
[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 16:15:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> 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).
> Oh, right; I forgot.
> A short name probably won't capture all 3 things this is a conjunction of:
> (1) tmm mode, (2) mark-active, (3) point diff from mark. The last can
> probably be dropped from the name, so perhaps `transient-region-p'?
> Whatever the name is, the doc string should make 1,2,3 clear.
> Also, I don't follow your remark in parens - could you elaborate?
Hmm.... [grepping frantically] ... oh I have it, it's in skeleton.el:
(or (eq last-command 'mouse-drag-region)
(and transient-mark-mode mark-active))
-- Stefan
- Re: region-active-p, (continued)
- 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, 2007/10/30
- 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 <=
- 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
- Re: region-active-p, Richard Stallman, 2007/10/31
- Re: region-active-p, Richard Stallman, 2007/10/31
- Re: region-active-p, Miles Bader, 2007/10/31
- Re: region-active-p, Richard Stallman, 2007/10/31
- Re: region-active-p, Miles Bader, 2007/10/31