unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: "Yi Yue" <include_yy@qq.com>
Cc: 70526 <70526@debbugs.gnu.org>
Subject: bug#70526: 29.2; package-vc-upgrade failed with error message "File is not under version control"
Date: Tue, 23 Apr 2024 19:35:57 +0000	[thread overview]
Message-ID: <87pluflvmq.fsf@posteo.net> (raw)
In-Reply-To: <tencent_220F3989BC17C1991D97AC0829C7A3A1390A@qq.com> (Yi Yue's message of "Tue, 23 Apr 2024 19:11:33 +0900")

(unrelated, but why do your messages include HTML entities?)

"Yi Yue" <include_yy@qq.com> writes:

> &gt; (or alternatively just binding buffer-file-name to nil after default-directory).
>
>
> Yes, this is simpler.

My main fear is that this might have some unintended consequences.

> &gt; but it feels like the fix should happen in vc.el, by being able to
> &gt; communicate that we the file set should be derived from the default
> &gt; directory, and the current file should be ignored...
>
> Maybe it is better, but I don't know what will happen if we
> change the implementation of `vc-deduce-fileset-1', I don't have
> much knowledge of vc.el.

I wouldn't want to rely on my understanding of vc either.  While it
would be easy to add a dynamic variable to indicate this behaviour, I am
careful not to overburden the abstractions that VC provides.

-- 
	Philip Kaludercic on peregrine





  reply	other threads:[~2024-04-23 19:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23  1:51 bug#70526: 29.2; package-vc-upgrade failed with error message "File is not under version control" Yi Yue via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-23  8:31 ` Philip Kaludercic
2024-04-23 10:11 ` Yi Yue via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-23 19:35   ` Philip Kaludercic [this message]
2024-04-23 21:07     ` Yi Yue via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-24  2:00     ` Yi Yue via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-24  6:19       ` Philip Kaludercic
2024-04-24  7:02         ` Yi Yue via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-24  7:51           ` Philip Kaludercic
2024-04-24  8:09             ` o0o0o���� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-27  7:28               ` Philip Kaludercic

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=87pluflvmq.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=70526@debbugs.gnu.org \
    --cc=include_yy@qq.com \
    /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).