GNU bug report logs -
#72341
VC: CVS template lines not stripped when committing
Previous Next
Reported by: Christoph Badura <bad <at> bsd.de>
Date: Sun, 28 Jul 2024 16:36:02 UTC
Severity: normal
Tags: patch
Fixed in version 31.1
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
Message #59 received at 72341 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 27 Jan 2025 20:24:47 +0100
> From: Christoph Badura <bad <at> bsd.de>
>
> On Mon, Jan 27, 2025 at 02:21:39PM +0200, Eli Zaretskii wrote:
> > > Date: Mon, 27 Jan 2025 00:08:26 +0100
> > > From: Christoph Badura <bad <at> bsd.de>
> > >
> > > It would be nice if this would end up in emacs-30.1.
> >
> > As Sean says, it's too late for that. But we could perhaps consider
> > it for backporting into Emacs 30.2, provided that it will cause no
> > complaints while on master.
>
> No worries. I just thought it would be nice to have this show up in a
> release soonich. But I guess I will be dragging along my local
> implementation of the hook for years in my init.el anyway until all the
> emacsen installed by default on the machines I use will have caughtup.
>
> > > I guess I need to add an entry to the NEWS file.
> > Yes, because the user option changed.
>
> How about:
>
> ---
> ** VC mode
> *** New function 'log-edit-done-strip-cvs-lines'.
> This function strips all lines beginning with "CVS:" from the buffer.
> It is intended to be added to the 'log-edit-done-hook' so that
> 'vc-cvs-checkin' behaves like "cvs commit" from the command line.
>
> Or perhaps:
>
> It is intended to be added to the 'log-edit-done-hook' so that checking
> in a commit under CVS behaves like "cvs commit" from the command line.
Both are okay, thanks.
This bug report was last modified 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.