From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Key-binding without minor mode! Date: Thu, 11 Sep 2014 10:31:27 -0400 Message-ID: References: <87mwa6crac.fsf@newcastle.ac.uk> <87wq9ab5k8.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410445937 13254 80.91.229.3 (11 Sep 2014 14:32:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 14:32:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: phillip.lord@newcastle.ac.uk (Phillip Lord) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 16:32:10 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XS5Ph-00086v-1a for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 16:31:57 +0200 Original-Received: from localhost ([::1]:38866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS5Pg-0005yn-MV for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 10:31:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS5PO-0005tZ-4L for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 10:31:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS5PF-0002yo-Pu for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 10:31:38 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS5PF-0002yh-Mf for help-gnu-emacs@gnu.org; Thu, 11 Sep 2014 10:31:29 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s8BEVRss006875; Thu, 11 Sep 2014 10:31:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 769B360BE1; Thu, 11 Sep 2014 10:31:27 -0400 (EDT) In-Reply-To: <87wq9ab5k8.fsf@newcastle.ac.uk> (Phillip Lord's message of "Thu, 11 Sep 2014 15:22:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5061=0 X-NAI-Spam-Version: 2.3.0.9378 : core <5061> : inlines <1278> : streams <1287314> : uri <1812783> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99822 Archived-At: > This problem seems to be this. If I define keys as follows: > (define-key pabbrev-mode-map [tab] 'pabbrev-expand-maybe) If you don't want to distinguish between [tab] and "\t", then use "\t", which will cover both. Stefan