From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: how to reference the current *.el file in elisp Date: Sun, 28 Jun 2009 08:44:17 +0800 Organization: Datemas.de http://news.datemas.de Message-ID: <878wjd1926.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246210859 18388 80.91.229.12 (28 Jun 2009 17:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2009 17:40:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 28 19:40:52 2009 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.50) id 1MKyN1-0001Hy-CT for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2009 19:40:51 +0200 Original-Received: from localhost ([127.0.0.1]:43958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKyN0-0005O2-Kd for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2009 13:40:50 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!newsfeed.datemas.de!news.datemas.de!jidanni1.jidanni.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-X-Trace: news.datemas.de 1aVjAKWMCvBUas4V9ibHFSlIuwyzUenOdbiPACVmZ1helxPydZ8J4q3txmICv38pvLVr4YHbRAXLAUAfmSohkN05th5/Ugza1RouknPcmtHb6wrqT6y6NN/EJc/FkfqQ9HOnV+TSoyYmsQ85ZW1PJzYJ619y4D1v Original-X-Complaints-To: abuse@datemas.de Original-NNTP-Posting-Date: Sun, 28 Jun 2009 00:45:23 +0000 (UTC) Original-Xref: news.stanford.edu gnu.emacs.help:170392 X-Mailman-Approved-At: Sun, 28 Jun 2009 13:40:19 -0400 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:65605 Archived-At: BM> (message "Hello %s" load-file-name) How do I do things like # Local Variables: # mode: Shell-script # compile-command: (concat "sh " buffer-file-name) # End: without being asked about risky variables, or hard wiring buffer-file-name?