From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
rogers-emacs@rgrjr.dyndns.org, 6870@debbugs.gnu.org
Subject: bug#6870: Make vc-root-diff work in more modes
Date: Tue, 05 Jul 2011 16:58:14 -0400 [thread overview]
Message-ID: <878vscla1l.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwv1uy43636.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 05 Jul 2011 15:04:09 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> What about all buffers that have file names? A la
>
>> (and (buffer-file-name)
>> (vc-responsible-backend default-directory))
>
> That'd be fine, yes.
But this might be confusing, since this check would not trigger for
non-file buffers generated from those file buffers.
i.e., if you have a buffer with a file name that is not handled by VC,
vc-root-diff would work for that buffer but not for a diff file
generated from that buffer.
Whereas if a buffer with a file name *is* handled by VC, vc-root-diff
would work for both that buffer and a diff file generated for that
buffer.
next prev parent reply other threads:[~2011-07-05 20:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 1:55 bug#6870: Make vc-root-diff work in more modes rogers-emacs
2011-07-04 15:18 ` Lars Magne Ingebrigtsen
2011-07-04 18:13 ` Stefan Monnier
2011-07-05 13:32 ` Lars Magne Ingebrigtsen
2011-07-05 19:04 ` Stefan Monnier
2011-07-05 20:58 ` Chong Yidong [this message]
2020-08-25 13:38 ` Lars Ingebrigtsen
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=878vscla1l.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=6870@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
--cc=rogers-emacs@rgrjr.dyndns.org \
/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).