bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2654: marked as done (ispell-complete-word fails)


From: Emacs bug Tracking System
Subject: bug#2654: marked as done (ispell-complete-word fails)
Date: Fri, 13 Mar 2009 16:30:06 +0000

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
--- Begin Message --- Subject: ispell-complete-word fails Date: Fri, 13 Mar 2009 00:21:43 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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.




--- End Message ---
--- Begin Message --- Subject: Re: bug#2654: ispell-complete-word fails Date: Fri, 13 Mar 2009 17:21:13 +0100 User-agent: Mutt/1.5.18 (2008-05-17)
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]