GNU bug report logs - #2654
ispell-complete-word fails

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 13 Mar 2009 04:30:03 UTC

Severity: normal

Done: Agustin Martin <agustin.martin <at> hispalinux.es>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2654 in the body.
You can then email your comments to 2654 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2654; Package emacs. (Fri, 13 Mar 2009 04:30:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: ispell-complete-word fails
Date: Fri, 13 Mar 2009 00:21:43 -0400
emacs -Q

Type "foo", followed by M-x ispell-complete-word:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  ispell-get-word(nil "\\*")
  ispell-complete-word(nil)
  call-interactively(ispell-complete-word t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

This happens because in ispell-get-word

(if (not (looking-at ispell-casechars))

has ispell-casechars = nil. This is because (ispell-get-casechars)
returns nil; and this is because ispell-dictionary-alist is now nil by
default.





Reply sent to Agustin Martin <agustin.martin <at> hispalinux.es>:
You have taken responsibility. (Fri, 13 Mar 2009 16:30:06 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Fri, 13 Mar 2009 16:30:07 GMT) Full text and rfc822 format available.

Message #8 received at 2654-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Agustin Martin <agustin.martin <at> hispalinux.es>
To: 2654-done <at> debbugs.gnu.org
Subject: Re: bug#2654: ispell-complete-word fails
Date: Fri, 13 Mar 2009 17:21:13 +0100
On Fri, Mar 13, 2009 at 12:21:43AM -0400, Glenn Morris wrote:
> 
> emacs -Q
> 
> Type "foo", followed by M-x ispell-complete-word:
> 
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   looking-at(nil)
>   ispell-get-word(nil "\\*")
>   ispell-complete-word(nil)
>   call-interactively(ispell-complete-word t nil)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command nil nil)
> 
> This happens because in ispell-get-word
> 
> (if (not (looking-at ispell-casechars))
> 
> has ispell-casechars = nil. This is because (ispell-get-casechars)
> returns nil; and this is because ispell-dictionary-alist is now nil by
> default.

Thanks for noticing and debugging,

Committed a fix that initializes spellchecker parameters also from
(ispell-get-word)

-- 
Agustin




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 11 Apr 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.