emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: John Wiegley <jwiegley@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Re: A request: Moving away from ChangeLog
Date: Fri, 21 May 2010 16:32:19 +0200	[thread overview]
Message-ID: <674A39F8-2D3A-4EDB-9296-872559E39756@gmail.com> (raw)
In-Reply-To: <7D47FD95-8C8D-4540-864A-D2C76B998A52@gmail.com>


On May 21, 2010, at 2:50 PM, John Wiegley wrote:

> On May 21, 2010, at 8:15 AM, Carsten Dominik wrote:
>
>> Can I have a look at one of those ChangeLog files created with the  
>> script?  Just to get the idea?  Do we need to do something special  
>> in the git commit message?
>
> Below is output from running "git changelog HEAD~15.. -- lisp".  It  
> can identify the files that changed automatically, but not  
> functions; such information has to be present in the commit  
> description.
>
> I propose the following standard for commit entries, around which I  
> can adapt the script for future entries.  This standard is based on  
> the one found in the git-commit man page:
>
>  Line 1 is a <50 character short description
>
>  Line 3 starts a 72-column full commit entry, formatted just like a
>  ChangeLog entry, but without leading whitespace or '*'.  If a changed
>  file is mentioned, the mention isn't repeated by git-changelog; but
>  if it's not mentioned, it gets added automatically to the generated
>  ChangeLog.
>
>  Further, I will change the tool to pay attention to relative  
> directory
>  names so that when we generate log entries for "lisp", no "lisp/"
>  prefixes are given to any auto-added filenames.

Well, now I am getting really annoyed - with myself.  This is
such an obvious, beautiful solution.  Why I did not think of
this several year ago is beyond me.  Lets do it like this.

Tassilo (separate message) does have a point though, that
it would be good to b able to use the ChangeLog tools to
create the ChangeLog-like entry.
On the other hand, the information about the committer is
something that would be really duplicate.

We need to think about a good solution here.

One possibility would be the following:

We use .gitignore to exclude ChangeLog from git processing.
His would mean that this file becomes some kind of scratch file.
You could use it to create the ChangeLog entries in the normal
way, using the existing Emacs functionality.  Then, when you are
ready to commit, you cut and paste into the commit message buffer.
We could even make a command for this, and apply any wanted
formatting like what John was proposing (removing the committer
line and indentation)...

I think that this is not a bad idea, because normally you will
not have the commit message buffer open while working on your
patch - so collecting ChangeLog info in a scratch file sounds
like a useful idea to me.

Other ideas?

- Carsten



