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: select 'mode' from command line? Date: Thu, 30 Jun 2005 17:16:18 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120144882 25300 80.91.229.2 (30 Jun 2005 15:21:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 15:21:22 +0000 (UTC) Cc: Gustavo Seabra Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 17:21:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Do0pM-0006rL-U9 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 17:19:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do0xc-0006hC-Jk for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 11:28:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Do0vA-0005bl-Kf for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 11:25:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Do0ut-0005RA-Td for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 11:25:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do0ut-0005Ml-5n for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 11:25:27 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Do0t2-0005ON-LB for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 11:23:32 -0400 Original-Received: from [84.245.189.182] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #297) id 1Do0m5-0000gx-00; Thu, 30 Jun 2005 17:16:21 +0200 In-Reply-To: Original-To: emacs help X-Mailer: Apple Mail (2.622) 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:27738 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27738 Am 30.06.2005 um 11:39 schrieb Jochen K=FCpper: > Can you put Local Variable "cookies" into these files? > These local variables are placed at the end of the file and consist of=20= a few lines. Here is an example where I try to teach AUCTeX to use a=20 specific programme to tex that specific TeX file: %%% Local Variables: %%% TeX-command-default: "xelatex" %%% End: This comes from a shell script and uses 'mode': # Local Variables: # mode: shell-script # sh-indentation: 3 # coding: iso-8859-1 # End: And here a hook is performed on opening that file in GNU Emacs: ;; Local Variables: ;; eval: (cl-indent 'when-debugging 1) ;; End: You see that the comments vary and can you make a lot buffer local. -- Greetings Pete In a world without walls and fences, who needs gates and windows?