all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Caldwell <david@porkrind.org>
Cc: 21364@debbugs.gnu.org
Subject: bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer
Date: Sat, 29 Aug 2015 22:11:48 -0400	[thread overview]
Message-ID: <jwvtwrhsf2p.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <55E1EE45.8080306@porkrind.org> (David Caldwell's message of "Sat, 29 Aug 2015 10:39:17 -0700")

> How about vc-buffer-refresh?

Hm... I think that makes it sound like it'll revert the buffer's content
or something.

How 'bout `vc-refresh-state'?

> Also, I was thinking maybe it would make more sense to rename
> vc-find-file-hook to vc-buffer-refresh (making it interactive along the
> way) and then doing:

> (add-hook 'find-file-hook 'vc-buffer-refresh)

If the two are really identical, then yes, it makes sense to just rename
the existing function and make it interactive.


        Stefan





  reply	other threads:[~2015-08-30  2:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 18:32 bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer David Caldwell
2015-08-28  2:23 ` Stefan Monnier
2015-08-28  2:43   ` David Caldwell
2015-08-29 15:26     ` Stefan Monnier
2015-08-29 17:39       ` David Caldwell
2015-08-30  2:11         ` Stefan Monnier [this message]
2015-08-30 10:22           ` David Caldwell
2015-08-31  1:39             ` Stefan Monnier
2015-08-31 10:05               ` David Caldwell
2015-08-31 17:45                 ` Stefan Monnier
2015-09-01 14:56                   ` David Caldwell
2015-09-02  3:45                     ` Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvtwrhsf2p.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=21364@debbugs.gnu.org \
    --cc=david@porkrind.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.