From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: debug-on-entry question Date: Wed, 22 Jun 2005 16:12:32 +0300 Organization: JURTA Message-ID: <87vf46msmn.fsf@jurta.org> References: <873breo37h.fsf@jurta.org> <87psuhncy2.fsf@xs4all.nl> <87r7evzmry.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119447789 28009 80.91.229.2 (22 Jun 2005 13:43:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2005 13:43:09 +0000 (UTC) Cc: lute.kamstra.lists@xs4all.nl, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 22 15:43:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dl5U5-0004FF-0u for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2005 15:41:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dl5ai-0004MM-82 for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2005 09:48:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dl5Sg-0001B4-DQ for emacs-devel@gnu.org; Wed, 22 Jun 2005 09:40:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dl5Sa-00014j-NY for emacs-devel@gnu.org; Wed, 22 Jun 2005 09:40:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dl5SX-0000yZ-3m for emacs-devel@gnu.org; Wed, 22 Jun 2005 09:40:05 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dl5SC-0002LN-Nq; Wed, 22 Jun 2005 09:39:45 -0400 Original-Received: from mail.neti.ee (80-235-32-88-dsl.mus.estpak.ee [80.235.32.88]) by Relayhost2.neti.ee (Postfix) with ESMTP id EAA302B4C; Wed, 22 Jun 2005 16:36:22 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Tue, 21 Jun 2005 23:40:24 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:39303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39303 > There are other commands using `a' letter to read function names (like > `elp-instrument-function', etc.) where getting the default function name > from the current buffer would be useful too. So maybe it's better to > implement this in `call-interactively' for all commands using `a'? > > That seems like a good idea. I have ideas for improving other code letters (for example, using ffap for `f', `F', `D'), but they are much easier implementable in Lisp. > I think that allowing customization at that level is asking for > trouble. Customizating details of how a specific letter `b' works is > not a problem, but letting programs simply redefine these codes is > asking for trouble. What if two different packages both define Q but > define it in different ways? > > It is much better if people keep on handling such cases by writing > Lisp code as they already have. The problem is in changing existing code letters. Emacs allows customization of almost everything down to redefining built-in core functions, but disallows customization of default methods for reading input arguments. This is an artificial restriction contradicting the principles of Emacs customization. -- Juri Linkov http://www.jurta.org/emacs/