From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Dragging the mode line Date: Fri, 10 Dec 2004 11:01:13 +1300 Message-ID: <16824.52009.451482.345087@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102631241 20258 80.91.229.6 (9 Dec 2004 22:27:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2004 22:27:21 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 09 23:27:17 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CcWSZ-00069v-00 for ; Thu, 09 Dec 2004 23:08:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CcWcT-0005YI-Pq for ged-emacs-devel@m.gmane.org; Thu, 09 Dec 2004 17:18:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CcWcC-0005YD-JI for emacs-devel@gnu.org; Thu, 09 Dec 2004 17:18:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CcWcC-0005Y1-6V for emacs-devel@gnu.org; Thu, 09 Dec 2004 17:18:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CcWcC-0005Xy-3O for emacs-devel@gnu.org; Thu, 09 Dec 2004 17:18:24 -0500 Original-Received: from [202.124.108.191] (helo=farnswood.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CcWRv-0000iy-TD for emacs-devel@gnu.org; Thu, 09 Dec 2004 17:07:48 -0500 Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 290D56283F; Thu, 9 Dec 2004 22:01:14 +0000 (GMT) Original-To: emacs-devel@gnu.org X-Mailer: VM 6.97 under Emacs 21.2.1 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: main.gmane.org gmane.emacs.devel:30955 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30955 I sometimes select another buffer (mode-line-unbury-buffer) when I really want to drag the mode line because I accidently select part of the mode-line which displays the buffer name. How about removing this line from bindings.el: (define-key map [mode-line down-mouse-1] 'ignore) Now you can drag the mode line there but if you release the mouse without dragging you still get the current behaviour. Note: bindings.el is loaded by loadup.el so you have to dump a fresh emacs to see this behaviour. Nick