From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Dalton Newsgroups: gmane.emacs.help Subject: Re: help with flyspell-mode Date: Sun, 22 Nov 2009 22:05:40 +1100 Message-ID: <20091122110540.GA31440@gwsc.vic.edu.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" X-Trace: ger.gmane.org 1258888002 23508 80.91.229.12 (22 Nov 2009 11:06:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2009 11:06:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 12:06:35 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCAH4-0001Tw-KI for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2009 12:06:34 +0100 Original-Received: from localhost ([127.0.0.1]:60458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCAH4-0000z1-9K for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2009 06:06:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCAGY-0000x2-6q for help-gnu-emacs@gnu.org; Sun, 22 Nov 2009 06:06:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCAGS-0000vf-SG for help-gnu-emacs@gnu.org; Sun, 22 Nov 2009 06:06:00 -0500 Original-Received: from [199.232.76.173] (port=49623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCAGS-0000vN-GR for help-gnu-emacs@gnu.org; Sun, 22 Nov 2009 06:05:56 -0500 Original-Received: from outbound.icp-qv1-irony-out1.iinet.net.au ([203.59.1.106]:26700) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCAGM-0000fn-NR for help-gnu-emacs@gnu.org; Sun, 22 Nov 2009 06:05:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAG6pCEt8lK40/2dsb2JhbADSRoQ8BA X-IronPort-AV: E=Sophos;i="4.47,266,1257091200"; d="asc'?scan'208";a="604173096" Original-Received: from unknown (HELO localhost) ([124.148.174.52]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 22 Nov 2009 19:05:40 +0800 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70020 Archived-At: --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 21, 2009 at 06:34:12PM -0800, Les Harris wrote: >=20 > Using a file local variable for the files with no extension would be one > option. ie, adding: >=20 > -*- mode: flyspell; -*- >=20 > to the top of your file would turn flyspell mode on. This is only > useful for files you visit often though. >=20 > 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:)=20 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=20 --=20 Cheers, Dan http://members.iinet.net.au/~ddalton/ --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksJGwQACgkQQCYsNYjKJVD5TgCg3IVxB7fWYrhYuf2bwsJuE7ms nYoAn1EwJJLQfUitW553dTQU3roScRba =1uWE -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--