From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Eval elisp file automatically Date: Tue, 08 Feb 2011 10:54:08 -0700 Message-ID: References: <8739oaboss.fsf@puma.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297187698 21677 80.91.229.12 (8 Feb 2011 17:54:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2011 17:54:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 08 18:54:55 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 1PmrmA-0005ws-Gv for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2011 18:54:54 +0100 Original-Received: from localhost ([127.0.0.1]:49861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmrmA-000378-5H for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2011 12:54:54 -0500 Original-Received: from [140.186.70.92] (port=48157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pmrlk-00034e-Da for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 12:54:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pmrlj-0006Hu-7d for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 12:54:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pmrli-0006H2-Tc for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 12:54:27 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pmrld-0005a1-8b for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 18:54:21 +0100 Original-Received: from c-24-8-96-241.hsd1.co.comcast.net ([24.8.96.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Feb 2011 18:54:21 +0100 Original-Received: from kevin.d.rodgers by c-24-8-96-241.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Feb 2011 18:54:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-8-96-241.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:79034 Archived-At: On 2/8/11 8:38 AM, Andrea Crotti wrote: > I think I got it, I have to set "eval" as a variable. > I found out by chance using the interactive system to add variables, but > didn't see it documented anywhere.. is that possible? Under "Specifying File Variables" in the Emacs manual: Some "variable names" have special meanings in a local variables list: * `mode' enables the specified major or minor mode. * `eval' evaluates the specified Lisp expression (the value returned by that expression is ignored). * `coding' specifies the coding system for character code conversion of this file. *Note Coding Systems::. * `unibyte' says to visit the file in a unibyte buffer, if the value is `t'. *Note Enabling Multibyte::. These four "variables" are not really variables; setting them in any other context has no special meaning. -- Kevin Rodgers Denver, Colorado, USA