From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sandipchitale@yahoo.com (Sandip Chitale) Newsgroups: gmane.emacs.help Subject: Re: how and why does keyboard input unhighlight the mouse-selected region? Date: 5 Sep 2003 14:06:18 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F575F5D.3040600@yahoo.com> <3F58D93F.2000005@yahoo.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062814477 19471 80.91.224.253 (6 Sep 2003 02:14:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2003 02:14:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 06 04:14:35 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19vSaw-0002rN-00 for ; Sat, 06 Sep 2003 04:14:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19vSZv-0004Fi-P2 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Sep 2003 22:13:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: posting.google.com 1062795980 32507 127.0.0.1 (5 Sep 2003 21:06:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 5 Sep 2003 21:06:20 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116397 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12316 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12316 Kevin Rodgers wrote in message news:<3F58D93F.2000005@yahoo.com>... > Sandip Chitale wrote: > > > This may be the answer. > > > > deactivate-mark's value is t > > > > Documentation: > > If an editing command sets this to t, deactivate the mark afterward. > > The command loop sets this to nil before each command, > > and tests the value when the command returns. > > Buffer modification stores t in this variable. > > Yes, but even if I set it to nil with `M-:', select a region with the > mouse, and type a prefix character (C-h), the highlighting goes away. I > can examine its value with `M-:' after selecting the region, which verifies > that it is still nil. Merely typing a key causes the the highlighting to > disappear, even though no command has been executed. Is the "key" in "typing a key" a buffer modifying key? If not (for example cursor movement keys) at least for me the region (highlighting) remains active.