From: Juri Linkov <juri@linkov.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 41974@debbugs.gnu.org
Subject: bug#41974: 28.0.50; Some vc commands refuse to work when called on non-file buffer
Date: Wed, 24 Jun 2020 02:54:58 +0300 [thread overview]
Message-ID: <87r1u5xrql.fsf@mail.linkov.net> (raw)
In-Reply-To: <7a08d8b8-aed5-b130-1d8e-34d90781a64a@yandex.ru> (Dmitry Gutov's message of "Tue, 23 Jun 2020 03:34:28 +0300")
tags 41974 fixed
close 41974 28.0.50
quit
>>> ((not buffer-file-name)
>>> - (error "Buffer %s is not associated with a file" (buffer-name)))
>>> + (error "Buffer %s is not recognized by any VC backend"
>> It seems this code is not necessary anymore because before this code
>> gets executed, vc-responsible-backend already signals its error
>> "No VC backend is responsible for file".
>
> Even better.
Thanks, pushed to master.
prev parent reply other threads:[~2020-06-23 23:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-20 23:55 bug#41974: 28.0.50; Some vc commands refuse to work when called on non-file buffer Juri Linkov
2020-06-21 0:07 ` Dmitry Gutov
2020-06-21 22:51 ` Juri Linkov
2020-06-22 0:59 ` Dmitry Gutov
2020-06-22 23:38 ` Juri Linkov
2020-06-23 0:34 ` Dmitry Gutov
2020-06-23 23:54 ` Juri Linkov [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1u5xrql.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=41974@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).