From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: enable flyspell in latex files Date: Tue, 29 Jul 2008 13:34:31 +0200 Organization: disorganized Message-ID: <87ej5cc4ag.fsf@localhorst.mine.nu> References: <488EC973.8060504@telenet.be> <87d4kxey97.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217331539 21368 80.91.229.12 (29 Jul 2008 11:38:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2008 11:38:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 29 13:39:48 2008 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 1KNnYM-0000GN-Hj for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2008 13:39:42 +0200 Original-Received: from localhost ([127.0.0.1]:52453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNnXS-0005V8-CV for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2008 07:38:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNnX6-0005V3-Pr for help-gnu-emacs@gnu.org; Tue, 29 Jul 2008 07:38:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNnX5-0005Ur-CU for help-gnu-emacs@gnu.org; Tue, 29 Jul 2008 07:38:24 -0400 Original-Received: from [199.232.76.173] (port=36069 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNnX5-0005Uo-6v for help-gnu-emacs@gnu.org; Tue, 29 Jul 2008 07:38:23 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:54435 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNnX4-0005nu-VE for help-gnu-emacs@gnu.org; Tue, 29 Jul 2008 07:38:23 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KNnX2-0000ON-IR for help-gnu-emacs@gnu.org; Tue, 29 Jul 2008 11:38:20 +0000 Original-Received: from e178013048.adsl.alicedsl.de ([85.178.13.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Jul 2008 11:38:20 +0000 Original-Received: from david.hansen by e178013048.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Jul 2008 11:38:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 10 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178013048.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:BHFnufSfaJNLiA4TW5UTQbNNCns= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:56022 Archived-At: On Tue, 29 Jul 2008 13:16:36 +0200 Sven Bretfeld wrote: > (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) > (add-hook 'LaTeX-mode-hook 'flyspell-mode) Better make it (add-hook 'LaTeX-mode-hook 'turn-on-flyspell). If you have a mode that is derived from some other mode, and in both hooks `flyspell-mode' is called with no arguments, that is a NOP. David