all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r113420: * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
Date: Mon, 10 Jul 2017 17:53:38 +0200	[thread overview]
Message-ID: <87a84cwanx.fsf@detlef> (raw)
In-Reply-To: <jwvk3kqb42b.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 16 Jul 2013 17:16:46 -0400")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

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

It took almost 4 years, but now I've fixed this.

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

This bug doesn't happen anymore. I don't remember whether I've filed a
bug report, but it is fixed now.

>         Stefan

Best regards, Michael (proud, 'cos I've shortened my todo list).



      parent reply	other threads:[~2017-07-10 15:53 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
2013-07-17  6:59       ` Michael Albinus
2017-07-10 15:53       ` Michael Albinus [this message]

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=87a84cwanx.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.