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

> 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?  When I put point on the root dir in the dired buffer,
`C-x v l' fails with:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  expand-file-name(nil)
  vc-do-command("*vc-change-log*" 0 "rlog" ...)
  vc-rcs-print-log(... "*vc-change-log*" t)
  apply(vc-rcs-print-log (... "*vc-change-log*" t))
  vc-call-backend(RCS print-log (...) "*vc-change-log*" t)
  vc-print-log-internal(RCS (...) nil)
  vc-print-log()
  call-interactively(vc-print-log nil nil)

-- 
Juri Linkov
http://www.jurta.org/emacs/




  reply	other threads:[~2009-09-21 21:51 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 [this message]
2009-09-21 22:45   ` Dan Nicolaescu

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=873a6g0xwh.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.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).