unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daniel Dalton <d.dalton@iinet.net.au>
To: help-gnu-emacs@gnu.org
Subject: Re: help with flyspell-mode
Date: Sun, 22 Nov 2009 22:05:40 +1100	[thread overview]
Message-ID: <20091122110540.GA31440@gwsc.vic.edu.au> (raw)
In-Reply-To: <hea7v7$j9c$1@lh.eternal-september.org>

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-11-22 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11262.1258856141.2239.help-gnu-emacs@gnu.org>
2009-11-22  2:34 ` help with flyspell-mode Les Harris
2009-11-22 11:05   ` Daniel Dalton [this message]
2009-11-22 14:38   ` Colin S. Miller
2009-11-26  7:54     ` Kevin Rodgers
2009-11-26 11:27       ` Lennart Borgman
2009-11-28  3:09   ` Stefan Monnier
2009-11-22 16:14 ` harven
2009-11-22  2:15 Daniel Dalton
2009-11-22  5:06 ` Bernardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091122110540.GA31440@gwsc.vic.edu.au \
    --to=d.dalton@iinet.net.au \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).