unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Marshall\, Simon" <Simon.Marshall@misys.com>
Cc: dann@ics.uci.edu, Andre Spiegel <spiegel@gnu.org>, emacs-devel@gnu.org
Subject: Re: vc-revert-hook?
Date: Tue, 13 May 2008 10:19:23 -0400	[thread overview]
Message-ID: <jwv3aome189.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <6EE216E1AA959543A555C60FF34FB767041E7E88@maileube01.misys.global.ad> (Simon Marshall's message of "Tue, 13 May 2008 10:06:28 +0100")

>> > Originally, I was suggesting that vc-revert-buffer run the new hook
>> > vc-revert-hook, in the same way as vc-next-action runs vc-checkin-hook
>> > or vc-checkout-hook.
>> 
>> Sounds OK.  Be careful to make it usable for filesets.  I.e. it'll
>> probably have to be a special hook taking the fileset as argument
>> (i.e. you can't call it vc-revert-hook but vc-revert-functions, or
>> maybe rather vc-after-revert-functions).

> Sorry, I don't follow why it would be any different to vc-checkin-hook
> or vc-checkout-hook...?

I guess the main difference is that they were introduced long ago.

> Or should they also operate on filesets?

Yes,


        Stefan




      reply	other threads:[~2008-05-13 14:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  9:12 vc-revert-hook? Marshall, Simon
2008-05-07 18:29 ` vc-revert-hook? Dan Nicolaescu
2008-05-08  8:09   ` vc-revert-hook? Marshall, Simon
2008-05-08 15:51     ` vc-revert-hook? Dan Nicolaescu
2008-05-08 19:16       ` vc-revert-hook? Marshall, Simon
2008-05-09  1:09         ` vc-revert-hook? Stefan Monnier
2008-05-12 10:14           ` vc-revert-hook? Marshall, Simon
2008-05-12 14:33             ` vc-revert-hook? Stefan Monnier
2008-05-12 16:18               ` vc-revert-hook? Marshall, Simon
2008-05-12 17:03                 ` vc-revert-hook? Stefan Monnier
2008-05-13  9:06                   ` vc-revert-hook? Marshall, Simon
2008-05-13 14:19                     ` Stefan Monnier [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=jwv3aome189.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=Simon.Marshall@misys.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=spiegel@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).