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: Fri, 12 Sep 2014 12:56:37 -0400 Message-ID: References: <87mwa6crac.fsf@newcastle.ac.uk> <87wq9ab5k8.fsf@newcastle.ac.uk> <87sijyb43f.fsf@newcastle.ac.uk> <877g19xj3w.fsf@newcastle.ac.uk> <878ulox3n9.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410541070 17816 80.91.229.3 (12 Sep 2014 16:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 16:57:50 +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 Fri Sep 12 18:57:43 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 1XSUAG-0007d4-Vv for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 18:57:41 +0200 Original-Received: from localhost ([::1]:46393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSUAG-0003Kr-LV for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 12:57:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU9x-0003Gm-CK for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSU9p-0006Qh-55 for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:57:21 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:46383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSU9p-0006QV-1G for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 12:57:13 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 679F585091; Fri, 12 Sep 2014 12:57:12 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 7F82C1E5B8A; Fri, 12 Sep 2014 12:56:37 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 521F8B41B5; Fri, 12 Sep 2014 12:56:37 -0400 (EDT) In-Reply-To: <878ulox3n9.fsf@newcastle.ac.uk> (Phillip Lord's message of "Fri, 12 Sep 2014 16:24:58 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:99860 Archived-At: > I am confused then. Should the major mode be binding to \t always then, > and never [tab]? In which case, what is the point of being able to bind > to [tab]? The major mode should only bind to [tab] if it wants to behave differently under a GUI than under a tty (which seems highly unlikely), or if it does not care to work under a tty and wants to distinguish the TAB key from the C-i key. Stefan