From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Simple lisp question - printing out file name Date: Tue, 10 Jan 2006 20:58:11 +0100 Message-ID: <0A557591-0890-4414-9BD1-5E64D9C06C32@Web.DE> References: <20060110194440.16260.qmail@web33908.mail.mud.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136923258 26084 80.91.229.2 (10 Jan 2006 20:00:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 20:00:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 10 21:00:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwPfE-0002gI-RT for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 21:00:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwPhE-0003af-2s for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 15:02:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwPfK-0002Bm-FB for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 15:00:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwPfI-0002Ah-Nl for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 15:00:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwPfI-0002AO-6j for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 15:00:20 -0500 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EwPhn-0007kA-E7 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 15:02:55 -0500 Original-Received: from [84.245.180.127] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1EwPdF-0002X4-00; Tue, 10 Jan 2006 20:58:13 +0100 In-Reply-To: <20060110194440.16260.qmail@web33908.mail.mud.yahoo.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: exits funnel X-Mailer: Apple Mail (2.746.2) X-Sender: Peter_Dyballa@web.de 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:32579 Archived-At: Am 10.01.2006 um 20:44 schrieb exits funnel: > I have added to several .el files something like this: > > (message "In prj.el") Try this: (defadvice load (before debug-log activate) (message "(Tipp von Kai G): Lade jetzt: %s" (ad-get-arg 0))) -- Greetings Pete The world would be a better place if Larry Wall had been born in Iceland, or any other country where the native language actually has syntax. -- Peter da Silva