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 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




reply via email to

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