From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Manheimer Newsgroups: gmane.emacs.bugs Subject: bug#11312: 24.1.50; allout widgets mode bug when deleting text from header Date: Sun, 5 Jul 2020 17:23:08 -0400 Message-ID: References: <877gx7jp5x.fsf@monsan.to> <87sgiu6p8f.fsf@stefankangas.se> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000007c3b0d05a9b85ee8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35472"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 11312@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 05 23:24:10 2020 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 1jsC7N-00092X-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jul 2020 23:24:09 +0200 Original-Received: from localhost ([::1]:55674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsC7M-00079l-C8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jul 2020 17:24:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsC7G-00079a-Nd for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2020 17:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsC7G-0006oV-ER for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2020 17:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jsC7G-0005wn-9l for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2020 17:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Manheimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jul 2020 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11312 X-GNU-PR-Package: emacs Original-Received: via spool by 11312-submit@debbugs.gnu.org id=B11312.159398421622830 (code B ref 11312); Sun, 05 Jul 2020 21:24:02 +0000 Original-Received: (at 11312) by debbugs.gnu.org; 5 Jul 2020 21:23:36 +0000 Original-Received: from localhost ([127.0.0.1]:33054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsC6p-0005wA-Ss for submit@debbugs.gnu.org; Sun, 05 Jul 2020 17:23:36 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:35218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsC6n-0005vv-S6 for 11312@debbugs.gnu.org; Sun, 05 Jul 2020 17:23:34 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id l2so38146551wmf.0 for <11312@debbugs.gnu.org>; Sun, 05 Jul 2020 14:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EXUfDgsFGa+bKNC9fxnEzp0PWCCPZal0XjyEQNWzOfE=; b=XUh0oLGHo8ozFiT3FmXD1z+ae2lZfzW9i6ZNrJ2IillRWm9tJMNbdAl6xEX2zSL+Iw 5NKork2zmm/H7PDXRtD9mXbnQ/1ryhnb3EHYhPgvdDUZzRrrp0eZbNCivC8ctj3wEf1i RwwIwBTFpoy4QRZYDFb+xv9rG6CSlovq8ViaPqb6dmMbziaX82am3hyKL7YarGgknCgt Qnjmv/EtYcKEHjg4BD9ZRCSKKnBD1hREYYVXzuZs3lf49UfGkKI3q4nqZb8zqDbMlqEX HXOqizgsRHR7m9jtRyu0tedINYhMO2WOndRuj9PtRaBsTHNU3LtyTGGuBFAXmk7hYjP/ GBxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EXUfDgsFGa+bKNC9fxnEzp0PWCCPZal0XjyEQNWzOfE=; b=pfMF1CUyVbF0J6zGrgU/ma4iVT7T1WlMOLR2q9cutkal/J8s/fKyCP9Iw1DadzELog l8mHqhBoO843IFjtz2rzFTkvDtc5gmyiMtrQtUkIBkDV0DQEWo+1vK0T8NPPNLNaRo2M ojR48NaLXgOGARYRh4XAqYeWBJqkt5E4g/7mzgPQV819FpYtC3PQPPLumgx1IvlCbwiV YH/4gxYV+Qd2BimlQ8Zzjr+kspOUk6eUGB8TCxFAiQjZRlvIDbPUtoaiMTxde16p5eko GUiOE+sdRvPrbO2yJYyzGH+yn9C2jRleBOGH830pyKS+OmerUxd3mw12Qe7+ZyoZEn4V /XDA== X-Gm-Message-State: AOAM531RZx8BnbbyqSD+hSvF5DMJ92tJzwmW9ShIPaizudrkHxJ2UiLw dqJ9RIkHGP3iZOZxS0dUqXVmt41p2INENf+lq62ma8eT4fQ= X-Google-Smtp-Source: ABdhPJymrcosPs8Ur2bU58tfhQkmV6AQjEI+M5vrodYcr+gG8B0nSflVVLuxI2nWrQR6BHha64N6yqBh7q3RmUzqyXU= X-Received: by 2002:a7b:cbc5:: with SMTP id n5mr46320611wmi.95.1593984207822; Sun, 05 Jul 2020 14:23:27 -0700 (PDT) In-Reply-To: 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:182753 Archived-At: --0000000000007c3b0d05a9b85ee8 Content-Type: multipart/alternative; boundary="0000000000007c3b0a05a9b85ee6" --0000000000007c3b0a05a9b85ee6 Content-Type: text/plain; charset="UTF-8" Sorry it's taken a while to get to this. The behavior Christopher reported is a bug, which is fixed by the patch attached to this message. Christopher, please note that the intended behavior is that you are prompted to dissuade you from editing the bullet character. If you elect to change it manually, that change will not actually affect the bullet, and the next time the item is decorated (like, after it's hidden and then exposed) then the character you manually edited will be changed back. Generally, you could instead deactivate allout-widgets-mode and edit the topic bullet that way. Unfortunately, there's another bug which misses "undecorating" the first topic in the buffer, if it's at the start of the buffer. I've submitted a separate patch to rectify that: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42218. On Sat, Feb 29, 2020 at 8:40 PM Stefan Kangas wrote: > [Please include the bug tracker in the Cc-list when you reply, so the > message gets archived and others can follow the progress.] > > Ken Manheimer writes: > > > I'll try to take a look soon. > > Thank you! > > Best regards, > Stefan Kangas > --0000000000007c3b0a05a9b85ee6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry it's taken a while to get to this. The behavior = Christopher reported is a bug, which is fixed by the patch attached to this= message.

