From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: flyspell.el patch Date: Thu, 16 Oct 2003 18:09:42 +0200 Organization: Programmerer Ingebrigtsen Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066320812 14976 80.91.224.253 (16 Oct 2003 16:13:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 16:13:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 16 18:13:31 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAAkk-0003iE-00 for ; Thu, 16 Oct 2003 18:13:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAAkk-0006WB-00 for ; Thu, 16 Oct 2003 18:13:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAAjD-0007Um-Aa for emacs-devel@quimby.gnus.org; Thu, 16 Oct 2003 12:11:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAAii-0007Cn-T2 for emacs-devel@gnu.org; Thu, 16 Oct 2003 12:11:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAAho-0005RP-0s for emacs-devel@gnu.org; Thu, 16 Oct 2003 12:10:59 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAAhj-0005Ox-JN for emacs-devel@gnu.org; Thu, 16 Oct 2003 12:10:23 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AAAhi-000665-00 for ; Thu, 16 Oct 2003 18:10:22 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAAhg-00065x-00 for ; Thu, 16 Oct 2003 18:10:20 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AAAhg-0003mv-00 for ; Thu, 16 Oct 2003 18:10:20 +0200 Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org Mail-Copies-To: never X-Now-Playing: Knifehandchop's _Fighting Pig Learns Judo Tricks_: "Solid Snake" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXs+/uKz/f+/v7z/f2g stP4+fqnIy2b2vfR3+ry/Pyra4XT9Pq2JLY4AAACZUlEQVR4nGXTv2sbMRQH8Bc6xMZLDYEbsgkL RKaAphsLjms8Cq4cnlNhtBUCDs7Uw3LFTVe8VGuI1UNTMpQE7p/rO90Pu+nzYvy573s6SYbxf3Ux nSkn4X8Yj51X+XuI8HNx61X2Htbf1tGmdG4F1feTp9ehNl4uEaq37vd1WzNZTuYIVdV26cqp+dYH qP6BO+m9lA28vgPXQfVyAjhbBnhum/WQS+kRAEZNpAcnZ35VA0CI9DOc3CkFz9DUyzGhcITrYfCp h5VTpzCNelBKehharCEMB9vP1frh9RVnKKX8E5C2aKrbbwxfD3eX0KQuQRMtWnFO5jdArsrc+8Vj 7S3spKcaCDPGJCZJtE50GnApD0uFsC0XZmsW/uDL7ZNHuHJfjWwSBgcnVJNmymSmaI4wNfP5DQIx gjbL2nmh++UiTNoI3alHegRK6FxQjkW9PxCwH2LOrY35taa5pj/qTfFeIVjOY273nGuSliIN8OSz GjCyR/oliA+Ru9lv3Ct8lMf70E2TZYhs3O3mIkBdexsPBJV1ZOFvZx54X7ZIyA4j9zhb9RDvYwAc rzTNpnh/ThKxhQGhDiN4EXE4v+4gLkYZ+aK0zr1Uq34450Ux+kiYvCGGOVUeW9lhMYoEzQXLWC7L Y8JaOI+ydJvgeIaJfSe4qvPobX7PhCEmL8Neta3gLML/FxOCiSvTt8JOcHYZAI8mM2C7t7BFgD8T vEaMHE7AwgtCRh8TkbD0pBXCAwI5UGzGulXZYljAuKohJVRkKdhwIPUI2wLD89cJQLu3+9iOogA0 IyRNYBg3k21sf14GIFkd+Qt7s4JrllttXwAAAABJRU5ErkJggg== User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:RnksogpUo77sAutT5UmkjShxOv4= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17156 The following patch fixes the in-headers predicated -- if mail-header-separator is "", it was true on most bodies as well. Reversing the logic (kinda) should do the trick... *** flyspell.el.~1.47.~ Thu Oct 16 17:21:41 2003 --- flyspell.el Thu Oct 16 18:07:35 2003 *************** *** 267,273 **** (defun mail-mode-flyspell-verify () "This function is used for `flyspell-generic-check-word-p' in Mail mode." (let ((in-headers (save-excursion ! (re-search-forward mail-header-separator nil t))) (in-signature (save-excursion (re-search-backward message-signature-separator nil t)))) (cond (in-headers --- 267,273 ---- (defun mail-mode-flyspell-verify () "This function is used for `flyspell-generic-check-word-p' in Mail mode." (let ((in-headers (save-excursion ! (not (re-search-backward mail-header-separator nil t)))) (in-signature (save-excursion (re-search-backward message-signature-separator nil t)))) (cond (in-headers -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen