From: Ian Eure <ian@digg.com>
To: stephan.zimmer <stephan.zimmer@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: vc-mode Hook to Register a Function Inserting Commit Message
Date: Mon, 27 Oct 2008 13:36:25 -0700 [thread overview]
Message-ID: <CFF8F6DE-9F2A-4AF2-AA2B-524D455BC795@digg.com> (raw)
In-Reply-To: <47553ee5-a55d-44a7-927a-fa1c0320eee6@q35g2000hsg.googlegroups.com>
On Oct 27, 2008, at 4:58 AM, stephan.zimmer wrote:
> I use the vc-mode in emacs in combination with subversion. When doing
> a commit I would like to automatically compose part of my commit
> message in the *VC-log* buffer by retrieving the file that I'm
> committing. Is there any easy way to do this, i.e., a hook that is
> called after popping up the *VC-log* buffer?
>
A quick romp through vc-mode / log-edit-mode turns up these candidates:
vc-before-checkin-hook
"Normal hook (list of functions) run before a file is checked in."
log-edit-mode-hook
"*Hook run when entering `log-edit-mode'."
- Ian
prev parent reply other threads:[~2008-10-27 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 11:58 vc-mode Hook to Register a Function Inserting Commit Message stephan.zimmer
2008-10-27 20:36 ` Ian Eure [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=CFF8F6DE-9F2A-4AF2-AA2B-524D455BC795@digg.com \
--to=ian@digg.com \
--cc=help-gnu-emacs@gnu.org \
--cc=stephan.zimmer@googlemail.com \
/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.
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).