From unknown Fri Aug 15 12:54:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2654 <2654@debbugs.gnu.org> To: bug#2654 <2654@debbugs.gnu.org> Subject: Status: ispell-complete-word fails Reply-To: bug#2654 <2654@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:54:21 +0000 retitle 2654 ispell-complete-word fails reassign 2654 emacs submitter 2654 Glenn Morris severity 2654 normal thanks From rgm@gnu.org Thu Mar 12 21:21:54 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Mar 2009 04:21:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2D4LpW1014189 for ; Thu, 12 Mar 2009 21:21:52 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhyu6-00024Y-Qu for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 00:21:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhyu0-000241-PS for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 00:21:49 -0400 Received: from [199.232.76.173] (port=46446 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhyu0-00023y-Ms for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 00:21:44 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:33423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhyu0-00013e-Ce for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2009 00:21:44 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lhytz-0002qs-6O; Fri, 13 Mar 2009 00:21:43 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org Subject: ispell-complete-word fails X-Spook: Freeh defense information warfare Operation Iraqi Freedom X-Ran: c;V+#:^Tho=>ATKgF`.{ User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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. From agustin.martin@upm.es Fri Mar 13 09:21:19 2009 Received: (at 2654-done) by emacsbugs.donarmstrong.com; 13 Mar 2009 16:21:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from edison.ccupm.upm.es (edison.ccupm.upm.es [138.100.4.49]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2DGLEJC016336 for <2654-done@emacsbugs.donarmstrong.com>; Fri, 13 Mar 2009 09:21:16 -0700 Received: from mala.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id n2DGLDuQ006694; Fri, 13 Mar 2009 17:21:13 +0100 Received: by mala.aq.upm.es (Postfix, from userid 1000) id 59440101BD6; Fri, 13 Mar 2009 17:21:13 +0100 (CET) Date: Fri, 13 Mar 2009 17:21:13 +0100 From: Agustin Martin To: 2654-done@debbugs.gnu.org Subject: Re: bug#2654: ispell-complete-word fails Message-ID: <20090313162113.GA17812@agmartin.aq.upm.es> References: <1z1vt2833c.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1z1vt2833c.fsf@fencepost.gnu.org> 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 From unknown Fri Aug 15 12:54:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Apr 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator