From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default Emacs keybindings (was: Re: Menu suggestion) Date: 26 May 2004 12:18:59 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085591127 15322 80.91.224.253 (26 May 2004 17:05:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 May 2004 17:05:27 +0000 (UTC) Cc: acm@muc.de, David Kastrup , storm@cua.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 26 19:05:12 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BT1q3-00016k-00 for ; Wed, 26 May 2004 19:05:11 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BT1q3-000332-00 for ; Wed, 26 May 2004 19:05:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT1f7-0001Au-Tk for emacs-devel@quimby.gnus.org; Wed, 26 May 2004 12:53:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BT1en-000158-Tu for emacs-devel@gnu.org; Wed, 26 May 2004 12:53:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BT1eH-0000wc-HC for emacs-devel@gnu.org; Wed, 26 May 2004 12:53:32 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT17X-000393-Jo; Wed, 26 May 2004 12:19:11 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 1E8E4B30344; Wed, 26 May 2004 12:19:00 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 978868CA23; Wed, 26 May 2004 12:18:59 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23966 > Also when explicitly marking a region with the mouse (dragging mouse-1 > or clicking mouse-3), temporary transient mark mode should be enabled: > it is a safe bet that if the user marks out a _region_ for a command, > that he wants the command to be applied to the region instead of just > operating at point. _If_ the command has special behavior for active > regions. > Did this change get made? Do you mean the one I suggested (see below)? If so, no. Should I? Stefan --- mouse.el 29 Apr 2004 12:26:26 -0400 1.245 +++ mouse.el 29 Apr 2004 15:27:48 -0400 @@ -617,6 +617,8 @@ (mouse-set-region-1))) (defun mouse-set-region-1 () + ;; Set transient-mark-mode for a little while. + (setq transient-mark-mode (or transient-mark-mode 'lambda)) (setq mouse-last-region-beg (region-beginning)) (setq mouse-last-region-end (region-end)) (setq mouse-last-region-tick (buffer-modified-tick)))