From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: O G Newsgroups: gmane.emacs.bugs Subject: bug#61190: 28.2; ispell personal dictionary location for hunspell engine Date: Sat, 11 Feb 2023 12:07:36 -0500 Message-ID: References: <83fsbq3jf1.fsf@gnu.org> <83357q3fxv.fsf@gnu.org> <83edra12j9.fsf@gnu.org> <83a61x1sc3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000359ff005f46fa747" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32790"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61190@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 11 18:08:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQtML-0008Ib-5I for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Feb 2023 18:08:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQtM3-0001FH-Ib; Sat, 11 Feb 2023 12:08:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQtM2-0001F9-Br for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 12:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQtM2-0002rk-3P for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 12:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQtM1-0004qz-RP for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2023 12:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: O G Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Feb 2023 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61190 X-GNU-PR-Package: emacs Original-Received: via spool by 61190-submit@debbugs.gnu.org id=B61190.167613527818646 (code B ref 61190); Sat, 11 Feb 2023 17:08:01 +0000 Original-Received: (at 61190) by debbugs.gnu.org; 11 Feb 2023 17:07:58 +0000 Original-Received: from localhost ([127.0.0.1]:43055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQtLx-0004qg-Tj for submit@debbugs.gnu.org; Sat, 11 Feb 2023 12:07:58 -0500 Original-Received: from mail-oi1-f170.google.com ([209.85.167.170]:44784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQtLt-0004qA-A9 for 61190@debbugs.gnu.org; Sat, 11 Feb 2023 12:07:56 -0500 Original-Received: by mail-oi1-f170.google.com with SMTP id bj22so7024804oib.11 for <61190@debbugs.gnu.org>; Sat, 11 Feb 2023 09:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pjAzsBE1ostmLyxToRDL/kj/naOvXzxqxRqmI++brX0=; b=qehor+wgN8wKPLs1Z4+Rb0lLyNaHyB0ph4Ze5emrPUMyjjP2Yu3RZzrcTldTX9Q7gf fduprNvUvzUwRM2FoNpXzEqOQ6YgMV+7iTUf2rqES7Ql1Z13pP7/ZGHt61yq68zV7BDB Z0O4R69DHU8uvDwIjmPMcXsVmaF1V78kQgSxOUzGZIZ9vlAAu9ZpVQJ6Z78Tcjg3Cu3z zk/wO8H+WHAKeyKROwrhLoaXIZZU8eSJsoTgIncSbdc7rb9IrELobFAtw47xY5S79YPT fEvdivvaWYt+TQhwxr6q8ybIRgRPsKtG23eOcQpG//NEQ2WV06uxvvAeMMeMIbZrYjJx 2q2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pjAzsBE1ostmLyxToRDL/kj/naOvXzxqxRqmI++brX0=; b=dZYVSGUnwNdV9sL2WpP1eWj9wA6yCqRvPWBn3RNQ+yK4BH2NHYsUJcyL0WqcbkmdyL j1noaaixfsvETT4YL3IxpZ+47jRgaxwgxn/1afgDpZQuD/ygpNXjp0Opo+YiKbUsVsRl ugbwAD0uWutIo2hbViSFWgcJBekhA5x/A4sO37NL7HiUdw4R6pgNbJbhehVFFb+nQ1WE y3id50A+yJ3+GfCT0JZD8jtpVLWA11b5odg+GH+1tFeFwMAp9ywUsf3aW2/XgXtubIX0 7qycYCmSfsbjobxbzSgYX3SyxUPJU14BMzsXmbtAJmA6SfDGWcCRfSzJ4dVsYrJ+yt1G 5ocw== X-Gm-Message-State: AO0yUKWeeYGDwSgZhb3GUve6KN6C+6Br/Ld7ucaJ4PX+u2zmBmj2tyd4 mDEe8rIT/9c5K3crgWly/1EWPKV6LTjX96L1oMuFQ1nE X-Google-Smtp-Source: AK7set+GPtnlPEQHlxTCE4GXcbNHMDMHWcxcxao/nC49GTzA2oRLSacZ7Bq4TBcI48WxBAMBhCCHfMhqWiDbIsBZgv8= X-Received: by 2002:a05:6808:1a89:b0:37d:8b34:fffd with SMTP id bm9-20020a0568081a8900b0037d8b34fffdmr27685oib.148.1676135267408; Sat, 11 Feb 2023 09:07:47 -0800 (PST) In-Reply-To: <83a61x1sc3.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255338 Archived-At: --000000000000359ff005f46fa747 Content-Type: text/plain; charset="UTF-8" On Wed, Feb 1, 2023 at 7:30 AM Eli Zaretskii wrote: > > From: O G > > Date: Wed, 1 Feb 2023 00:58:56 -0500 > > Cc: 61190@debbugs.gnu.org > > > >Please be sure you are testing this correctly. Here's a step by step > >procedure starting from "emacs -Q": > > > emacs -Q > > M-: (setq ispell-program-name "hunspell") RET > > M-: (setq ispell-personal-dictionary "C:/Users/xxxx/.hunspell_en_US") > RET > > > Now go to some word in *scratch* and type M-$. > > > Then look with Process Explorer how Emacs invoked Hunspell. > > >When I do the above, I clearly see the "-p PDICT" command-line > >arguments with which Emacs invokes Hunspell. I made a point of > >testing this on Windows with Emacs 28.2, which is what you have, and > >it worked for me. > Thanks for the detailed suggestions -- it now works. >From what I can tell, the issue was the double backslashes not being accepted in the file path for the hunspell personal dictionary. > If the above procedure works for you, please see what you are doing > differently in your "normal" Emacs sessions. In any case, using > ispell-cmd-args is not the recommended method; you should instead > customize the variable ispell-personal-dictionary, which is provided > for this purpose, and customize it before starting the spell-checker, > or restart the spell-checker with "M-x ispell-change-dictionary" after > customizing. > --000000000000359ff005f46fa747 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Feb 1, 2023 at 7:30 AM Eli Za= retskii <eliz@gnu.org> wrote:
=
> From: O G <= opngid@gmail.com&= gt;
> Date: Wed, 1 Feb 2023 00:58:56 -0500
> Cc: 61190@d= ebbugs.gnu.org
>
>Please be sure you are testing this correctly.=C2=A0 Here'= s a step by step
>procedure starting from "emacs -Q":

>=C2=A0 emacs -Q
>=C2=A0 M-: (setq ispell-program-name "h= unspell") RET
>=C2=A0 M-: (setq ispell-personal-dictionary "= ;C:/Users/xxxx/.hunspell_en_US") RET

> Now go to some word in *scratch* and type M-$.

> Then look with Process Explorer how Emacs invoked Hunspell.

>When I do the above, I clearly see the "-p PDICT" command= -line
>arguments with which Emacs invokes Hunspell.=C2=A0 I made a po= int of
>testing this on Windows with Emacs 28.2, which is what you ha= ve, and
>it worked for me.

Thanks= for the detailed suggestions -- it now works.

Fro= m what I can tell, the issue was the double backslashes not being accepted= =C2=A0
in the file path for the hunspell personal dictionary.


If the above procedure works for you, please see what you are doing
differently in your "normal" Emacs sessions.=C2=A0 In any case, u= sing
ispell-cmd-args is not the recommended method; you should instead
customize the variable ispell-personal-dictionary, which is provided
for this purpose, and customize it before starting the spell-checker,
or restart the spell-checker with "M-x ispell-change-dictionary" = after
customizing.
--000000000000359ff005f46fa747--