Christopher, please note that the intende= d behavior is that you are prompted to dissuade you from editing the bullet= character. If you elect to change it manually, that change will not actual= ly affect the bullet, and the next time the item is decorated (like, after = it's hidden and then exposed) then the character you manually edited wi= ll be changed back.

Generally, you could instead d= eactivate allout-widgets-mode and edit the topic bullet that way. Unfortuna= tely, there's another bug which misses "undecorating" the fir= st topic in the buffer, if it's at the start of the buffer. I've su= bmitted a separate patch to rectify that:=C2=A0https://debbugs.gnu= .org/cgi/bugreport.cgi?bug=3D42218.
=
<= /div>

On Sat, Feb 29, 2020 at 8:40 PM Stefan Kangas <stefan@marxist.se> wrote:
[Please include t= he bug tracker in the Cc-list when you reply, so the
message gets archived and others can follow the progress.]

Ken Manheimer <ken.manheimer@gmail.com> writes:

> I'll try to take a look soon.

Thank you!

Best regards,
Stefan Kangas
--0000000000007c3b0a05a9b85ee6-- --0000000000007c3b0d05a9b85ee8 Content-Type: application/x-patch; name="0001-Fix-allout-widgets-mode-handling-of-edits-to-item-cu.patch" Content-Disposition: attachment; filename="0001-Fix-allout-widgets-mode-handling-of-edits-to-item-cu.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kc9j72010 RnJvbSBiMjU4OTc3YmZjYjIyNTFhNDZhM2I4OGMxNzZmYzc4YmVjNDE1OTYyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZW4gTWFuaGVpbWVyIDxrZW4ubWFuaGVpbWVyQGdtYWlsLmNv bT4KRGF0ZTogU3VuLCA1IEp1bCAyMDIwIDE2OjI3OjUyIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0g Rml4IGFsbG91dC13aWRnZXRzLW1vZGUgaGFuZGxpbmcgb2YgZWRpdHMgdG8gaXRlbSBjdWUsIGZp eGluZwogKGJ1ZyMxMTMxMikKCiogbGlzcC9hbGxvdXQtd2lkZ2V0cy5lbCAoYWxsb3V0LWRlY29y YXRlLWl0ZW0tY3VlKTogUHJvcGVybHkgZGVjb3JhdGUKaXRlbSBjdWUgc3Bhbi4KKGFsbG91dC1z ZXR1cC10ZXh0LXByb3BlcnRpZXMpOiB1c2UgYWxsb3V0LWdyYXBoaWNzLW1vZGlmaWNhdGlvbi1o YW5kbGVyCmFzIGFsbG91dC1jdWUtc3Bhbi1jYXRlZ29yeSBtb2RpZmljYXRpb24gaG9vay4KLS0t CiBsaXNwL2FsbG91dC13aWRnZXRzLmVsIHwgNSArKy0tLQogMSBmaWxlIGNoYW5nZWQsIDIgaW5z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