From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#232: marked as done (flyspell functions don't initialize aspell dicts) Date: Mon, 28 Jul 2008 13:25:04 -0700 Message-ID: References: <87y73lrc8c.fsf@stupidchicken.com> <20ecf6c70805121527y505e6bd5qabad4e401eeaffef@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1217276704-6511-0" X-Trace: ger.gmane.org 1217276931 6896 80.91.229.12 (28 Jul 2008 20:28:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 20:28:51 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 22:29:40 2008 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.50) id 1KNZLa-0005wT-Cr for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 22:29:38 +0200 Original-Received: from localhost ([127.0.0.1]:44884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZKe-0005va-MF for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 16:28:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNZJY-0005Dx-92 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:27:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNZJT-00058J-KV for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:27:27 -0400 Original-Received: from [199.232.76.173] (port=45245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZJT-00057w-07 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:27:23 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41955) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNZJS-0006l4-FS for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:27:22 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6SKRK3n007672; Mon, 28 Jul 2008 13:27:20 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6SKP4No006614; Mon, 28 Jul 2008 13:25:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 232 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:18900 Archived-At: This is a multi-part message in MIME format... ------------=_1217276704-6511-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 28 Jul 2008 16:21:39 -0400 with message-id <87y73lrc8c.fsf@stupidchicken.com> and subject line Re: flyspell functions don't initialize aspell dicts has caused the Emacs bug report #232, regarding flyspell functions don't initialize aspell dicts 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 don@donarmstrong.com immediately.) --=20 232: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D232 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1217276704-6511-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=4.0 tests=AWL,HTML_MESSAGE autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 May 2008 23:31:41 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4CNVbRL032297 for ; Mon, 12 May 2008 16:31:38 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 647602CFDC1; Mon, 12 May 2008 19:31:37 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 4F7BE2CFA6C for ; Mon, 12 May 2008 19:31:37 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id A22FF14821B for ; Mon, 12 May 2008 19:31:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:60625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvhUS-0000Lg-Fe for monnier@iro.umontreal.ca; Mon, 12 May 2008 19:31:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvgUs-0005j9-RG for emacs-devel@gnu.org; Mon, 12 May 2008 18:27:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvgUr-0005ix-Pe for emacs-devel@gnu.org; Mon, 12 May 2008 18:27:54 -0400 Received: from [199.232.76.173] (port=42760 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvgUr-0005iu-LP for emacs-devel@gnu.org; Mon, 12 May 2008 18:27:53 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:54894) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvgUr-00043z-Do for emacs-devel@gnu.org; Mon, 12 May 2008 18:27:53 -0400 Received: from mx10.gnu.org ([199.232.76.166]:45063) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JvgTy-0005fx-2B for emacs-pretest-bug@gnu.org; Mon, 12 May 2008 18:26:58 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JvgUm-00043Y-VJ for emacs-pretest-bug@gnu.org; Mon, 12 May 2008 18:27:53 -0400 Received: from rv-out-0708.google.com ([209.85.198.243]:63117) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvgUm-000436-JB for emacs-pretest-bug@gnu.org; Mon, 12 May 2008 18:27:48 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3426549rvb.6 for ; Mon, 12 May 2008 15:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=Rf13INA2AiRcaDywCfpVylwOb04cDIsoRbvCAF1U8+w=; b=qfOSbPhe5s6p7xdLIPtu+NQ8U1IpgQG3kvTRzhjm4cq+WaeBmYTUgpwuousHyujZOVXw1N+cRsCClOYfpcVsru8Il8gClHZ00FbCKI1YStmYTHyv+kX5c2aU3l0AEDge9Rgvg7x07iN7thKUioACKFlLidtcef2wmYYMgKqIaDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=gL7+Z6fqlxJzsMQYcM0gt9LK4HHZMAgLfB6VO/0qzrqrA6FBiWpMOk5IUZF24Zudrn7zrILiWW/vbniMHcrkvqzjZzYID8vfEE3021VQ2N8OAJtciIATkmUOoywEDhsdnn8kpzj0Fz9YFoaE+A9jVyoaLGwpWJcJSpYMSDXMzOo= Received: by 10.142.229.4 with SMTP id b4mr3488844wfh.118.1210631266381; Mon, 12 May 2008 15:27:46 -0700 (PDT) Received: by 10.143.123.3 with HTTP; Mon, 12 May 2008 15:27:46 -0700 (PDT) Message-ID: <20ecf6c70805121527y505e6bd5qabad4e401eeaffef@mail.gmail.com> Date: Mon, 12 May 2008 17:27:46 -0500 From: "Nathaniel Cunningham" To: emacs-pretest-bug@gnu.org, Manuel.Serrano@unice.fr MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5589_33472295.1210631266365" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 12 May 2008 19:30:42 -0400 Cc: David Reitter Subject: flyspell functions don't initialize aspell dicts X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-0.585, requis 5, BAYES_00 -2.60, HTML_00_10 1.07, HTML_MESSAGE 0.88, RCVD_BY_IP 0.07, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org ------=_Part_5589_33472295.1210631266365 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Greetings, I've found that (flyspell-buffer) doesn't go through the same dictionary initialization steps as (ispell-buffer). Specifically, the flyspell functions (flyspell-word) and (flyspell-large-region) don't call (ispell-maybe-find-aspell-dictionaries), they way (ispell-region) and (flyspell-mode) do. The result: user's aspell setup (if present) doesn't get to inform `ispell-dictionary-alist', unless e.g. (ispell-buffer) or (flyspell-mode) is called first. I believe simply adding (ispell-maybe-find-aspell-dictionaries) near the top of `flyspell-word' and `flyspell-large-region' definitions, as it already is for `flyspell-mode-on', will take care of this. Cheers, Nathaniel ------=_Part_5589_33472295.1210631266365 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Greetings,
I've found that (flyspell-buffer) doesn't go through the same dictionary initialization steps as (ispell-buffer).  Specifically, the flyspell functions (flyspell-word) and (flyspell-large-region) don't call (ispell-maybe-find-aspell-dictionaries), they way (ispell-region) and (flyspell-mode) do.  The result: user's aspell setup (if present) doesn't get to inform `ispell-dictionary-alist', unless e.g. (ispell-buffer) or (flyspell-mode) is called first.

