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: Fri, 12 Oct 2007 20:18:34 -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 1192234741 12082 80.91.229.12 (13 Oct 2007 00:19:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 00:19:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 02:18:50 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 1IgUiP-0000ok-PX for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 02:18:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgUiJ-0005Wr-A8 for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 20:18:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgUiF-0005WL-No for emacs-devel@gnu.org; Fri, 12 Oct 2007 20:18:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgUiB-0005Tb-0k for emacs-devel@gnu.org; Fri, 12 Oct 2007 20:18:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgUiA-0005TX-Sy for emacs-devel@gnu.org; Fri, 12 Oct 2007 20:18:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgUiA-00027t-GR for emacs-devel@gnu.org; Fri, 12 Oct 2007 20:18:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IgUiA-00086d-4Z; Fri, 12 Oct 2007 20:18:34 -0400 In-reply-to: (message from Stefan Monnier on Fri, 12 Oct 2007 11:19:25 -0400) 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:80751 Archived-At: Renaming input-decode-map to function-key-map would be a bad idea because it would introduce an incompatibility: the behavior of input-decode-map is different, so while some uses of function-key-map are better moved to input-decode-map, others (such as the ones mentioned at the beginning of this message) need to stay on function-key-map. Ok. Actually the name function-key-map would also be bad because it would fail to describe what the map does (and instead describes what it was meant for). That is not necessarily a bad thing, but this map is not solely for producing function keys. So lt's stay with `input-decode-map'. Renaming function-key-map to `default-key-translation-map' would also seem like a bad idea: - the name seems to imply that it's the global binding of "the buffer-local key-translation-map". - the name suggests the behavior of that map will be the same as the behavior of `key-translation-map' although in reality it is different. Those are valid arguments against the name `default-key-translation-map', but not against renaming to a different name. Right now, in the term/*.el files that I've changed to take advantage of input-decode-map, I've used "foo-alternative-maps" for the keymaps that hold bindings that need to be added to function-key-map, so maybe we could rename function-key-map to alternative-input-names-map or fallback-input-rename-map? "Alternative" does not clearly describe the functionality, but "fallback" does. (I used "default" for the same meaning.) So how about `key-fallback-alias-map'?