|
From: | Dmitry Gutov |
Subject: | bug#19493: [PATCH] Fix trailing ... for outline-toggle-children |
Date: | Mon, 19 Jan 2015 06:14:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 |
On 01/16/2015 04:12 PM, Oleh Krehel wrote:
You're right, I hadn't noticed before. Alternatively, `show-entry' can be patched like this:
That doesn't seem to be the full solution either. For instance, if the current heading has subheadings, with or without your patch "..." will remain at the end of the last of them.
Maybe the fix has to touch `show-children' as well. I'd hope to see a one-liner change that would fix both cases, though. :)
The point is just not to have a single trailing hidden char, which results from passing different bounds to `outline-flag-region' when hiding and unhiding.
How come we pass different bounds? `show-entry' does pass a lower FROM bound than `hide-entry', but that should have this effect, should it? It's the TO bound that should make the difference.
[Prev in Thread] | Current Thread | [Next in Thread] |