unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 57649@debbugs.gnu.org, nlongo@mathworks.com
Subject: bug#57649: 27.1; Spell check on remote file fails on windows.
Date: Sat, 17 Sep 2022 10:12:37 +0300	[thread overview]
Message-ID: <834jx63256.fsf@gnu.org> (raw)
In-Reply-To: <87k062y05i.fsf@gmx.de> (message from Michael Albinus on Sat, 17 Sep 2022 08:39:53 +0200)

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: 57649@debbugs.gnu.org,  nlongo@mathworks.com
> Date: Sat, 17 Sep 2022 08:39:53 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> Hi Eli,
> 
> > Ping! Ping!
> >
> > Michael, could you please respond?
> 
> I believe your patch should fix it. But since I'm not on MS Windows
> (usually), I cannot check.

Thanks, installed on the master branch.

Nick, can you verify that this solves your problem?  The patch is
below, if you need to apply it by hand.

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 4b5ed98..b3fb326 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -740,7 +740,8 @@ ispell-with-safe-default-directory
   "Execute the forms in BODY with a reasonable `default-directory'."
   (declare (indent 0) (debug t))
   `(let ((default-directory default-directory))
-     (unless (file-accessible-directory-p default-directory)
+     (unless (and (not (file-remote-p default-directory))
+                  (file-accessible-directory-p default-directory))
        (setq default-directory (expand-file-name "~/")))
      ,@body))
 





  reply	other threads:[~2022-09-17  7:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07 14:32 bug#57649: 27.1; Spell check on remote file fails on windows Nick Longo
2022-09-08  6:37 ` Michael Albinus
2022-09-08 14:49   ` Nick Longo
2022-09-08 15:09     ` Michael Albinus
2022-09-08 17:14       ` Eli Zaretskii
2022-09-11 17:24         ` Eli Zaretskii
2022-09-16 17:31           ` Eli Zaretskii
2022-09-17  6:39             ` Michael Albinus
2022-09-17  7:12               ` Eli Zaretskii [this message]
2022-09-22 21:00                 ` Nick Longo
2022-10-03 13:25                 ` Nick Longo
2022-10-03 17:13                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834jx63256.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=57649@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=nlongo@mathworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).