|
From: | Dmitry Gutov |
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 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |