From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: mode-local key binding of S-drag-mouse-1 Date: Wed, 12 Oct 2011 06:22:27 -0500 Message-ID: <20117.30835.243469.955478@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318418577 15908 80.91.229.12 (12 Oct 2011 11:22:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 11:22:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 13:22:53 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDwtf-0001In-Uu for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 13:22:52 +0200 Original-Received: from localhost ([::1]:50565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDwtc-000254-4R for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 07:22:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDwtZ-00024o-Gc for emacs-devel@gnu.org; Wed, 12 Oct 2011 07:22:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDwtY-0008Fc-OI for emacs-devel@gnu.org; Wed, 12 Oct 2011 07:22:45 -0400 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:3952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDwtY-0008DB-Jm for emacs-devel@gnu.org; Wed, 12 Oct 2011 07:22:44 -0400 Original-Received: from regnitz (82.Red-80-32-229.staticIP.rima-tde.net [80.32.229.82]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 9A4D523CA7 for ; Wed, 12 Oct 2011 13:22:34 +0200 (CEST) X-Mailer: VM 8.2 trial under 24.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 131.188.164.197 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144977 Archived-At: I'd like to have a mode-local key binding of S-drag-mouse-1. But somehow this does not work because S-down-mouse-1 is globally bound to mouse-appearance-menu and such down-mouse bindings seem to take precedence over drag-mouse bindings. (I guess a down-mouse binding could not work otherwise.) But then what can I do to suppress the binding of S-drag-mouse-1? Even if I try to unbind S-down-mouse-1 locally, this has no effect because emacs will then look into the global keymap where it still finds the global binding of S-down-mouse-1 (which I'd like to keep). Any help is appreciated! Roland