From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David.Kastrup@t-online.de (David Kastrup) Newsgroups: gmane.emacs.devel Subject: Re: Will default key bindings spell the death of Emacs? Date: 03 Jun 2003 22:28:14 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3ED67422.7060305@math.ku.dk> <20030529214728.GA24984@gnu.org> <200305300010.h4U0AiNY018227@rum.cs.yale.edu> <84r86hggd8.fsf@lucy.is.informatik.uni-duisburg.de> <3ED79506.5050604@yahoo.com> <3EDBC154.40009@yahoo.com> <3EDCCC0C.80508@yahoo.com> Reply-To: dak@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054672653 25158 80.91.224.249 (3 Jun 2003 20:37:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 20:37:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 03 22:37:29 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NIXB-0006XA-00 for ; Tue, 03 Jun 2003 22:37:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19NIoR-0001He-00 for ; Tue, 03 Jun 2003 22:55:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NIY9-00071u-BX for emacs-devel@quimby.gnus.org; Tue, 03 Jun 2003 16:38:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NIWE-0006Pt-I5 for emacs-devel@gnu.org; Tue, 03 Jun 2003 16:36:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NITS-0005oH-65 for emacs-devel@gnu.org; Tue, 03 Jun 2003 16:33:40 -0400 Original-Received: from mailout04.sul.t-online.com ([194.25.134.18]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NIOS-0004In-Tt for emacs-devel@gnu.org; Tue, 03 Jun 2003 16:28:29 -0400 Original-Received: from fwd08.aul.t-online.de by mailout04.sul.t-online.com with smtp id 19NIOR-0007oS-02; Tue, 03 Jun 2003 22:28:27 +0200 Original-Received: from localhost.localdomain (STQzJmZboeDZkb+zHa7MPV7Nh9CKW0x7lj3fQ8JEpuKWVm97KkVDs2@[217.80.157.187]) by fwd08.sul.t-online.com with esmtp id 19NIOH-1g5pr60; Tue, 3 Jun 2003 22:28:17 +0200 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h53KSG4G024204; Tue, 3 Jun 2003 22:28:17 +0200 Original-Received: (from dak@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h53KSF7S024200; Tue, 3 Jun 2003 22:28:15 +0200 Original-To: Kevin Rodgers In-Reply-To: <3EDCCC0C.80508@yahoo.com> Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Seen: false X-ID: STQzJmZboeDZkb+zHa7MPV7Nh9CKW0x7lj3fQ8JEpuKWVm97KkVDs2@t-dialin.net X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14655 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14655 Kevin Rodgers writes: > David Kastrup wrote: > > > Kevin Rodgers writes: > >>That seems to require the following patch; is this a known bug in `kbd'? > ... > > Well, what about "KEYS should be a string constant" don't you > > understand? > > > All of it, apparently. :-) > > > It is documented right there in the piece you have quoted > > in the patch, and it is probably this way for efficiency reasons. > > I can't see any significant efficiency savings in restricting such a simple > macro's sole argument to a constant. You can't evaluate it at compile time if it isn't a constant. The macro is there to provide a more readable (and portable) way to encode fixed key sequences. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum