[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select 'mode' from command line?
From: |
Peter Dyballa |
Subject: |
Re: select 'mode' from command line? |
Date: |
Thu, 30 Jun 2005 17:16:18 +0200 |
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?
Re: select 'mode' from command line?, Jochen Küpper, 2005/06/30