unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: support VC operations from dired
Date: Mon, 21 Sep 2009 15:45:48 -0700 (PDT)	[thread overview]
Message-ID: <200909212245.n8LMjmV1010336@godzilla.ics.uci.edu> (raw)
In-Reply-To: <873a6g0xwh.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 22 Sep 2009 00:51:28 +0300")

Juri Linkov <juri@jurta.org> writes:

  > > Here's a minimal patch (minimally tested too) to support diff and log
  > > from dired buffers.
  > 
  > Thanks, it works for directories and files in Dired.
  > 
  > I have one question: how is it supposed to log/diff the root dir
  > from Dired? 

It won't at the moment, at least the `cond' that computes the backend in
vc-root-diff and vc-root-print-log would need to be updated to deal with
dired buffers.

Completely untested: 

((derived-mode-p 'dired-mode)  (vc-responsible-backend default-directory))

C-x v g won't work either, vc-annotate seems to want to call
vc-ensure-vc-buffer for some reason.




      reply	other threads:[~2009-09-21 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 21:22 support VC operations from dired Dan Nicolaescu
2009-09-21 21:51 ` Juri Linkov
2009-09-21 22:45   ` Dan Nicolaescu [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=200909212245.n8LMjmV1010336@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=miles@gnu.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).