help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with flyspell-mode


From: Daniel Dalton
Subject: Re: help with flyspell-mode
Date: Sun, 22 Nov 2009 22:05:40 +1100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Nov 21, 2009 at 06:34:12PM -0800, Les Harris wrote:
> 
> Using a file local variable for the files with no extension would be one
> option. ie, adding:
> 
> -*- mode: flyspell; -*-
> 
> to the top of your file would turn flyspell mode on.  This is only
> useful for files you visit often though.
> 
> Alternatively, you can add an element to magic-mode-alist which makes
> emacs match a given regular expression or match function against the
> file being opened and setting the given mode.  This method is only

Yes, thanks I might have a play with this at some stage, but it is
probably easier if I just use the txt extention:) 

Also, speaking of this can you show me the sintax of how I would
automatically set message-mode for a filename containing the words
"mutt-localhost"?

Thanks 

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]