Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* ~/.gnus not lisp-mode by default
@ 2002-08-20  0:21 Patrick Drechsler
  2002-08-20  0:38 ` mr.sparkle
  2002-08-20  0:49 ` Jesper Harder
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick Drechsler @ 2002-08-20  0:21 UTC (permalink / raw)


Hi,

thinking that it doesn't make a difference if I have all my
configurations in one file turned out to be quite difficult after a
while. So I moved all my GNUS stuff to ~/.gnus. Works fine.

But why don't I get the correct syntax-highlighting when opening that
file (~/.gnus) in Emacs? Typing `M-x lisp-mode' everytime calling up
that file surely isn't the way you do it, is it?

I would be very grateful for a hint.

Patrick
-- 
"Military intelligence is a contradiction in terms." (Groucho Marx)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ~/.gnus not lisp-mode by default
  2002-08-20  0:21 ~/.gnus not lisp-mode by default Patrick Drechsler
@ 2002-08-20  0:38 ` mr.sparkle
  2002-08-20  0:49 ` Jesper Harder
  1 sibling, 0 replies; 3+ messages in thread
From: mr.sparkle @ 2002-08-20  0:38 UTC (permalink / raw)


On 20 Aug 2002, patrick.drechsler@gmx.net wrote:
> Hi,
> 
> thinking that it doesn't make a difference if I have all my
> configurations in one file turned out to be quite difficult after a
> while. So I moved all my GNUS stuff to ~/.gnus. Works fine.
> 
> But why don't I get the correct syntax-highlighting when opening
> that file (~/.gnus) in Emacs? Typing `M-x lisp-mode' everytime
> calling up that file surely isn't the way you do it, is it?
> 
> I would be very grateful for a hint.
> 
> Patrick
.gnus.el


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ~/.gnus not lisp-mode by default
  2002-08-20  0:21 ~/.gnus not lisp-mode by default Patrick Drechsler
  2002-08-20  0:38 ` mr.sparkle
@ 2002-08-20  0:49 ` Jesper Harder
  1 sibling, 0 replies; 3+ messages in thread
From: Jesper Harder @ 2002-08-20  0:49 UTC (permalink / raw)


Patrick Drechsler <patrick.drechsler@gmx.net> writes:

> But why don't I get the correct syntax-highlighting when opening that
> file (~/.gnus) in Emacs? Typing `M-x lisp-mode' everytime calling up
> that file surely isn't the way you do it, is it?

Put

;;; -*- Mode: Emacs-Lisp; -*-

as the first line in your .gnus.  See also the node "File Variables" in
the Emacs manual for more stuff you can specify this way.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-20  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20  0:21 ~/.gnus not lisp-mode by default Patrick Drechsler
2002-08-20  0:38 ` mr.sparkle
2002-08-20  0:49 ` Jesper Harder

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 NNTP newsgroup(s).