unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Change in 28.1 in opening a file from grep results on Windows
Date: Tue, 12 Jul 2022 19:50:07 +0300	[thread overview]
Message-ID: <83r12qwa0w.fsf@gnu.org> (raw)
In-Reply-To: <82h73m8f8i.fsf@gmail.com> (message from Pascal Quesseveur on Tue, 12 Jul 2022 18:31:25 +0200)

> From: Pascal Quesseveur <pquessev@gmail.com>
> Date: Tue, 12 Jul 2022 18:31:25 +0200
> 
> >"EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> 
>   EZ> This is not entirely clear: what exactly happens when you do
>   EZ> that?  If you see error messages, please show the exact text of
>   EZ> those messages.
> 
> It is not an Emacs error. It is an error coming from the launched
> process.
> 
> \\smbserver\foo
> CMD.exe été démarré avec le chemin d'accès comme répertoire en cours.
> Les chemins d'accès UNC ne sont pas pris en charge....

I know that the error comes from cmd.exe.  But I wanted to see what
kind of commands trigger it.

Is the command that you have shown something you actually type from
Emacs?  If so, for what purpose?

Your original description was:

> I execute grep from c:\Users\Public\app\file1.c. When I open a file in
> results buffer (eg file2.c), the file is opened with its true name,
> \\smbserver\app\file2.c, and then I can not execute same command as
> before on file1.c because cmd.exe is not allowed from a remote
> directory.

So what is that "same command as before on file1.c"?  And if you
invoke it, how does the error manifest itself?  E.g., does Emacs
signal an error and/or enter the Lisp debugger and show Lisp
backtrace?

>   EZ> As a workaround: can you map the directory on the SMB server to a
>   EZ> drive letter, and then change the symbolic link to use that drive
>   EZ> letter instead of the literal \\smbserver\foo\ remote directory?  If
>   EZ> you do that, does it work around the problem?
> 
> Yes it does. But it is not what I want. And it used to work until last
> Emacs version. So my question is: was the change made for some
> legitimate reason or is it just cosmetic?

I answered that question in my previous message: it wasn't a cosmetic
change.



  reply	other threads:[~2022-07-12 16:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12 15:36 Change in 28.1 in opening a file from grep results on Windows Pascal Quesseveur
2022-07-12 16:01 ` Eli Zaretskii
2022-07-12 16:31   ` Pascal Quesseveur
2022-07-12 16:50     ` Eli Zaretskii [this message]
2022-07-12 17:04       ` Pascal Quesseveur
2022-07-12 17:13         ` Eli Zaretskii
2022-07-12 17:23           ` Pascal Quesseveur
2022-07-12 16:22 ` Eli Zaretskii
2022-07-12 16:56   ` Pascal Quesseveur
2022-07-12 17:09     ` Eli Zaretskii
2022-07-12 17:20       ` Pascal Quesseveur
2022-07-12 17:29         ` Eli Zaretskii
2022-07-12 17:41           ` Pascal Quesseveur
2022-07-12 20:07     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-13 12:14       ` Eli Zaretskii
2022-07-13 12:47         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-13 16:08           ` Pascal Quesseveur

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=83r12qwa0w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).