I believe simply adding (ispell-maybe-find-aspell-dictionaries) near the top of `flyspell-word' and `flyspell-large-region' definitions, as it already is for `flyspell-mode-on', will take care of this.

Cheers,
Nathaniel
------=_Part_5589_33472295.1210631266365-- ------------=_1217276704-6511-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 232-done) by emacsbugs.donarmstrong.com; 28 Jul 2008 20:19:52 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6SKJn4i005300 for <232-done@emacsbugs.donarmstrong.com>; Mon, 28 Jul 2008 13:19:50 -0700 Received: by cyd (Postfix, from userid 1000) id 71B4257E2EC; Mon, 28 Jul 2008 16:21:39 -0400 (EDT) From: Chong Yidong To: "Nathaniel Cunningham" Cc: 232-done@emacsbugs.donarmstrong.com Subject: Re: flyspell functions don't initialize aspell dicts Date: Mon, 28 Jul 2008 16:21:39 -0400 Message-ID: <87y73lrc8c.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I've found that (flyspell-buffer) doesn't go through the same > dictionary initialization steps as (ispell-buffer). Specifically, the > flyspell functions (flyspell-word) and (flyspell-large-region) don't > call (ispell-maybe-find-aspell-dictionaries), they way (ispell-region) > and (flyspell-mode) do. The result: user's aspell setup (if present) > doesn't get to inform `ispell-dictionary-alist', unless > e.g. (ispell-buffer) or (flyspell-mode) is called first. This has been fixed in the CVS trunk for a while. I just checked in a fix into the Emacs 22 branch. Thanks. ------------=_1217276704-6511-0--