From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: seberino@spawar.navy.mil (Christian Seberino) Newsgroups: gmane.emacs.help Subject: Re: (Emacs+CVS) vc-toggle-read-only (cvs checkin) question Date: 13 Aug 2003 16:10:41 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F3A7855.2050802@yahoo.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1060817537 2295 80.91.224.253 (13 Aug 2003 23:32:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2003 23:32:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 01:32:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19n56F-0006FR-00 for ; Thu, 14 Aug 2003 01:32:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19n4sU-0002BH-P3 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2003 19:18:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 198.253.72.211 Original-X-Trace: posting.google.com 1060816243 18915 127.0.0.1 (13 Aug 2003 23:10:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 13 Aug 2003 23:10:43 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:115874 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11793 Kevin Thanks for the help. Like many people I bounded my own key combos to various Emacs functions with global-set-key in .emacs. I just prefer another key combo to announce that I am done editing my CVS log other than C-c C-c. >>From your email it sounds like this would be as simple as something like this... (global-set-key "\C-as" 'vc-finish-logentry) Or whatever key combo one chooses. You mentioned vc-log-mode. Do I rather have to define some kind of hook to vc-log-mode and add this key combo definition there? Chris Kevin Rodgers wrote in message news:<3F3A7855.2050802@yahoo.com>... > Christian Seberino wrote: > > > vc-toggle-read-only lets me checkin changes to CVS from Emacs. > > > > When I have completed the log entry I must type "C-cc" to > > finish the job. > > > I think you mean `C-c C-c'. > > > > *Is it possible to change C-cc to something else just when > > I am in the middle of this command??* > > No, because you are not in the middle of any command. > vc-toggle-read-only sets up the *VC-log* buffer and returns. In that > buffer, which is in vc-log-mode, `C-c C-c' is bound to > vc-finish-logentry. You can switch to other buffers and execute > > arbitrary editing commands before returning to the *VC-log* buffer > and finishing your entry (if ever). > > > In fundamental-mode, `C-c C-c' is unbound, in other modes it may be > bound to some command other than vc-finish-logentry. > > What problem are you trying to solve?