From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [PATCH] Library of Babel source block Date: Sun, 28 Aug 2011 09:03:41 -1000 Message-ID: References: <87aaatbmq2.fsf@gmail.com> <87r545qtxu.fsf@praet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxke6-0001my-Hu for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 15:03:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxke5-0003MK-BU for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 15:03:50 -0400 Received: from oproxy5-pub.bluehost.com ([67.222.38.55]:38378) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qxke5-0003MB-3h for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 15:03:49 -0400 In-Reply-To: <87r545qtxu.fsf@praet.org> (Pieter Praet's message of "Sun, 28 Aug 2011 20:20:29 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Pieter Praet Cc: Org-mode Pieter Praet writes: > On Sun, 28 Aug 2011 07:11:36 -1000, tsd@tsdye.com (Thomas S. Dye) wrote: >> [...] >> I tried to follow Bastien's suggestion about adding a change log to the >> commit message, but ended up with something that looks different than >> his example. I'm not sure why--perhaps Bastien is not working in magit, >> so his instructions apply to some other context? >> [...] > > Bastien was referring to `add-change-log-entry{,-other-window}', which is > part of Emacs [1], and is mainly intended to add entries to a dedicated > ChangeLog file (when this file isn't present, it'll open a new buffer > for the entry). While it *does* most definitely produce properly formatted > entries when called with point on a diff hunk, it always requires the extra > step of yanking the entry into your commit message buffer. > > > When using Magit (which I highly recommend) however, you can add properly > formatted entries *much* faster by positioning point on a (staged) diff > hunk in the status buffer, and calling `magit-add-log' (bound to 'C') [2]. > > If you don't already have a commit buffer ('*magit-edit-log*'), it will > create one for you, so you don't even need to call `magit-log-edit' > (bound to 'c') in advance anymore. :) > > > Peace Thanks Pieter. Your instructions cut through a lot of the complexity. All the best, Tom -- Thomas S. Dye http://www.tsdye.com