emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24889: closed (25.1; tramp-dissect-file-name signa


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24889: closed (25.1; tramp-dissect-file-name signals a user-error for some invalid files)
Date: Tue, 08 Nov 2016 20:23:02 +0000

Your message dated Tue, 08 Nov 2016 21:22:00 +0100
with message-id <address@hidden>
and subject line Re: bug#24889: 25.1; tramp-dissect-file-name signals a 
user-error for some invalid files
has caused the debbugs.gnu.org bug report #24889,
regarding 25.1; tramp-dissect-file-name signals a user-error for some invalid 
files
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24889: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24889
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1; tramp-dissect-file-name signals a user-error for some invalid files Date: Sun, 06 Nov 2016 13:54:30 -0600
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}":

Debugger entered--Lisp error: (user-error "Not a Tramp file name: 
\"/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}\"";)
  signal(user-error ("Not a Tramp file name: 
\"/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}\"";))
  tramp-error(nil user-error "Not a Tramp file name: \"%s\"" 
"/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}";)
  apply(tramp-error nil user-error "Not a Tramp file name: \"%s\"" 
"/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}";)
  tramp-dissect-file-name("/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}"; 
t)
  
tramp-find-foreign-file-name-handler("/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}";)
  tramp-file-name-handler(file-remote-p 
"/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}"; nil nil)
  file-remote-p("/uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/}";)


Note that when the point is in @uref in the following:

  @uref{http://test.com}

then in Emacs 25.1+ ffap will signal the user-error as well.



--- End Message ---
--- Begin Message --- Subject: Re: bug#24889: 25.1; tramp-dissect-file-name signals a user-error for some invalid files Date: Tue, 08 Nov 2016 21:22:00 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
Version: 26.1

Alex <address@hidden> writes:

Hi Alex,

>> 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.

Thanks for checking. I'm closing the bug.

Best regards, Michael.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]