emacs-devel
[Top][All Lists]
Advanced

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

Re: rampant region highlighting


From: Glenn Morris
Subject: Re: rampant region highlighting
Date: Sun, 06 Apr 2008 18:18:48 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Chong Yidong wrote:

>> ./src/emacs -Q README  --eval '(transient-mark-mode -1)'
[...]
> I guess mwheel-scroll should unconditionally deactivate the mark when
> tmm is active.  I'll take a look.

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





reply via email to

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