all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: trunk r115265: * lisp/vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
Date: Fri, 29 Nov 2013 16:53:43 +0200	[thread overview]
Message-ID: <5298AA77.4060009@yandex.ru> (raw)
In-Reply-To: <jwvzjone3vy.fsf-monnier+emacs@gnu.org>

On 29.11.2013 15:33, Stefan Monnier wrote:
> The intention was to remind people that they should think about who's
> the author.  Indeed, it's particularly useful for us but less so for
> many other projects.

Isn't it too late to remind when the log-edit buffer is open? Normally, 
you create ChangeLog entries first (and they should include the right 
author), only then open the vc-dir buffer, mark the files and then see 
the log-edit buffer.

> Maybe we can set it as a .dir-locals.el customization.

It would be better, but since dir-locals overrides personal 
customizations, it wouldn't be ideal either, as far as I'm concerned.

> The RFC822 format does add features, since there are a few other special
> headers (Author, Fixes, Amend, maybe a few more).

True. But is it relevant to the question of whether to include the 
Summary and Author headers by default?

Another problem with Summary, I believe, is that it's often unused in 
Emacs commit messages.

> We should also use some of the message-mode commands to move inside the
> header, as was suggested here recently.

Not sure which thread, or which commands you mean. But `C-e' works well 
enough for moving after "Summary:".

 > Indeed, that needs to be fixed.  It's easy to fix when we kill the
 > *vc-log* buffer, but it might be trickier to fix when you just
 > bury-it :(

Since bury-buffer doesn't have a default binding in log-edit, I think 
that's not much of a problem. But we can follow Magit's (and 
message-mode's) example and create a command that would do the burying 
the smart way (and bind it to C-c C-k).

 > Maybe log-edit-show-files shouldn't be in the default log-edit-hook.

I'd rather we fix it than hide it. Another approach would be to instead 
of creating a separate buffer and window, output its text at the bottom 
of the log-edit buffer. And either make it a read-only-not-real text, or 
comment it out somehow and remove that section before the commit is made.



  reply	other threads:[~2013-11-29 14:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1VlqjS-0006O3-Fn@vcs.savannah.gnu.org>
2013-11-29  4:39 ` trunk r115265: * lisp/vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers Dmitry Gutov
2013-11-29 13:33   ` Stefan Monnier
2013-11-29 14:53     ` Dmitry Gutov [this message]
2013-11-29 17:04       ` Stefan Monnier
2013-11-29 22:37         ` Dmitry Gutov
2013-11-30  2:29           ` Stefan Monnier
2013-11-30 16:02             ` Dmitry Gutov
2013-12-01 21:10               ` Stefan Monnier
2013-12-02  2:40                 ` Dmitry Gutov
2013-12-02 13:53                   ` Stefan Monnier
2013-12-02 23:02                     ` Dmitry Gutov
2013-12-03  0:56                       ` Leo Liu
2013-12-03  3:06                       ` Stefan Monnier
2013-12-04  0:38                         ` Dmitry Gutov
2013-12-03  2:17                     ` Dmitry Gutov
2013-12-03  3:09                       ` Stefan Monnier
2013-12-04  0:43                         ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5298AA77.4060009@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.