all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8057: 23.2.93; (PCL-CVS and) log-edit
@ 2011-02-16 16:21 Reiner Steib
  2011-02-17  0:25 ` Glenn Morris
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Reiner Steib @ 2011-02-16 16:21 UTC (permalink / raw)
  To: 8057

Hi,

assume you have this new entry in the file/buffer ChangeLog:

| 2011-02-16  Reiner Steib  <foo@invalid>
|
| 	* some-longish-file-name.txt (module): New.

In the *cvs* buffer, you mark the files some-longish-file-name.txt and
ChangeLog, then hit `C' (cvs-mode-commit-setup).

In Emacs 23.2.93, I get this log-edit buffer:

| Summary:
|
| * some-longish-file-name.txt (module): New.

Problem (1):

The user has no information what will happen to the pseudo headers
(e.g. "Summary:") and the empty lines.  By trial reading
`log-edit-done', I found out that they will not clutter the file's
commit log.

   ;; Clean up empty headers.
   [...]
   ;; Get rid of leading empty lines.

Maybe we could add some lines (at the bottom) similar like CVS:

| Summary:
|
| * Berechtigungen_und_Web-Access.txt (module): New.
|
| VC: ----------------------------------------------------------------------
| VC: Enter log message above this line.  Empty header lines (e.g.  
"Summary:"), empty
| VC: lines and lines beginning with `CVS:' are removed automatically.
| VC:
| VC: Press C-c C-c when you are done editing.
| VC: ----------------------------------------------------------------------

The lines starting with "VC: " should use `font-lock-comment-face'.

Problem (2):

In Emacs 23.2, I had:

| (module): New.

For single-file commits (ChangeLog not counted as a file), the file name
was stripped before setting up the log-edit buffer.  Is it possible to
restore this?

Bye, Reiner






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-11 20:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 16:21 bug#8057: 23.2.93; (PCL-CVS and) log-edit Reiner Steib
2011-02-17  0:25 ` Glenn Morris
2011-02-17  7:27   ` Glenn Morris
2011-07-14 18:41 ` Lars Magne Ingebrigtsen
2011-09-11  3:54 ` Lars Magne Ingebrigtsen
2011-09-11  5:02   ` Stefan Monnier
2019-10-11 20:31 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.