GNU bug report logs -
#40940
27.0.91; project-query-replace-regexp stops too early
Previous Next
Reported by: Simen Heggestøyl <simenheg <at> runbox.com>
Date: Tue, 28 Apr 2020 14:57:02 UTC
Severity: normal
Found in version 27.0.91
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: dgutov <at> yandex.ru, simenheg <at> runbox.com, monnier <at> IRO.UMontreal.CA,
> 40940 <at> debbugs.gnu.org
> Date: Wed, 29 Apr 2020 18:22:06 +0200
>
> > My patch only calls expand-file-name on local file names. For remote
> > file names, I've left the result of the call to file-remote-p
> > unaltered. Would that be a problem if the file name, after stripping
> > the remote protocol parts, started with "~/" ? And if so, what should
> > be done here about these cases?
>
> Call `expand-file-name' on the remote file name, like
> '(expand-file-name "/ssh:user <at> host:~/")'. Tramp expands it to
> "/ssh:user <at> host:/home/user/", in case the "/home/user" is the home
> directory of "user" on "host".
Thanks.
Dmitry, this means my change should be reworked to call
expand-file-name before file-local-name, right?
This bug report was last modified 5 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.