[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18110: 24.4.50; [PATCH] vc-git-expanded-log-entry no longer strips l
bug#18110: 24.4.50; [PATCH] vc-git-expanded-log-entry no longer strips leading whitespace from git logs
Wed, 24 Feb 2016 02:25:43 +0200
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)
+ (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.