From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#8579: 24.0.50; ispell bug in `ispell-add-per-file-word-list' Date: Tue, 3 May 2011 13:12:51 +0200 Message-ID: <20110503111251.GA17631@agmartin.aq.upm.es> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1304422627 25165 80.91.229.12 (3 May 2011 11:37:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 May 2011 11:37:07 +0000 (UTC) To: Dirk Ullrich , 8579-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 03 13:37:02 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHDuY-0002Lc-Az for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2011 13:37:02 +0200 Original-Received: from localhost ([::1]:51228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHDuX-0001XS-T0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2011 07:37:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHDuV-0001WU-5W for bug-gnu-emacs@gnu.org; Tue, 03 May 2011 07:37:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHDuU-0002OG-7H for bug-gnu-emacs@gnu.org; Tue, 03 May 2011 07:36:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHDuU-0002OC-4V for bug-gnu-emacs@gnu.org; Tue, 03 May 2011 07:36:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QHDYI-0007Uu-5A for bug-gnu-emacs@gnu.org; Tue, 03 May 2011 07:14:02 -0400 Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2011 11:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 8579 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 8579@debbugs.gnu.org, agustin.martin@hispalinux.es Original-Received: via spool by 8579-done@debbugs.gnu.org id=D8579.130442118228743 (code D ref 8579); Tue, 03 May 2011 11:14:01 +0000 Original-Received: (at 8579-done) by debbugs.gnu.org; 3 May 2011 11:13:02 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QHDXK-0007TY-J8 for submit@debbugs.gnu.org; Tue, 03 May 2011 07:13:02 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.198.71] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QHDXH-0007T4-KD for 8579-done@debbugs.gnu.org; Tue, 03 May 2011 07:13:00 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id p43BCpMT022495; Tue, 3 May 2011 13:12:52 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 019BA822A7; Tue, 3 May 2011 13:12:51 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 May 2011 07:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46163 Archived-At: On Thu, Apr 28, 2011 at 06:08:26PM +0200, Dirk Ullrich wrote: > > * How to reproduce the bug: > > Load a text file; > Enable `flyspell-mode' > Type a word not contained in the active Ispell dictionary, and place the > point just behind the word; > Run command `flyspell-correct-word-before-point', > and choose the option `Accept (Buffer)'; > > * Symptom: > > Emacs signals an error: > flyspell-do-correct: Wrong type argument: char-or-string-p, nil > > * Diagnosis: > > `ispell.el's function `ispell-add-per-file-word-list' cannot handle a > `nil' value of the `comment-start' variable. > > * A possible fix: > > This is a fixed version of `ispell-add-per-file-word-list'. > It ignores the comment-related stuff if `comment-begin' (or > `comment-end') has value `nil'. Fix installed. Thanks for your contribution. -- Agustin