From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: file/line info for macro expansion Date: Wed, 05 Jan 2011 01:11:45 -0500 Organization: A noiseless patient Spider Message-ID: References: <87aajgfnty.fsf@kuiper.lan.informatimago.com> <1ab76841-4d87-4603-849a-adfb644709ec@c39g2000yqi.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294209987 23654 80.91.229.12 (5 Jan 2011 06:46:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 06:46:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 05 07:46:22 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PaN8V-0004rg-0N for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 07:46:19 +0100 Original-Received: from localhost ([127.0.0.1]:46539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaN8U-0001nV-FE for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 01:46:18 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Injection-Info: mx01.eternal-september.org; posting-host="7TKp2luQmWSGnmAmeWd+Kg"; logging-data="32199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NQS/a2e5WgGZeLBemyGwC" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:n4ZEXB5OXLzgcqpwvfrzqw3+LRA= sha1:DSPCX1ffJL0V2OZspV2bp1ruk2A= Original-Xref: usenet.stanford.edu gnu.emacs.help:184001 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78204 Archived-At: > However, both `find-function' and `find-variable' seem to know file > and line number where a function/variable has been defined. Emacs knows the file name (in most cases, at least), thanks to load-history. But it doesn't know the line number. Instead, find-function will look for the definition with a regular expression. Stefan