unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Agustin Martin <agustin.martin@hispalinux.es>
To: Dirk Ullrich <dirk.ullrich@googlemail.com>, 8579-done@debbugs.gnu.org
Subject: bug#8579: 24.0.50; ispell bug in `ispell-add-per-file-word-list'
Date: Tue, 3 May 2011 13:12:51 +0200	[thread overview]
Message-ID: <20110503111251.GA17631@agmartin.aq.upm.es> (raw)
In-Reply-To: <BANLkTiktJxwjYJ92jX6ZM6qGez0Bzk4Gkg@mail.gmail.com>

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





      reply	other threads:[~2011-05-03 11:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 16:08 bug#8579: 24.0.50; ispell bug in `ispell-add-per-file-word-list' Dirk Ullrich
2011-05-03 11:12 ` Agustin Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110503111251.GA17631@agmartin.aq.upm.es \
    --to=agustin.martin@hispalinux.es \
    --cc=8579-done@debbugs.gnu.org \
    --cc=dirk.ullrich@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).