I'd like to know if it is possible (and how) to create a client
emacs (to open a file when emacs is already running without
using emacs menus but by using a shell command) instead
of recreate another emacs task ?
thank you in advance.
Roland
> I'd like to know if it is possible (and how) to create a client
> emacs (to open a file when emacs is already running without using
> emacs menus but by using a shell command) instead of recreate
> another emacs task ?
The program is called `emacsclient', not surpisingly. You must do M-x
server-start RET in your Emacs first, though.
kai
--
OOP: object oriented programming; OOPS: object oriented mistakes
Sorry if this is not the right place for this question.
I'm editing LaTeX files with Unix scripts in them, and I've got
font-lock
and font-latex (part of AUCTeX) activated. The problem is that any '$'
sign in
a script is considered by font-latex to start a math expression, and the
whole text,
up to the next '$' is highlighted with math-face, which is very annoying
sometimes.
Does anybody know how I can override this?
Thanx,
Mamoun
--
Mamoun ALISSALI
LIUM Tel: (33-2) -02-43 83 38 47
UNIVERSITE DU MAINE Fax: (33-2) -02-43 83 38 68
Avenue Olivier Messiaen E-mail: alis...@lium.univ-lemans.fr
72085 LE MANS CEDEX 9 http://www-ic2.univ-lemans.fr/~alissali
> I'm editing LaTeX files with Unix scripts in them, and I've got
> font-lock and font-latex (part of AUCTeX) activated. The problem
> is that any '$' sign in a script is considered by font-latex to
> start a math expression, and the whole text, up to the next '$' is
> highlighted with math-face, which is very annoying sometimes.
> Does anybody know how I can override this?
The only `solution' I can think of is to put a comment with a $ in it
after the end of such a shell script. This is not satisfactory.
I wish there was a real solution.
Kai> The only `solution' I can think of is to put a comment with a $
Kai> in it after the end of such a shell script. This is not
Kai> satisfactory.
Kai> I wish there was a real solution.
Presumably that would involve respecting verbatim
commands/environments in the fontification (assuming that's how the
text in question is marked up). It should be quite feasible.
That is what I thought, but font-latex doesn't seem to be aware of
verbatim-like
environments (I'm not expert il elisp, but it seems to me that the only
environments it's aware of are math environments). Is there any simple
way to add
new environments?