From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Smith Newsgroups: gmane.emacs.bugs Subject: bug#3837: flyspell-mode in mail-mode doesn't work: message-signature-separator not defined Date: Mon, 13 Jul 2009 15:58:55 +0100 Message-ID: <200907131458.n6DEwtrd005370@localhost.localdomain> Reply-To: Phil Smith , 3837@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247544370 16897 80.91.229.12 (14 Jul 2009 04:06:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2009 04:06:10 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 14 06:06:04 2009 Return-path: Envelope-to: geb-bug-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 1MQZHH-0004HD-4q for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 06:06:03 +0200 Original-Received: from localhost ([127.0.0.1]:43196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQZHG-0003mD-8c for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 00:06:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQNHc-000555-3R for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 11:17:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQNHW-00053z-GC for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 11:17:34 -0400 Original-Received: from [199.232.76.173] (port=43282 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQNHW-00053w-At for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 11:17:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40372) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQNHV-0006in-SB for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 11:17:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6DFHRcI027400; Mon, 13 Jul 2009 08:17:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6DF566C024607; Mon, 13 Jul 2009 08:05:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Phil Smith Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 13 Jul 2009 15:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3837 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124749714923378 (code B ref -1); Mon, 13 Jul 2009 15:05:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Jul 2009 14:59:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6DEx4ZU023368 for ; Mon, 13 Jul 2009 07:59:06 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQMzg-0002Bb-6I for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 10:59:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQMzb-00028Y-7Q for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 10:59:03 -0400 Original-Received: from [199.232.76.173] (port=37755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQMza-00028N-Rb for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 10:58:58 -0400 Original-Received: from anchor-post-2.mail.demon.net ([195.173.77.133]:51567) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQMza-0002y6-DZ for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 10:58:58 -0400 Original-Received: from neoneo12.demon.co.uk ([80.177.19.204] helo=localhost.localdomain) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1MQMzY-0002Vu-kn for bug-gnu-emacs@gnu.org; Mon, 13 Jul 2009 14:58:56 +0000 Original-Received: from localhost.localdomain (earth [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3) with ESMTP id n6DEwuQI005374 for ; Mon, 13 Jul 2009 15:58:56 +0100 Original-Received: (from phil@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id n6DEwtrd005370; Mon, 13 Jul 2009 15:58:55 +0100 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 13 Jul 2009 11:17:34 -0400 X-Mailman-Approved-At: Tue, 14 Jul 2009 00:05:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29399 Archived-At: flyspell-mode fails to work in mail-mode See https://bugzilla.redhat.com/show_bug.cgi?id=505684 In Fedora 11, I get the error "Error in post-command-hook: (void-variable message-signature-separator)" This is with emacs-22.3-11.fc11.x86_64 How reproducible: Every time Steps to Reproduce: 1. emacs junk.txt 2. M-x mail-mode 3. M-x flyspell-mode 4. type junk words 5. flyspell doesn't work Actual results: flyspell doesn't work Expected results: flyspell should work Additional info: flyspell works when not in mail-mode If I put (defvar message-signature-separator "^-- *$" "\ Regexp matching the signature separator.") in .emacs, it works. So it looks like message-signature-separator is not defined anywhere. And a grep of the *.el supports this. In GNU Emacs 22.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.14.7) of 2009-02-09 on x86-1.fedora.phx.redhat.com configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Mail Minor modes in effect: flyspell-mode: t encoded-kbd-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: ESC x m a i l - m o d e RET ESC x f l y s p e l l - m o d e RET s d s a d f SPC s a d f a s d f a s d f a s d f SPC a s d f a s d f a s d f SPC a s d f SPC C-u DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL ESC x r e p p DEL o r t - e m a c s - b u g RE T Recent messages: ("emacs" "-Q" "-rv") Loading encoded-kb...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading sendmail... Loading regexp-opt...done Loading sendmail...done Loading flyspell...done Starting new Ispell process [default] ... Error in post-command-hook: (void-variable message-signature-separator) Loading emacsbug...done