unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: ChangeLog policy for same-day changes to a file?
  2008-01-02  8:58 ChangeLog policy for same-day changes to a file? Karl Fogel
@ 2008-01-02  7:06 ` Miles Bader
  2008-01-02  9:39   ` Karl Fogel
  2008-01-03  9:50 ` Richard Stallman
  1 sibling, 1 reply; 5+ messages in thread
From: Miles Bader @ 2008-01-02  7:06 UTC (permalink / raw)
  To: Karl Fogel; +Cc: emacs-devel

Karl Fogel <kfogel@red-bean.com> writes:
> Obviously, they represent separate CVS commits to doc-view.el, but on
> the same day, so Tassilo put them into the same ChangeLog entry.  The
> result is counterintuitive, but I'm not sure what else he should do.
> Create a separate ChangeLog entry with the same date?  Do we have a
> policy for how to handle this?

Does it matter?  Either seems clear enough, for a human reader, at
least.

-Miles

-- 
We live, as we dream -- alone....

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

* Re: ChangeLog policy for same-day changes to a file?
  2008-01-02  9:39   ` Karl Fogel
@ 2008-01-02  7:46     ` Miles Bader
  0 siblings, 0 replies; 5+ messages in thread
From: Miles Bader @ 2008-01-02  7:46 UTC (permalink / raw)
  To: Karl Fogel; +Cc: emacs-devel

Karl Fogel <kfogel@red-bean.com> writes:
>> Does it matter?  Either seems clear enough, for a human reader, at
>> least.
>
> It's just confusing because there is an implicit one-to-one mapping
> between ChangeLog top-level entries and CVS commits.

There's never been such an implicit mapping.  Perhaps it happens by
chance in many cases (often because after you've committed something,
somebody else will sneak in and put their own entry in the ChangeLog
before yours), but I regularly (on a daily basis) see counter-examples.

-Miles

-- 
Next to fried food, the South has suffered most from oratory.
  			-- Walter Hines Page

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

* ChangeLog policy for same-day changes to a file?
@ 2008-01-02  8:58 Karl Fogel
  2008-01-02  7:06 ` Miles Bader
  2008-01-03  9:50 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Karl Fogel @ 2008-01-02  8:58 UTC (permalink / raw)
  To: emacs-devel

Notice the multiple appearances of "doc-view.el" in this single entry
from lisp/ChangeLog:

   2007-12-26  Tassilo Horn  <tassilo@member.fsf.org>

	* image-mode.el (image-bookmark-make-cell, image-bookmark-jump):
	New functions.
	(image-mode): Set bookmark-make-cell-function appropriately.

	* doc-view.el (doc-view-bookmark-jump): Correct misspelled arg name.

	* bookmark.el (bookmark-make-cell-function): New variable.
	(bookmark-make): Call bookmark-make-cell-function's function
	instead of bookmark-make-cell.
	(bookmark-get-handler, bookmark-jump-internal): New functions.
	(bookmark-jump, bookmark-jump-other-window, bookmark-insert)
	(bookmark-bmenu-2-window, bookmark-bmenu-other-window):
	Use bookmark-jump-internal.
	(bookmark-make-cell-for-text-file): Renamed from bookmark-make-cell.

	* doc-view.el (doc-view-bookmark-make-cell)
	(doc-view-bookmark-jump): New functions.
	(doc-view-mode): Set bookmark-make-cell-function buffer-locally.

Obviously, they represent separate CVS commits to doc-view.el, but on
the same day, so Tassilo put them into the same ChangeLog entry.  The
result is counterintuitive, but I'm not sure what else he should do.
Create a separate ChangeLog entry with the same date?  Do we have a
policy for how to handle this?

(I have little experience with this issue, because no other project I
work on manually maintains a ChangeLog file in addition to the log
messages stored by the version control system.)

-Karl

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

* Re: ChangeLog policy for same-day changes to a file?
  2008-01-02  7:06 ` Miles Bader
@ 2008-01-02  9:39   ` Karl Fogel
  2008-01-02  7:46     ` Miles Bader
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Fogel @ 2008-01-02  9:39 UTC (permalink / raw)
  To: Miles Bader; +Cc: emacs-devel

Miles Bader <miles@gnu.org> writes:
> Karl Fogel <kfogel@red-bean.com> writes:
>> Obviously, they represent separate CVS commits to doc-view.el, but on
>> the same day, so Tassilo put them into the same ChangeLog entry.  The
>> result is counterintuitive, but I'm not sure what else he should do.
>> Create a separate ChangeLog entry with the same date?  Do we have a
>> policy for how to handle this?
>
> Does it matter?  Either seems clear enough, for a human reader, at
> least.

It's just confusing because there is an implicit one-to-one mapping
between ChangeLog top-level entries and CVS commits.  While I can
discard this assumption if advised to, I'm pretty sure it's one many
developers would share, especially those unfamiliar with Emacs's
unusual ChangeLog policy (i.e., virtually every incoming developer).

When I read Tassilo's entry, I hit that first mention of doc-view.el
and assumed I'd seen everything Tassilo did to that file on that day.
That caused me to spend a bit of time being confused, because I knew
there should be more.  Eventually I saw what I was looking for, later
in the entry.

Personally, I'm going to make a separate top-level entry in ChangeLog
for each commit of mine.  I don't know whether I'll bother to defactor
Tassilo's entry, though ("mattress in the road" problem and all that).

-Karl

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

* Re: ChangeLog policy for same-day changes to a file?
  2008-01-02  8:58 ChangeLog policy for same-day changes to a file? Karl Fogel
  2008-01-02  7:06 ` Miles Bader
@ 2008-01-03  9:50 ` Richard Stallman
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2008-01-03  9:50 UTC (permalink / raw)
  To: Karl Fogel; +Cc: emacs-devel

    Obviously, they represent separate CVS commits to doc-view.el, but on
    the same day, so Tassilo put them into the same ChangeLog entry.  The
    result is counterintuitive, but I'm not sure what else he should do.

This is the way we do it.
There's nothing wrong with it.

    It's just confusing because there is an implicit one-to-one mapping
    between ChangeLog top-level entries and CVS commits.

We have never made that assumption.

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

end of thread, other threads:[~2008-01-03  9:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02  8:58 ChangeLog policy for same-day changes to a file? Karl Fogel
2008-01-02  7:06 ` Miles Bader
2008-01-02  9:39   ` Karl Fogel
2008-01-02  7:46     ` Miles Bader
2008-01-03  9:50 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).