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: position on changing defaults? Date: Sun, 09 Mar 2008 12:40:30 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1205081321 28791 80.91.229.12 (9 Mar 2008 16:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 16:48:41 +0000 (UTC) Cc: juri@jurta.org, miles@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org, storm@cua.dk To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 09 17:49:08 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 1JYOhu-0003v5-E4 for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 17:49:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYOhM-0006RY-GF for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 12:48:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYOZe-0002mq-Ko for emacs-devel@gnu.org; Sun, 09 Mar 2008 12:40:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYOZb-0002jw-06 for emacs-devel@gnu.org; Sun, 09 Mar 2008 12:40:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYOZa-0002jq-RA for emacs-devel@gnu.org; Sun, 09 Mar 2008 12:40:30 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYOZa-0003kT-Oq for emacs-devel@gnu.org; Sun, 09 Mar 2008 12:40:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JYOZa-0006wq-29; Sun, 09 Mar 2008 12:40:30 -0400 In-reply-to: (message from Stefan Monnier on Sat, 08 Mar 2008 15:09:19 -0500) 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:91894 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? That seems like a clean feature, if it is useful. However, I have a bad feeling about using this to implement something that makes _all_ shift keys do something special. Binding some set of shifted keys to a command that says "run the equivalent non-shifted character but do this other special thing" seems better, because you could override that for individual shifted keys if you wish.