From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs Subject: bug#6221: 23.1; checkdoc-ispell-lisp-words when ispell already running Date: Thu, 20 May 2010 09:29:17 +1000 Message-ID: <87tyq3v5bm.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1274313438 31221 80.91.229.12 (19 May 2010 23:57:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 May 2010 23:57:18 +0000 (UTC) To: 6221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 20 01:57:16 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OEt8V-0000zq-Dp for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 01:57:15 +0200 Original-Received: from localhost ([127.0.0.1]:59656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEt8U-0007Bz-JU for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 May 2010 19:57:14 -0400 Original-Received: from [140.186.70.92] (port=42897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEt8I-0007A9-JF for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:57:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEt8H-0006rx-GQ for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:57:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50699) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEt8H-0006rr-CR for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OEsiB-0007Es-SJ; Wed, 19 May 2010 19:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Ryde Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2010 23:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6221 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127431179027801 (code B ref -1); Wed, 19 May 2010 23:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2010 23:29:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEshx-0007EM-VM for submit@debbugs.gnu.org; Wed, 19 May 2010 19:29:50 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEshw-0007EH-MK for submit@debbugs.gnu.org; Wed, 19 May 2010 19:29:49 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:37430) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OEshs-0004h3-L8 for submit@debbugs.gnu.org; Wed, 19 May 2010 19:29:44 -0400 Original-Received: from [140.186.70.92] (port=57313 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEsho-0007Oc-Q2 for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:29:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEshm-00049X-UQ for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:29:40 -0400 Original-Received: from mailout1-8.pacific.net.au ([61.8.2.215]:48511 helo=mailout1.pacific.net.au) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEshm-000498-2F for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 19:29:38 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id B923E5A08AB for ; Thu, 20 May 2010 09:29:33 +1000 (EST) Original-Received: from blah.blah (ppp2699.dyn.pacific.net.au [61.8.38.153]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id EC4878C05 for ; Thu, 20 May 2010 09:29:32 +1000 (EST) Original-Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1OEshR-0001kY-R1 for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 09:29:17 +1000 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 May 2010 19:30:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37058 Archived-At: --=-=-= When using the spell-checking feature of M-x checkdoc, if flyspell-mode is enabled then the checkdoc-ispell-lisp-words are not recognised as correct. For example with the foo.el below (progn (setq checkdoc-spellcheck-documentation-flag t) (find-file "foo.el") (turn-on-flyspell) (checkdoc)) => asks to correct spelling of "keymap" It looks like checkdoc-ispell-init assumes that if an ispell-process exists then it was checkdoc-ispell-init which started it and therefore doesn't need the checkdoc-ispell-lisp-words sent again. Of course that's not the case if using flyspell, and presumably also not if you use ispell.el directly and still have the process running. Perhaps a flag meaning "checkdoc-ispell-lisp-words already sent" could to be attached to the process object, to send just once. Does it hurt to send the words more than once? The simplest thing could be to just send them every time. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=foo.el Content-Transfer-Encoding: quoted-printable ;;; foo.el --- something ;; Keywords: data ;;; History: ;;=20 ;;; Commentary: ;;=20 ;;; Code: (defun foo () "Something about a keymap." nil) (provide 'foo) ;;; foo.el ends here --=-=-= In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t --=-=-=--