all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 5515625: ; ChangeLog.2 fixes
Date: Sun, 25 Oct 2015 21:21:02 +0200	[thread overview]
Message-ID: <83fv0ydaap.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0STghv7jQr-gGCWdFcG0MbAgPozc7fprZ4+2o-CX5+86Ng@mail.gmail.com>

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Sun, 25 Oct 2015 16:47:15 +0100
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> The CONTRIBUTE file talks about the commit log messages. We generate the
> ChangeLog from the commit messages, but it is its own thing, and I think that
> making it more readable, removing redundancies, etc. is good. They mostly have
> different targets; we developers are now much more likely to use git log or
> gitk than go fishing into ChangeLogs, while people who downloads a source
> tarball only has the ChangeLogs. That's why I spend time cleaning them.

Thank you for your work.

> As for that particular example, I've mostly respected cases of "one line
> description non-ending in period", but when the one-line description is of the
> type
> 
> * file (blabla): some change"
> 
> I usually change it to
> 
> * dir/file (blabla): Some change.
> 
> for coherence with other entries that do not happen to be the one-line
> description of a commit.

That's correct.  Personally, I think the commit messages themselves
could have the period in this special case, but that's just MO.

> I also remove (here and in a patch I'm working on) the one-line description in
> cases like:
> 
> Do XXX in function YYY of file ZZZ
> 
> * ZZZ: Do XXX in function YYY.
> 
> or
> 
> Do XXX in function YYY of file ZZZ
> 
> * ZZZ(YYY): Do XXX.
> 
> but I've left one-line descriptions untouched when they add information or are
> formulated differently.

This is borderline, and you might as well leave those untouched.

> That said, I do these changes that I feel make ChangeLog better, but anyone is
> of course entitled to do the same or revert my changes. Or, if there's some
> consensus that some of these changes are wrong, I'll adapt to whatever is
> preferred.

These are issues of style, so there are no hard rules.  Back when we
maintained ChangeLog files by hand the style was not really uniform,
either.

Some more comments to your changes:

   2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

  -       * lisp/character-fold.el: Many improvements
  -
  +       * lisp/character-fold.el: Many improvements.
	  (character-fold-search-forward, character-fold-search-backward):
  -       New command
  +       New command.
	  (character-fold-to-regexp): Remove lax-whitespace hack.
	  (character-fold-search): Remove variable.  Only isearch and
	  query-replace use char-folding, and they both have their own

The "many improvements" part could simply go away, it doesn't add any
useful information.

Also, Artur, I think having part of a ChangeLog style entries in the
header line and the rest in the body is not a very good idea.  Here's
one more example:

   2015-10-24  Artur Malabarba  <bruce.connor.am@gmail.com>

  -       * lisp/isearch.el (search-default-regexp-mode): New variable
  -
  +       * lisp/isearch.el (search-default-regexp-mode): New variable.
	  (isearch-mode): Use it.

I think the commit message should have been as corrected to begin
with, and a header line should say something else, without being
formatted as an entry.

	  * nt/icons/emacs.ico:
  -       * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns: Use the new
  -       icons.
  +       * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
  +       Use the new icons.

This is okay, but when I see such changes, I always ask myself whether
it's worth the trouble.  Your call.

   2015-10-20  Dmitry Gutov  <dgutov@yandex.ru>

  -       Don't declare vc-exec-after anymore
  -
	  * lisp/vc/vc-svn.el:
	  * lisp/vc/vc-mtn.el:
	  * lisp/vc/vc-hg.el:
	  * lisp/vc/vc-cvs.el:
	  * lisp/vc/vc-git.el:
  -       * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.  Its
  -       usages have been replaced with vc-run-delayed.
  +       * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
  +       Its usages have been replaced with vc-run-delayed.

Not sure why the header line was deleted, it looks OK to me.

Thanks again for working on this.



  reply	other threads:[~2015-10-25 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20151025140139.5262.2147@vcs.savannah.gnu.org>
     [not found] ` <E1ZqLrf-0001NU-5R@vcs.savannah.gnu.org>
2015-10-25 15:32   ` [Emacs-diffs] master 5515625: ; ChangeLog.2 fixes Artur Malabarba
2015-10-25 15:47     ` Juanma Barranquero
2015-10-25 19:21       ` Eli Zaretskii [this message]
2015-10-25 22:25         ` Juanma Barranquero
2015-10-25 23:56           ` Artur Malabarba

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=83fv0ydaap.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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.