help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Emacs+CVS) vc-toggle-read-only (cvs checkin) question


From: Christian Seberino
Subject: Re: (Emacs+CVS) vc-toggle-read-only (cvs checkin) question
Date: 13 Aug 2003 16:10:41 -0700

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 <address@hidden> wrote in message news:<address@hidden>...
> 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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]