From: Chong Yidong <cyd@stupidchicken.com>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: rampant region highlighting
Date: Sun, 06 Apr 2008 18:37:52 -0400 [thread overview]
Message-ID: <87ej9iobi7.fsf@stupidchicken.com> (raw)
In-Reply-To: <5ty77qhbjr.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 06 Apr 2008 18:18:48 -0400")
Glenn Morris <rgm@gnu.org> writes:
> If `(transient-mark-mode -1)' isn't enough to completely disable tmm,
> then please tell we what is. I already have this from some time back:
>
> (defadvice set-mark-command (after no-bloody-t-m-m activate)
> "Prevent consecutive marks activating bloody `transient-mark-mode'."
> (if (eq transient-mark-mode 'lambda)
> (setq transient-mark-mode nil)))
>
> (defadvice mouse-set-region-1 (after no-bloody-t-m-m activate)
> "Prevent mouse commands activating bloody `transient-mark-mode'."
> (if (eq transient-mark-mode 'only)
> (setq transient-mark-mode nil)))
This is a temporary transient-mark-mode (`only' mode) which is set by
the mouse. This was recently changed to make the temporary mark less
fragile, so that it persists for some commands instead of deactivating
after the next command. As a result, there are some commands that now
need to turn off the temporary tmm explicitly.
next prev parent reply other threads:[~2008-04-06 22:37 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-06 19:43 rampant region highlighting Glenn Morris
2008-04-06 21:50 ` David De La Harpe Golden
2008-04-06 22:00 ` Glenn Morris
2008-04-06 22:17 ` David De La Harpe Golden
2008-04-06 22:52 ` Chong Yidong
2008-04-06 23:00 ` Preserving sanity in Emacs [Re: rampant region highlighting] Alan Mackenzie
2008-04-06 23:01 ` Chong Yidong
2008-04-07 22:28 ` Alan Mackenzie
2008-04-07 22:18 ` Glenn Morris
2008-04-06 23:50 ` David De La Harpe Golden
2008-04-06 23:58 ` Lennart Borgman (gmail)
2008-04-07 1:19 ` David De La Harpe Golden
2008-04-07 4:33 ` visual marks [was: " Drew Adams
2008-04-07 15:43 ` David De La Harpe Golden
2008-04-07 16:03 ` Lennart Borgman (gmail)
2008-04-07 17:40 ` David De La Harpe Golden
2008-04-07 17:02 ` Drew Adams
2008-04-07 0:49 ` Robert J. Chassell
2008-04-07 21:26 ` Alan Mackenzie
2008-04-07 21:37 ` Lennart Borgman (gmail)
2008-04-08 10:05 ` Alan Mackenzie
2008-04-08 10:20 ` Lennart Borgman (gmail)
2008-04-08 15:35 ` Richard Stallman
2008-04-07 23:07 ` David De La Harpe Golden
2008-04-08 10:31 ` Alan Mackenzie
2008-04-08 17:52 ` David De La Harpe Golden
2008-04-08 18:09 ` Chong Yidong
2008-04-07 23:54 ` Mathias Dahl
2008-04-06 22:09 ` rampant region highlighting Chong Yidong
2008-04-06 22:18 ` Glenn Morris
2008-04-06 22:37 ` Chong Yidong [this message]
2008-04-07 15:22 ` Stefan Monnier
2008-04-07 18:30 ` Glenn Morris
2008-04-07 19:21 ` Chong Yidong
2008-04-07 20:25 ` Glenn Morris
2008-04-07 21:01 ` Chong Yidong
2008-04-07 21:13 ` Chong Yidong
2008-04-07 21:54 ` Glenn Morris
2008-04-07 4:30 ` Chong Yidong
2008-04-07 18:29 ` Glenn Morris
2008-04-06 23:40 ` Thomas Lord
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ej9iobi7.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).