From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick Longo Newsgroups: gmane.emacs.bugs Subject: bug#57649: 27.1; Spell check on remote file fails on windows. Date: Thu, 8 Sep 2022 14:49:21 +0000 Message-ID: References: <874jximkwp.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24111"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "57649@debbugs.gnu.org" <57649@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 18:59:14 2022 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 1oWKrw-00060h-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 18:59:12 +0200 Original-Received: from localhost ([::1]:56172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWKrv-00033e-PA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 12:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWKro-00033K-7G for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 12:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWKrn-0005PJ-VU for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 12:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWKrn-0000FS-Sb for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 12:59:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Longo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2022 16:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57649 X-GNU-PR-Package: emacs Original-Received: via spool by 57649-submit@debbugs.gnu.org id=B57649.1662656295868 (code B ref 57649); Thu, 08 Sep 2022 16:59:03 +0000 Original-Received: (at 57649) by debbugs.gnu.org; 8 Sep 2022 16:58:15 +0000 Original-Received: from localhost ([127.0.0.1]:59987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWKr1-0000Dr-63 for submit@debbugs.gnu.org; Thu, 08 Sep 2022 12:58:15 -0400 Original-Received: from us-smtp-delivery-120.mimecast.com ([170.10.129.120]:46858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWIqO-0005HY-RO for 57649@debbugs.gnu.org; Thu, 08 Sep 2022 10:49:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mathworks.com; s=mimecast20180117; t=1662648568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=haYEaj3u2h62YuYQWq/Bz0mpXV2980J43nILPHopfM4=; b=jEvg8nh0+pXvQUHqeHZRuxyhLzaEWKiRgdhLt90dPDiID/S83s/SZOzp/n33Z7E+y9ad2Y MBP7y7Pxk8gJxxKJJF9V783UNP9xoVjHyphzMfCuv6Gjld0z8hlP0Ihxm1/knqGUtQfO19 nLUvnlzP4p0ZkBwxktgNfM4mdtOfQUY= Original-Received: from na01-obe.outbound.protection.outlook.com (mail-westcentralusazlp17010008.outbound.protection.outlook.com [40.93.6.8]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-459-K0VF8KpAMkKMKma1wFLY4A-1; Thu, 08 Sep 2022 10:49:27 -0400 X-MC-Unique: K0VF8KpAMkKMKma1wFLY4A-1 Original-Received: from DS7PR05MB7333.namprd05.prod.outlook.com (2603:10b6:5:2ca::22) by MWHPR05MB3327.namprd05.prod.outlook.com (2603:10b6:301:3d::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Thu, 8 Sep 2022 14:49:22 +0000 Original-Received: from DS7PR05MB7333.namprd05.prod.outlook.com ([fe80::381c:5259:ff5b:945f]) by DS7PR05MB7333.namprd05.prod.outlook.com ([fe80::381c:5259:ff5b:945f%9]) with mapi id 15.20.5612.014; Thu, 8 Sep 2022 14:49:21 +0000 Thread-Topic: bug#57649: 27.1; Spell check on remote file fails on windows. Thread-Index: AdjCxoQLJt/Y0cH3Rq6XPdhz5u15rwAh7XfMAA/dnOA= In-Reply-To: <874jximkwp.fsf@gmx.de> Accept-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR05MB7333:EE_|MWHPR05MB3327:EE_ x-ms-office365-filtering-correlation-id: 28a15a93-2bee-40d3-71a8-08da91a950c6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: AMsqF14X/8GHOWw3NZFZNiaY4otduYFarTNuLNA9b2yhixC4rjfFrftKGLgTLnNbcA0riGchNo4/hA+kuF3/qknudemwrjO5KcPuEdgcWe7xdMJMEZ0FFzwm2jQdnqpuxYfczi2siGB1cpjM6S3ub+kLgH2sk/QptWKJatqWcEJc+W1D6L4+TlL8GyzDi/vgl8yrGcYpJKSY4nWazCKN3s87ZnaV5wDGRqwt6ApxcLmLq7zUFRaD+/9Ef6vi5QgBoF6L01/u4tzkEHIV23lWIFqvU9ZIyf29dYNGLski8BhkhfvYis4GfXMCmLIlbgvSv8Gggf3P3cwMpAWJ4edsLoUOiJUoHrWzYvBDgPAV8vMNUHu2dk9kcmwEvXdn2y7xmW3Epsvb5e6F6hR1AyLxG6hQOspWkCpytsaP1YdjRt0QTHkeYwNLwNQUo2LjrQypYUmqG0/E6iNod4Qw3AYBo0Dv7Fl26g2gQpwZXoRr79HQTOBnFbApyXh9wxZcjLTB0Nux/od1epiQswYpN70Y2wzCgU9SY7kIogJl07BRBDcGvT9ZwhZCELQu7LpgFTyGImcYzpHhZKXYavLoyC90Ta40v8Kdan1tgdJIJ4yqzF2LXnus8J2+HhtVLCDV23P5uxctWFWtVg2GpSwx+dg1mE3gRgNHg22NizKR2qVEXEfATH1wOlauASCm4scc0OvfNZT4FKY/hUkN+ZhcFYzObLYx7JvoguySP/MT7BhZGhTv130hJs3EMN4sSDEMS hlzKypLivzgMwokk4aMioq+nwo6ksim5n47O46DxzDcUrk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR05MB7333.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(366004)(136003)(396003)(39860400002)(33656002)(76116006)(38100700002)(38070700005)(66556008)(66476007)(122000001)(64756008)(83380400001)(8676002)(66946007)(66446008)(4326008)(316002)(6916009)(55016003)(478600001)(52536014)(2906002)(7696005)(53546011)(8936002)(186003)(5660300002)(86362001)(41300700001)(71200400001)(9686003)(6506007)(26005)(460985005); DIR:OUT; SFP:1101 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: zyRIoPooBUAHaJot5GLYS4H9xJeiKbIPv1ks2Z24IEFe5cO14eqNYp8yF6UCkxWca3vpuGSAlhSGLIYMo5IQn/NTKdAMPUt0H0RLWFjuoUDjKkGFVV9NIpQMuTwRwdeOjS8tnIRswo37QY+6SXbF+dscSwrDjIhqttADj4n98/m+TGwYI0Ld3BoZru+i70JjbDc4MlYHz4YPBGuHXLFDV97xoDO0Mmlcn1HZBdcuwvGAIKC/c4pE2sURzBE0/Wek1IDjSIhib1dHou8GdQzXlfx9JQrjqlaAyGCT2pN4HkPgrtXXRiM1o0ntf9SgXecCgfDcIdfLm53Y8GFgP2tDzUdLwrVIF/xkiv+BE7yxRpqBtAwipnlJInrvwNBkTORT71AX8ut2cXD7d+xbbYQupHqO3UubVPTFLmDM62j30BkAnZRRmH/mDIBqpPndlx73Eil66SdR1Krrkg8m1Hc6KDHUAy3mLkm4M9VZiQR6FV31HhSZoNuQH6/SZp7FE5aHtgOdk13YJA+vM/WUVHIpalRmsZY9pLQesU1Xzyvq/e3ha9nI2etkLeREm7IZ5587Sf2MD9+4fI6jv8MPbHx+QEhxvBc86Rxmf9AoTCAoHiqlO9wGSrVtK2ordUiKYVpMZtDbeJyhQk6emKBDkOlLA5aJ5Hf/uzOxD8a5MIrpnfHb4k/ofUBByDPfAgv2CQ9W1Ls+RZ7pyM0HsmxbBKySQTLIIcLOZa6tPchd1aQx0jhc0qOwf+C0tvAPCt 8DmOCuD9Y+jd8nZraA1Te8/NavSy4FQ89QS9EW4/9hsF5GdmvWHmfME+jjpk0MfStLIFLsjTvPxzLa5D1LKC5cmd2oFCNhrxIA X-OriginatorOrg: mathworks.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR05MB3327 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: mathworks.com Content-Language: en-US X-Mailman-Approved-At: Thu, 08 Sep 2022 12:58:12 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:241926 Archived-At: Sure, I will be glad to try at any rate. Let me know if this is what you w= ere looking for. --N Here is my recipe... Ingredients: A windows 10 install. An emacs installation A putty installation (on system path) Hunspell installed along with English dictionary (on system path) Reproduction steps: 1. Customzie emacs to use the hunspell program, mine looks something like: (custom-set-variables=20 '(ispell-program-name "hunspell") ) (setq ispell-alternate-dictionary "C:/path/to/hunspell/en_US.txt")=20 2. Open a remote file=20 C-x C-f /plinkx:homeoffice:/home/nmichalo/test.org 3. Find word in that file and call=20 M-x ispell-word The emacs debugger gives: Debugger entered--Lisp error: (file-missing "Opening process input file" "N= o such file or directory" "/plinkx:homeoffice:/home/nmichalo/NUL") call-process("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" "-a" "N= UL") apply(call-process ("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" = "-a" "NUL")) ispell-call-process("c:/NProgramFiles/bin/hunspell.exe" "NUL" t nil "-D" = "-a" "NUL") ispell-find-hunspell-dictionaries() ispell-set-spellchecker-params() ispell-word(nil nil nil t) funcall-interactively(ispell-word nil nil nil t) call-interactively(ispell-word record nil) command-execute(ispell-word record) execute-extended-command(nil "ispell-word" "ispell-w") funcall-interactively(execute-extended-command nil "ispell-word" "ispell-= w") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) Comments: This only happens when editing remote files. Otherwise ispell is working a= s expected. The problem seems to resolve if I first open a local file, and call ispell-= word on the local file first. After that ispell-word seems to work in both= the local and remote files. While running "emacs -Q" if I first encounter the error in ispell-word on a= remote file, then I always encounter an error with ispell-word even on loc= al files. This only seems to happen with the -Q option. The stack trace is= different, included here for reference: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("," nil 0) split-string(nil "," t) ispell-parse-hunspell-affix-file(nil) ispell-hunspell-fill-dictionary-entry(nil) ispell-start-process() ispell-init-process() ispell-buffer-local-words() ispell-accept-buffer-local-defs() ispell-word(nil nil nil t) funcall-interactively(ispell-word nil nil nil t) call-interactively(ispell-word nil nil) command-execute(ispell-word) -----Original Message----- From: Michael Albinus =20 Sent: Thursday, September 8, 2022 2:37 AM To: Nick Longo Cc: 57649@debbugs.gnu.org Subject: Re: bug#57649: 27.1; Spell check on remote file fails on windows. Nick Longo writes: Hi Nick, > When working on a remote file from windows, if I try to invoke spell=20 > check I get the > > following error message: > > "apply: Opening process input file: No such file or directory,=20 > /plinkx:..." Could you pls tell which spell package in Emacs is involved? I don't use sp= ell in Emacs, so I need a starting point. Best would be if you could give a recipe, starting with "emacs -Q". A Lisp = backtrace would also help. Best regards, Michael.