>
> John
>
> 2010-05-21  John Wiegley  <johnw@newartisans.com>
>
> 	* lisp/ChangeLog, lisp/org.el: Revert "org.el
> 	(org-remove-inline-images): Call `clear-image-cache'."
> 	
> 	This reverts commit 0c42220ca025269e39f20191bc3e10d6b55d02ac.
>
> 2010-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
>
> 	* lisp/ChangeLog, lisp/org.el: Document the match groups
> 	of org-emph-re
>
> 2010-05-20  Bernt Hansen  <bernt@norang.ca>
>
> 	* lisp/ChangeLog, lisp/org-clock.el: Set `org-clock-clocking-in'
> 	to t before `org-clock-out'
>
> 2010-05-20  Russell Adams  <RLAdams@AdamsInfoServ.Com>
>
> 	* lisp/ChangeLog, lisp/org.el: org.el (org-remove-inline-images):
> 	Call `clear-image-cache'.
>
> 2010-05-20  Bastien Guerry  <bzg@altern.org>
>
> 	* lisp/org-timer.el: Use the type "number" for the new
> 	variable org-timer-default-timer
>
> 2010-05-20  Bastien Guerry  <bzg@altern.org>
>
> 	* lisp/ChangeLog, lisp/org-timer.el: Define and use a new
> 	variable: org-timer-default-timer
> 	
> 	This variable defaults to nil.  When non-nil, this is the default
> 	value when the user is prompted for a timer.
> 	
> 	This patch also improves org-timer-set-timer so that the user can
> 	replace the current timer by a new one.
>
> 2010-05-06  Thomas Morgan  <tlm@ziiuu.com>
>
> 	* lisp/org-agenda.el: Persistent filters in Org mode
> 	
> 	Hello, Org mode hackers,
> 	
> 	This patch defines a variable `org-agenda-persistent-filters'.
> 	When it is set, filters persist from one agenda view to the next.
> 	
> 	I've found this convenient when using tags for contexts like @home,
> 	@net, etc., some of which commonly remain applicable for a while.
> 	
> 	Thanks,
> 	Thomas
> 	
> 	From 052ef9205845c78cb24d6fea8f89484bbe12a528 Mon Sep 17 00:00:00  
> 2001
> 	From: Thomas Morgan <tlm@ziiuu.com>
> 	Date: Fri, 23 Apr 2010 11:48:03 +0200
> 	Subject: [PATCH] New option `org-agenda-persistent-filters'.
> 	 When set, keep filters from one agenda view to the next.
>
> 2010-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
>
> 	* lisp/ChangeLog, lisp/org.el: Hide subtree before exposing
> 	the headings with `C-c C-k'
> 	
> 	Proposed by Ali Tofigh.
> 	
> 	Now `C-c C-k' always creates the same view, independent of what the
> 	subtree visibility was before.
>
> 2010-05-19  David Maus  <dmaus@ictsoc.de>
>
> 	* lisp/ChangeLog, lisp/org.el: Remove empty property drawers
> 	in cloned subtrees.
>
> 2010-05-19  David Maus  <dmaus@ictsoc.de>
>
> 	* lisp/ChangeLog, lisp/org.el: Provide customization variable
> 	`org-clone-delete-id'.
> 	
> 	When non-nil, clones of a subtree don't inherit the ID property.
> 	Otherwise they do and it will be set to a new unique identifier.
>
> 2010-05-19  David Maus  <dmaus@ictsoc.de>
>
> 	* lisp/ChangeLog, lisp/org.el: Maybe create ID property in
> 	cloned subtrees.
>
> 2010-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
>
> 	* lisp/org.el: Add Anthony Lander's org-mac-link-grabber.el
>
> 2010-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
>
> 	* lisp/ChangeLog, lisp/org.el: Fix empty-line problem after
> 	repeating entry
> 	
> 	Tom writes:
> 	
> 	> if I have a heading like this:
> 	>
> 	>
> 	> ** TODO test task
> 	> stuff
> 	>  SCHEDULED: <2010-05-15 Sat 07:35 +1d>
> 	>
> 	>
> 	> Then an empty line is inserted below the heading (before "stuff")  
> if
> 	> org-indent-mode is on and logging is set like this:
> 	>
> 	>
> 	> (setq org-log-repeat nil)
> 	> (setq org-log-done 'time)
> 	>
> 	>
> 	>
> 	> I tested it with a clean config using only the settings above.
>
> 2010-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
>
> 	* lisp/ChangeLog, lisp/org.el: Merge branch 'master' of
> 	git+ssh://repo.or.cz/srv/git/org-mode
> 	
> 	Conflicts:
> 		lisp/ChangeLog
>
> 2010-05-19  Bastien Guerry  <bzg@altern.org>
>
> 	* lisp/ChangeLog, lisp/org.el: Fix `org-refile-cache-get'
> 	error.
> 	
> 	This patch fixes the problem first reported by Tassilo Horn in
> 	[mid:87y6fhxc47.fsf@thinkpad.tsdh.de].  Problem was that
> 	`org-refile-cache-get' returned an invalid refile target table after
> 	the refile cache was cleared.
>
>

- Carsten

  parent reply	other threads:[~2010-05-21 14:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  9:06 A request: Moving away from ChangeLog John Wiegley
2010-05-21  9:41 ` John Wiegley
2010-05-21 12:15   ` Carsten Dominik
2010-05-21 12:50     ` John Wiegley
2010-05-21 13:47       ` Tassilo Horn
2010-05-21 15:06         ` John Wiegley
2010-05-21 15:39           ` Bernt Hansen
2010-05-21 15:46             ` John Wiegley
2010-05-21 16:01               ` Bernt Hansen
2010-05-21 16:32             ` Eric Schulte
2010-05-21 15:53           ` Carsten Dominik
2010-05-21 15:58             ` John Wiegley
2010-05-21 14:32       ` Carsten Dominik [this message]
2010-05-21 15:08         ` John Wiegley
2010-05-21 15:33         ` John Wiegley
2010-05-21 13:01     ` Ben Finney
2010-05-21 14:21       ` Carsten Dominik
2010-05-21 21:10 ` Christian Egli
2010-05-21 21:17   ` Julien Danjou
2010-06-01 14:58   ` Carsten Dominik
2010-06-02  7:44     ` Christian Egli
2010-06-02  9:32       ` Carsten Dominik

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=674A39F8-2D3A-4EDB-9296-872559E39756@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jwiegley@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).