unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: Gustavo Seabra <gustavo.seabra@gmail.com>
Subject: Re: select 'mode' from command line?
Date: Thu, 30 Jun 2005 17:16:18 +0200	[thread overview]
Message-ID: <c47f864abf13448e4b5df4fc5ef141f5@Web.DE> (raw)
In-Reply-To: <m3slz0npyq.fsf@doze.jochen-kuepper.de>


Am 30.06.2005 um 11:39 schrieb Jochen Küpper:

> Can you put Local Variable "cookies" into these files?
>

These local variables are placed at the end of the file and consist of 
a few lines. Here is an example where I try to teach AUCTeX to use a 
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?

  reply	other threads:[~2005-06-30 15:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29 19:25 select 'mode' from command line? Gustavo Seabra
2005-06-29 21:51 ` Peter Dyballa
2005-06-29 22:24   ` Gustavo Seabra
2005-06-30 14:04     ` Peter Dyballa
2005-06-30 15:05       ` select 'mode' from command line? [OT] Emilio Lopes
     [not found]     ` <mailman.1729.1120140988.2857.help-gnu-emacs@gnu.org>
2005-06-30 14:45       ` select 'mode' from command line? Miles Bader
     [not found]   ` <mailman.1641.1120084018.2857.help-gnu-emacs@gnu.org>
2005-06-29 22:46     ` Miles Bader
     [not found] ` <loom.20050629T211959-864-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2005-06-30  9:39   ` Jochen Küpper
2005-06-30 15:16     ` Peter Dyballa [this message]
2005-06-30 15:38     ` Gustavo Seabra
     [not found] <mailman.1623.1120074977.2857.help-gnu-emacs@gnu.org>
2005-07-02  3:23 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c47f864abf13448e4b5df4fc5ef141f5@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=gustavo.seabra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).