Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to create a Client emacs

3 views
Skip to first unread message

Roland Chapuis

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
Hi,

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

Kai Grossjohann

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
>>>>> Roland Chapuis <Roland....@lasmea.univ-bpclermont.fr> writes:

> 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

Mamoun Alissali

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
Hello,

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

gross...@ls6.cs.uni-dortmund.de

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
>>>>> alis...@lium.univ-lemans.fr (Mamoun Alissali) writes:

> 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.

Dave Love

unread,
Oct 12, 1998, 3:00:00 AM10/12/98
to
>>>>> "Kai" == grossjohann <gross...@LS6.CS.Uni-Dortmund.DE> writes:

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.

Mamoun Alissali

unread,
Oct 13, 1998, 3:00:00 AM10/13/98
to
> .

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?

0 new messages