GNU bug report logs -
#2654
ispell-complete-word fails
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#2654: ispell-complete-word fails
It has been closed by Agustin Martin <agustin.martin <at> hispalinux.es>.
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 Agustin Martin <agustin.martin <at> hispalinux.es> by
replying to this email.
--
2654: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2654
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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.
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.