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: position on changing defaults? Date: Sun, 09 Mar 2008 18:22:20 -0400 Message-ID: References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <87hcfkdhqk.fsf@stupidchicken.com> <87d4q8sq9c.fsf@jurta.org> <8763w0n393.fsf@catnip.gol.com> <87bq5p3x8y.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205101366 18222 80.91.229.12 (9 Mar 2008 22:22:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 22:22:46 +0000 (UTC) Cc: juri@jurta.org, miles@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org, storm@cua.dk To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 09 23:23:13 2008 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 1JYTvE-0002jb-2z for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 23:23:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYTuf-0007DY-QF for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 18:22:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYTua-0007AX-2t for emacs-devel@gnu.org; Sun, 09 Mar 2008 18:22:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYTuY-000784-Ht for emacs-devel@gnu.org; Sun, 09 Mar 2008 18:22:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYTuY-00077i-8Y for emacs-devel@gnu.org; Sun, 09 Mar 2008 18:22:30 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYTuQ-0001wW-Qa; Sun, 09 Mar 2008 18:22:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgCAG//00fO+J2CdGdsb2JhbACQfQEwlyeBBw X-IronPort-AV: E=Sophos;i="4.25,471,1199682000"; d="scan'208";a="15769901" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 09 Mar 2008 18:22:21 -0400 Original-Received: from pastel.home ([206.248.157.130]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id PZF42621; Sun, 09 Mar 2008 18:22:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id EB9ED805A; Sun, 9 Mar 2008 18:22:20 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Sun, 09 Mar 2008 12:40:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:91934 Archived-At: > OTOH I find the above two examples of "generic function-key-map > bindings" desirable. Note that they have nothing to do with > pre-command-hook: they just move a hardcoded C-level feature to elisp > (well, the first is in C, the other doesn't exist because I don't want to > add it to the C code but I don't have any clean way to do it in elisp > right now). > Do you mean that these transformations would be defaults, only > to be used when there is no direct binding -- like the current default > transformations of shifted to nonshifted events? Yes, of course: function-key-map bindings only apply when there's no direct binding. > However, I have a bad feeling about using this to implement something > that makes _all_ shift keys do something special. Agreed. I was only asking Miles what modification of key-remapping he was thinking about. Stefan