* bug#2654: marked as done (ispell-complete-word fails)
2009-03-13 4:21 ` bug#2654: ispell-complete-word fails Glenn Morris
@ 2009-03-13 16:30 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-03-13 16:30 UTC (permalink / raw)
To: Agustin Martin
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
Your message dated Fri, 13 Mar 2009 17:21:13 +0100
with message-id <20090313162113.GA17812@agmartin.aq.upm.es>
and subject line Re: bug#2654: ispell-complete-word fails
has caused the Emacs bug report #2654,
regarding ispell-complete-word fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
2654: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2654
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 2667 bytes --]
From: Glenn Morris <rgm@gnu.org>
To: bug-gnu-emacs@gnu.org
Subject: ispell-complete-word fails
Date: Fri, 13 Mar 2009 00:21:43 -0400
Message-ID: <1z1vt2833c.fsf@fencepost.gnu.org>
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.
[-- Attachment #3: Type: message/rfc822, Size: 2195 bytes --]
From: Agustin Martin <agustin.martin@hispalinux.es>
To: 2654-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2654: ispell-complete-word fails
Date: Fri, 13 Mar 2009 17:21:13 +0100
Message-ID: <20090313162113.GA17812@agmartin.aq.upm.es>
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
^ permalink raw reply [flat|nested] 2+ messages in thread