From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: mode-local key binding of S-drag-mouse-1 Date: Wed, 12 Oct 2011 09:03:38 -0400 Message-ID: References: <20117.30835.243469.955478@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318424631 25183 80.91.229.12 (12 Oct 2011 13:03:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 13:03:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Roland Winkler" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 15:03:47 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 1RDyTK-0005Jy-Jl for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 15:03:46 +0200 Original-Received: from localhost ([::1]:47281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDyTJ-0001Ht-Sl for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 09:03:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDyTD-0001Hl-W6 for emacs-devel@gnu.org; Wed, 12 Oct 2011 09:03:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDyTD-0008P2-2W for emacs-devel@gnu.org; Wed, 12 Oct 2011 09:03:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:45319 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDyTD-0008Ow-03; Wed, 12 Oct 2011 09:03:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOSPlU5FxJoX/2dsb2JhbABDqC6BBoFTAQEEAVYjBQsLNBIUGA0kiBG6G4dYBKEghEU X-IronPort-AV: E=Sophos;i="4.69,334,1315195200"; d="scan'208";a="141405806" Original-Received: from 69-196-154-23.dsl.teksavvy.com (HELO pastel.home) ([69.196.154.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2011 09:03:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0860E5933F; Wed, 12 Oct 2011 09:03:38 -0400 (EDT) In-Reply-To: <20117.30835.243469.955478@gargle.gargle.HOWL> (Roland Winkler's message of "Wed, 12 Oct 2011 06:22:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:144995 Archived-At: > 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). I think you can bind S-down-mouse-1 to `ignore'. Stefan