From: martin rudalics <rudalics@gmx.at>
To: Bostjan Vilfan <bvilf@yahoo.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Erroneous selection extension in Emacs version 22.1 for Win32
Date: Tue, 26 Jun 2007 14:04:15 +0200 [thread overview]
Message-ID: <468100BF.70905@gmx.at> (raw)
In-Reply-To: <121608.61940.qm@web58613.mail.re3.yahoo.com>
> Hello,
> I sent you a previous post, but it may have been premature. I think that your patch results in at least much better behavior. I will observe it for some time, and give you my final verdict in a day or two.
Your recipe for producing the bug was overly difficult ;-)
To reproduce the bug proceed as follows (without my patch, obviously):
With emacs -Q insert the following line in *scratch*
(overlay-put mouse-drag-overlay 'face 'isearch)
put the cursor after it and hit C-x C-e (`eval-last-sexp').
Make sure that `transient-mark-mode' is off (it is by default).
Now mark the line with the left mouse button (`mouse-set-region'). It
should be highlighted in the face `isearch' (some kind of magenta on my
system). Click the left mouse button and the highlighting should
disappear. Everything's nice.
Now again mark the line as above. When you _release_ the left button
the line should be highlighted in `region' face (a goldenrod on my
system). Look at the value of `transient-mark-mode'. It should be
'identity. If you look at the menu bar's
Options -> Active Region Highlighting
you will see that it's checked: `mouse-drag-track' has "turned on"
`transient-mark-mode'. In your original report you observed a marking
behavior as with `transient-mark-mode' on (which is a real pain, BTW).
The funny thing about this is that for some three years people who had
`transient-mark-mode' disabled, actually did use `transient-mark-mode'
(admittedly only those who used `mouse-set-region').
next parent reply other threads:[~2007-06-26 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <121608.61940.qm@web58613.mail.re3.yahoo.com>
2007-06-26 12:04 ` martin rudalics [this message]
[not found] <234179.27310.qm@web58611.mail.re3.yahoo.com>
2007-06-26 12:03 ` Erroneous selection extension in Emacs version 22.1 for Win32 martin rudalics
[not found] <251292.40142.qm@web58609.mail.re3.yahoo.com>
2007-06-11 20:10 ` Eli Zaretskii
2007-06-22 11:51 ` martin rudalics
2007-06-10 6:22 Bostjan Vilfan
2007-06-10 19:03 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468100BF.70905@gmx.at \
--to=rudalics@gmx.at \
--cc=bug-gnu-emacs@gnu.org \
--cc=bvilf@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.