[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rampant region highlighting
From: |
Chong Yidong |
Subject: |
Re: rampant region highlighting |
Date: |
Sun, 06 Apr 2008 18:37:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Glenn Morris <address@hidden> 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.
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], (continued)
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], Lennart Borgman (gmail), 2008/04/08
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], Richard Stallman, 2008/04/08
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], David De La Harpe Golden, 2008/04/07
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], Alan Mackenzie, 2008/04/08
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], David De La Harpe Golden, 2008/04/08
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], Chong Yidong, 2008/04/08
- Re: Preserving sanity in Emacs [Re: rampant region highlighting], Mathias Dahl, 2008/04/07
Re: rampant region highlighting, Chong Yidong, 2008/04/06
Re: rampant region highlighting, Chong Yidong, 2008/04/06
- Re: rampant region highlighting, Glenn Morris, 2008/04/06
- Re: rampant region highlighting,
Chong Yidong <=
- Re: rampant region highlighting, Stefan Monnier, 2008/04/07
- Re: rampant region highlighting, Glenn Morris, 2008/04/07
- Re: rampant region highlighting, Chong Yidong, 2008/04/07
- Re: rampant region highlighting, Glenn Morris, 2008/04/07
- Re: rampant region highlighting, Chong Yidong, 2008/04/07
- Re: rampant region highlighting, Chong Yidong, 2008/04/07
- Re: rampant region highlighting, Glenn Morris, 2008/04/07
Re: rampant region highlighting, Chong Yidong, 2008/04/07
Re: rampant region highlighting, Thomas Lord, 2008/04/06