GNU bug report logs - #18110
24.4.50; [PATCH] vc-git-expanded-log-entry no longer strips leading whitespace from git logs

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Fri, 25 Jul 2014 21:36:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.4.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Dima Kogan <dima <at> secretsauce.net>
Cc: 18110 <at> debbugs.gnu.org
Subject: bug#18110: 24.4.50; [PATCH] vc-git-expanded-log-entry no longer strips leading whitespace from git logs
Date: Wed, 24 Feb 2016 02:25:43 +0200
On 02/23/2016 02:30 PM, Lars Ingebrigtsen wrote:

>> -    (unless (eobp)
>> -      ;; Indent the expanded log entry.
>> -      (indent-region (point-min) (point-max) 2)
>> -      (buffer-string))))
>> +    (unless (eobp) (buffer-string))))
>
> It seems like a deliberate design choice...  I have no idea whether it's
> a good one, though.  Anybody?

Not wasting extra horizontal space seems like a good choice. It might be 
implemented in a smarter way, though, like chopping off first two 
characters from each non-empty line, instead of reindenting them all.

I'd be happy to see a patch along these lines.






This bug report was last modified 8 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.