From unknown Mon Aug 18 15:38:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3837: flyspell-mode in mail-mode doesn't work: message-signature-separator not defined Reply-To: Phil Smith , 3837@debbugs.gnu.org Resent-From: Phil Smith Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 13 Jul 2009 15:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3837 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124749714923378 (code B ref -1); Mon, 13 Jul 2009 15:05:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Jul 2009 14:59:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 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 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 Received: (from phil@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id n6DEwtrd005370; Mon, 13 Jul 2009 15:58:55 +0100 Date: Mon, 13 Jul 2009 15:58:55 +0100 Message-Id: <200907131458.n6DEwtrd005370@localhost.localdomain> From: Phil Smith To: bug-gnu-emacs@gnu.org X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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 From unknown Mon Aug 18 15:38:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Phil Smith Subject: bug#3837 closed by Glenn Morris (Re: bug#3837: flyspell-mode in mail-mode doesn't work: message-signature-separator not defined) Message-ID: References: <200907131458.n6DEwtrd005370@localhost.localdomain> X-Emacs-PR-Message: they-closed 3837 X-Emacs-PR-Package: emacs Reply-To: 3837@debbugs.gnu.org Date: Tue, 14 Jul 2009 07:20:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1247556005-26875-1" This is a multi-part message in MIME format... ------------=_1247556005-26875-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3837: flyspell-mode in mail-mode doesn't work: message-signature-separator= not defined It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 3837: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3837 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1247556005-26875-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3837-done) by emacsbugs.donarmstrong.com; 14 Jul 2009 07:14:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6E7EhoY026002 for <3837-done@emacsbugs.donarmstrong.com>; Tue, 14 Jul 2009 00:14:45 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MQcDp-0006G1-3Y; Tue, 14 Jul 2009 03:14:41 -0400 From: Glenn Morris To: 3837-done@debbugs.gnu.org Subject: Re: bug#3837: flyspell-mode in mail-mode doesn't work: message-signature-separator not defined References: <200907131458.n6DEwtrd005370@localhost.localdomain> X-Spook: Yukon Roswell encryption data haven terrorism CESID X-Ran: A#/&q[nl[yLz,HiZxU?_a=c6,~s.Ec,:z-JL)^r,$W&wO3FA%?Uj X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 14 Jul 2009 03:14:40 -0400 In-Reply-To: <200907131458.n6DEwtrd005370@localhost.localdomain> (Phil Smith's message of "Mon, 13 Jul 2009 15:58:55 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This was fixed last year (will be in 23.1). http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg00945.html ------------=_1247556005-26875-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 13 Jul 2009 14:59:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 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 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 Received: (from phil@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id n6DEwtrd005370; Mon, 13 Jul 2009 15:58:55 +0100 Date: Mon, 13 Jul 2009 15:58:55 +0100 Message-Id: <200907131458.n6DEwtrd005370@localhost.localdomain> From: Phil Smith Reply-To: Phil Smith To: bug-gnu-emacs@gnu.org Subject: flyspell-mode in mail-mode doesn't work: message-signature-separator not defined X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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 ------------=_1247556005-26875-1--