From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: function-key-map Date: Thu, 11 Oct 2007 22:46:04 -0400 Message-ID: References: <18189.42302.211705.594331@gargle.gargle.HOWL> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1192157188 23261 80.91.229.12 (12 Oct 2007 02:46:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 02:46:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 12 04:46:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgAXZ-0004KR-CS for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 04:46:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgAXT-0006c5-46 for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 22:46:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgAXO-0006as-52 for emacs-devel@gnu.org; Thu, 11 Oct 2007 22:46:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgAXN-0006aJ-OI for emacs-devel@gnu.org; Thu, 11 Oct 2007 22:46:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgAXN-0006Zx-Gp for emacs-devel@gnu.org; Thu, 11 Oct 2007 22:46:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgAXN-0002pO-7D for emacs-devel@gnu.org; Thu, 11 Oct 2007 22:46:05 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IgAXM-0004ZF-PD; Thu, 11 Oct 2007 22:46:04 -0400 In-reply-to: <18189.42302.211705.594331@gargle.gargle.HOWL> (raman@users.sf.net) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: news.gmane.org gmane.emacs.devel:80685 Archived-At: Stefan> Yes, it's still very useful. See for example how Stefan> term/xterm.el uses both. Or term/x-win.el. Stefan> I.e. it's useful to give optional remapping Stefan> corresponding to alternative key-names. Is there a reason to use `function-key-map' for this, rather than `key-translation-map'? Is it so that they won't be translated if they have bindings? In any case, the name `function-key-map' doesn't fit this kind of usage. I gave it that name because its main purpose was to map escape sequences into function keys, but that job is now done by `input-decode-map'. So perhaps we should rename the current `function-key-map' to `default-key-translation-map', then rename the current `input-decode-map' to `function-key-map'. What do you think?