GNU bug report logs - #24889
25.1; tramp-dissect-file-name signals a user-error for some invalid files

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Sun, 6 Nov 2016 19:55:02 UTC

Severity: normal

Found in version 25.1

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 24889 <at> debbugs.gnu.org (full text, mbox):

From: Alex <agrambot <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 24889 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#24889: 25.1;
 tramp-dissect-file-name signals a user-error for some invalid files
Date: Tue, 08 Nov 2016 14:18:33 -0600
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Alex <agrambot <at> gmail.com> writes:
>
> Hi Alex,
>
>> This user-error affects commands such as file-remote-p and ffap. I
>> believe that these should just return nil or no valid file instead of
>> signalling an error.
>>
>> Backtrace of (file-remote-p "/uref{http://test.com}":
>
> Thanks for the report. I could reproduce it also with Emacs 24.5.
>
> I've committed the following patch to the master branch, could you pls
> check whether this fixes the problem for you?

With the latest master it seems to have fixed the problem, thanks.




This bug report was last modified 8 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.