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: Tue, 21 Jun 2005 19:32:17 +0300 Organization: JURTA Message-ID: <87r7evzmry.fsf@jurta.org> References: <873breo37h.fsf@jurta.org> <87psuhncy2.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119372515 19930 80.91.229.2 (21 Jun 2005 16:48:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2005 16:48:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 18:48:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dkluh-0007Yx-5C for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 18:47:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkm19-0005R7-FS for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 12:54:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dkm0s-0005Pv-8h for emacs-devel@gnu.org; Tue, 21 Jun 2005 12:54:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dkm0o-0005Nr-Sx for emacs-devel@gnu.org; Tue, 21 Jun 2005 12:54:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkm0n-0005Lk-Jf for emacs-devel@gnu.org; Tue, 21 Jun 2005 12:54:10 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dkm1Y-0008Fj-RN for emacs-devel@gnu.org; Tue, 21 Jun 2005 12:54:57 -0400 Original-Received: from mail.neti.ee (80-235-39-178-dsl.mus.estpak.ee [80.235.39.178]) by Relayhost1.neti.ee (Postfix) with ESMTP id C644E2730; Tue, 21 Jun 2005 19:51:58 +0300 (EEST) Original-To: Lute Kamstra In-Reply-To: <87psuhncy2.fsf@xs4all.nl> (Lute Kamstra's message of "Mon, 20 Jun 2005 19:41:09 +0200") 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:39238 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39238 >> A better way to do this is to change the interactive specification of >> `debug-on-entry' to call `function-called-at-point'. > > How about this? 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'? -- Juri Linkov http://www.jurta.org/emacs/