[Top][All Lists]

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

RE: region-active-p

From: Drew Adams
Subject: RE: region-active-p
Date: Tue, 30 Oct 2007 13:28:28 -0700

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

Thanks for frantically searching, but I still don't understand. Do you think
that should be added to the function we're discussing now
(`transient-region-p' or whatever we call it)? If so, why?

reply via email to

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