From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21710: 25.0.50; self-insert-command before a folded outline inserts after the outline Date: Sun, 15 Aug 2021 20:32:46 +0300 Message-ID: <8335raaa0x.fsf@gnu.org> References: <87a8resxc4.fsf@gmail.com> <87tujqiqvd.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14583"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21710@debbugs.gnu.org, ohwoeowho@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 15 19:34:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFK1Q-0003au-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 19:34:08 +0200 Original-Received: from localhost ([::1]:34812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFK1P-00080u-SB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 13:34:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFK1K-00080g-Sh for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 13:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFK1K-0005rP-AC for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 13:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFK1K-0007o3-5Z for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Aug 2021 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21710 X-GNU-PR-Package: emacs Original-Received: via spool by 21710-submit@debbugs.gnu.org id=B21710.162904879429939 (code B ref 21710); Sun, 15 Aug 2021 17:34:02 +0000 Original-Received: (at 21710) by debbugs.gnu.org; 15 Aug 2021 17:33:14 +0000 Original-Received: from localhost ([127.0.0.1]:47691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFK0U-0007mm-NF for submit@debbugs.gnu.org; Sun, 15 Aug 2021 13:33:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFK0P-0007mC-KX for 21710@debbugs.gnu.org; Sun, 15 Aug 2021 13:33:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52184) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFK0J-0005D0-QQ; Sun, 15 Aug 2021 13:32:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2603 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFK0J-0003H2-C0; Sun, 15 Aug 2021 13:32:59 -0400 In-Reply-To: <87tujqiqvd.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 15 Aug 2021 19:01:42 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211937 Archived-At: > From: Lars Ingebrigtsen > Date: Sun, 15 Aug 2021 19:01:42 +0200 > Cc: 21710@debbugs.gnu.org > > Oleh Krehel 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... I get in Emacs 28 exactly what the OP describes. But isn't that expected, given the way outline-minor-mode uses the invisible property? > On the other hand, I'm not sure quite what it's supposed to do if you > type after the dots. He was typing _before_ the dots. He said "move to the end of foo".