[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21710: 25.0.50; self-insert-command before a folded outline inserts
From: |
Lars Ingebrigtsen |
Subject: |
bug#21710: 25.0.50; self-insert-command before a folded outline inserts after the outline |
Date: |
Sun, 15 Aug 2021 19:01:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Oleh Krehel <ohwoeowho@gmail.com> writes:
> To reproduce with "emacs -Q", create a file ~/outline-test with the
> following contents:
>
> * foo
> some text
> * bar
> some text
>
> Open the file, move to start, "M-x" `outline-minor-mode',
> "M-x" `outline-hide-sublevels'.
>
> Move to the end of bar and insert "tt" - it works correctly.
>
> But move to the end of foo and insert "tt": here's what it looks like
> ("|" is the point):
>
> * foo...t|
> * bartt...
>
> Here's the full text after "M-x" `outline-show-all':
>
> * foot
> some textt
> * bartt
> some text
(I'm going through old bug reports that unfortunately weren't
resolved at the time.)
I'm not seeing quite what you're seeing here in Emacs 26.1 or 28. I'm getting:
* foo...ttttt|
* bar...
And then after showing, I get:
* foo
some texttttttt
* bar
some text
So this works better than the described problem (no "bartt"), but it's
still somewhat confusing.
On the other hand, I'm not sure quite what it's supposed to do if you
type after the dots.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#21710: 25.0.50; self-insert-command before a folded outline inserts after the outline,
Lars Ingebrigtsen <=