From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: rampant region highlighting Date: Sun, 06 Apr 2008 18:18:48 -0400 Message-ID: <5ty77qhbjr.fsf@fencepost.gnu.org> References: <87od8mocte.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207520341 26805 80.91.229.12 (6 Apr 2008 22:19:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2008 22:19:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 07 00:19:33 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JidD3-0006g4-5R for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 00:19:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JidCQ-0007B5-3R for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2008 18:18:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JidCN-0007B0-2g for emacs-devel@gnu.org; Sun, 06 Apr 2008 18:18:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JidCM-0007Ak-4n for emacs-devel@gnu.org; Sun, 06 Apr 2008 18:18:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JidCL-0007Aa-PV for emacs-devel@gnu.org; Sun, 06 Apr 2008 18:18:49 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JidCL-0000Yz-DI for emacs-devel@gnu.org; Sun, 06 Apr 2008 18:18:49 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JidCK-0001SB-Us; Sun, 06 Apr 2008 18:18:48 -0400 X-Spook: oil CIA Operation Iraqi Freedom UFO MD5 Venezuela X-Ran: Z.$A&9h9J&nR;owkd)qNfDhf<{d&@yTj`#>K8SM5)s`mo9O^wb2:}L*6r~%TU9q5X!&5*O X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94518 Archived-At: 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)))