From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "stephan.zimmer" Newsgroups: gmane.emacs.help Subject: vc-mode Hook to Register a Function Inserting Commit Message Date: Mon, 27 Oct 2008 04:58:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <47553ee5-a55d-44a7-927a-fa1c0320eee6@q35g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225111297 913 80.91.229.12 (27 Oct 2008 12:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2008 12:41:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 13:42:38 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KuRQR-0008Sc-A7 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2008 13:42:27 +0100 Original-Received: from localhost ([127.0.0.1]:36365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuRPL-000683-BD for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2008 08:41:19 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!postnews.google.com!q35g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: 87.139.15.249 Original-X-Trace: posting.google.com 1225108692 4935 127.0.0.1 (27 Oct 2008 11:58:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 27 Oct 2008 11:58:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q35g2000hsg.googlegroups.com; posting-host=87.139.15.249; posting-account=KJs5AQoAAADGrOtd_DW54KdKddPM3pQ6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.17) Gecko/20080922 Ubuntu/7.10 (gutsy) Firefox/2.0.0.17, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 www-proxy.absint.com:3128 (squid/2.6.STABLE18) Original-Xref: news.stanford.edu gnu.emacs.help:163845 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59185 Archived-At: 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? Stephan