From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r113420: * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
Date: Tue, 16 Jul 2013 17:16:46 -0400 [thread overview]
Message-ID: <jwvk3kqb42b.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87mwpm99me.fsf@gmx.de> (Michael Albinus's message of "Tue, 16 Jul 2013 10:44:57 +0200")
>>> + (ignore-errors
>>> + (tramp-run-real-handler 'vc-registered (list file))))))))
>> Is it normal/common for (tramp-run-real-handler 'vc-registered (list
>> file)) to signal an error in some corner cases?
> No. I have added this as self-defense of Tramp.
So an error here indicates an error in some code somewhere. In this
case, with-demoted-errors is preferable.
> The error was triggered, when I have opened a file on a NAS via Tramp.
> I have mounted the emacs source directory there, and I have tried to
> open a file in that directory.
> Due to the existence of .../emacs/.bzr, there was a call
> (process-file "bzr" nil t nil "status" "--no-classify" "README")
> bzr is not installed on that machine, so this call failed.
Sounds like a bug in vc-bzr-register. Could you either try and fix it
there (catching the error right there), or file a bug report for it?
Stefan
next prev parent reply other threads:[~2013-07-16 21:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1UyRIz-0005sJ-Kb@vcs.savannah.gnu.org>
2013-07-15 23:50 ` [Emacs-diffs] trunk r113420: * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error' Stefan Monnier
2013-07-16 8:44 ` Michael Albinus
2013-07-16 21:16 ` Stefan Monnier [this message]
2013-07-17 6:59 ` Michael Albinus
2017-07-10 15:53 ` Michael Albinus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvk3kqb42b.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.