[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Q on Text Properties popup menu - shouldn't it use the pointerpositi
From: |
Drew Adams |
Subject: |
RE: Q on Text Properties popup menu - shouldn't it use the pointerposition, not the cursor position? |
Date: |
Fri, 24 Jun 2005 09:37:34 -0700 |
The Text Properties popup menu (via `C-mouse-2'),
currently applies to the cursor position (point).
No, they apply to the region, or, in Transient Mark mode when the
region is not active, to any immediately following self-inserting
input, which happens to be at the cursor position, because C-mouse-2
does not change the cursor position. Does it affect the already
present character under point in your setup? I do not believe that is
supposed to happen and it does not happen for me.
Correct, concerning most of the menu items. And that makes sense, since most
of the items do something to text (the text in the region).
The last four items (Describe Properties, Display Faces, Display Colors,
Display Fonts), however, do not affect the region and are not affected by
it. Perhaps there should be a menu separator just above these four items?
The Describe Properties item runs describe-text-properties, which always
references (the character after) point, never a region. Since it references
a single position, to me the best position to use is the mouse-pointer
position (when run from the mouse popup menu). If the mouse pointer does not
point to a character, then an error message should say "No character here"
or some such.
BTW, I think there might also be a minor bug: Each time I use the Text
Properties menu I get this message: "<C-drag-mouse-2> is undefined". This
does not seem to affect the menu action, though; things still work OK.
In GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600)
of 2005-04-16 on LAPTOP
Distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
- Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position?, Drew Adams, 2005/06/24
- Re: Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position?, Luc Teirlinck, 2005/06/24
- RE: Q on Text Properties popup menu - shouldn't it use the pointerposition, not the cursor position?,
Drew Adams <=
- RE: Q on Text Properties popup menu - shouldn't it use the pointerposition, not the cursor position?, Drew Adams, 2005/06/24
- Re: Q on Text Properties popup menu - shouldn't it use the pointerposition, not the cursor position?, Luc Teirlinck, 2005/06/24
- RE: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?, Drew Adams, 2005/06/24
- RE: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?, Drew Adams, 2005/06/25
- Re: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?, Luc Teirlinck, 2005/06/25
- RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?, Drew Adams, 2005/06/25
- Re: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?, Luc Teirlinck, 2005/06/25
- RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?, Drew Adams, 2005/06/25
- RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?, Drew Adams, 2005/06/25
- RE: Q on Text Properties popup menu - shouldn't itusethepointerposition, not the cursor position?, Drew Adams, 2005/06/26