From unknown Sat Aug 16 16:19:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2654: ispell-complete-word fails Reply-To: Glenn Morris , 2654@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Mar 2009 04:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2654 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123691811414195 (code B ref -1); Fri, 13 Mar 2009 04:30:03 +0000 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 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 unknown Sat Aug 16 16:19:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Glenn Morris Subject: bug#2654 closed by Agustin Martin (Re: bug#2654: ispell-complete-word fails) Message-ID: References: <20090313162113.GA17812@agmartin.aq.upm.es> <1z1vt2833c.fsf@fencepost.gnu.org> X-Emacs-PR-Message: they-closed 2654 X-Emacs-PR-Package: emacs Reply-To: 2654@debbugs.gnu.org Date: Fri, 13 Mar 2009 16:30:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1236961807-18146-1" This is a multi-part message in MIME format... ------------=_1236961807-18146-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 . 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 by replying to this email. --=20 2654: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2654 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1236961807-18146-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1236961807-18146-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1236961807-18146-1--