all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* auto-mode-alist, adding two modes
@ 2007-10-08 15:33 Gijs Hillenius
  2007-10-08 15:37 ` weber
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Gijs Hillenius @ 2007-10-08 15:33 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

I would like to get emacs to use longlines-mode *and* flyspell-mode
for all files ending in .txt

If I add this in my .emacs 

(add-to-list 'auto-mode-alist '("\\.txt\\'" . longlines-mode ))

followed by a similar line for flyspell, ignores the first, and uses
only the latter.

I've tried several more complicated incantations, but I'm not exactly
fluent in lisp.

Would appreciate a hint or two..

Thx

Gijs




-- 
The genius of our ruling class is that it has kept a majority of the
people from ever questioning the inequity of a system where most people
drudge along paying heavy taxes for which they get nothing in return.
		-- Gore Vidal

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

end of thread, other threads:[~2007-10-12  5:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 15:33 auto-mode-alist, adding two modes Gijs Hillenius
2007-10-08 15:37 ` weber
2007-10-08 16:01 ` Joost Kremers
2007-10-08 17:55   ` Gijs Hillenius
2007-10-08 18:20     ` Joost Kremers
2007-10-09  2:22   ` Barry Margolin
2007-10-09 11:01     ` Joost Kremers
2007-10-09 21:34 ` Edward O'Connor
     [not found] ` <mailman.1891.1191965685.18990.help-gnu-emacs@gnu.org>
2007-10-10 23:47   ` Johan Bockgård
2007-10-12  5:37     ` Gijs Hillenius

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.