From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#52980: elide-head and revert-buffer interaction stops elide-head-show from working Date: Tue, 4 Jan 2022 03:15:42 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000005996c005d4bd3e87" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30658"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 52980@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 09:34:43 2022 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 1n4fHH-0007ls-3Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 09:34:43 +0100 Original-Received: from localhost ([::1]:47130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4fHF-0005FL-7I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 03:34:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4ezC-0000zk-4V for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4ezB-0006R6-Qz for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:16:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4ezB-0005Kc-Iw for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jan 2022 08:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52980 X-GNU-PR-Package: emacs Original-Received: via spool by 52980-submit@debbugs.gnu.org id=B52980.164128415520481 (code B ref 52980); Tue, 04 Jan 2022 08:16:01 +0000 Original-Received: (at 52980) by debbugs.gnu.org; 4 Jan 2022 08:15:55 +0000 Original-Received: from localhost ([127.0.0.1]:36959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4ez4-0005KC-8c for submit@debbugs.gnu.org; Tue, 04 Jan 2022 03:15:54 -0500 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:42833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4eyz-0005Jp-Cn for 52980@debbugs.gnu.org; Tue, 04 Jan 2022 03:15:52 -0500 Original-Received: by mail-pf1-f171.google.com with SMTP id t19so31566572pfg.9 for <52980@debbugs.gnu.org>; Tue, 04 Jan 2022 00:15:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to; bh=8s3KzgLtk8NRVgA0K51/v+/sxNw3lkMAus3xw6XbxPM=; b=gpoSQeFhQCqscKQUG+NvctEy4zEa2JQoKT00ljd8BY3diV3bnHYQ0tB11KVhoWmh// y1DlE2fh8Wic5RavmIfi4ynGjtcnIb1bCdYScvaqnpXrFd9kFNhhNVpPLq91Mj2TPEX6 MFHZh0N9y2F1MjGnv5zb/ZG4+pxhjs9QEcfSdYyBsSPS7InsOJ2tEt8HqxD/loZqzE7a 3pzBVkCkMTFdUFMT6PmBEUGpnyHk9NHf6EJsPz+WZhYI/K8ijTyXdTdz8iR1PjKiuAT/ bfX4XKcQwriBOhNWM7Qc7D+7SqGKssnZnk6sQjRVSZL16wh/GzD5ZTLOkNF0DDZUT650 eZlA== X-Gm-Message-State: AOAM533MYu0Y4JLqG1RBdEI0xCA6foN8hY6XdeHtDWIHvzCutGriA8E2 i6Y3QYAt2Ymhui8kHY+K8y8+1HP1LoDhs58sO1XRGeA3 X-Google-Smtp-Source: ABdhPJwzDaiBhfFFqJLf0kJ347Hji6D8VYjemt64UH82/MwhVw9c9MoJ9bIRQSszCxoq5hna7aDbZj/nXu8Z4BofY6o= X-Received: by 2002:a63:5d41:: with SMTP id o1mr42792275pgm.325.1641284143514; Tue, 04 Jan 2022 00:15:43 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 4 Jan 2022 03:15:42 -0500 In-Reply-To: (Stefan Kangas's message of "Mon, 3 Jan 2022 13:40:40 -0500") 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:223631 Archived-At: --0000000000005996c005d4bd3e87 Content-Type: text/plain; charset="UTF-8" tags 52980 + patch thanks Stefan Kangas writes: > I started looking into a solution with {before,after}-revert-hook, but > that just seems duplicate what we would get from just using a minor > mode. So I'm starting to think that `elide-head' and `elide-head-show' > should be obsoleted in favor of a new local minor mode > `elide-head-mode'. > > That would also save me from having to add a third command > `elide-head-toggle' to toggle the hiding on or off. Here's a patch. --0000000000005996c005d4bd3e87 Content-Type: text/x-diff; charset="US-ASCII"; name="0001-New-minor-mode-elide-head-mode.patch" Content-Disposition: attachment; filename="0001-New-minor-mode-elide-head-mode.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 63cec76b7ce08e77_0.1 RnJvbSBmMDNlZGRmNGJlYjA3OWYyNWVkNzA0MDVjOTk0YjNhMmExZTExYmU5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5AbWFyeGlzdC5zZT4KRGF0 ZTogVHVlLCA0IEphbiAyMDIyIDA4OjIxOjQ1ICswMTAwClN1YmplY3Q6IFtQQVRDSF0gTmV3IG1p bm9yIG1vZGUgZWxpZGUtaGVhZC1tb2RlCgoqIGxpc3AvZWxpZGUtaGVhZC5lbCAoZWxpZGUtaGVh ZC1tb2RlKTogTmV3IG1pbm9yIG1vZGUuCihlbGlkZS1oZWFkLS1kZWxldGUtb3ZlcmxheSwgZWxp ZGUtaGVhZC0tc2hvdykKKGVsaWRlLWhlYWQtLWhpZGUpOiBOZXcgZnVuY3Rpb25zIGZhY3RvcmVk IG91dCBmcm9tIC4uLgooZWxpZGUtaGVhZCwgZWxpZGUtaGVhZC1zaG93KTogLi4uIGhlcmUuICBN YWtlIG9ic29sZXRlIGluIGZhdm9yCm9mIGVsaWRlLWhlYWQtbW9kZS4KKGVsaWRlLWhlYWQtaGVh ZGVycy10by1oaWRlKTogRG9jIGZpeC4KCiogdGVzdC9saXNwL2VsaWRlLWhlYWQtdGVzdHMuZWwg KGVydC14KTogUmVxdWlyZS4KKGVsaWRlLWhlYWQtdGVzdHMtZWxpZGUtaGVhZC1tb2RlKQooZWxp ZGUtaGVhZC10ZXN0cy1lbGlkZS1oZWFkLW1vZGUvZW5hYmxlLWRpc2FibGUpCihlbGlkZS1oZWFk LXRlc3RzLWVsaWRlLWhlYWQtbW9kZS9yZXZlcnQpOiBOZXcgdG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ZXJsYXkgaW4g YGVsaWRlLWhlYWQtb3ZlcmxheScuIgorICAod2hlbiAob3ZlcmxheXAgZWxpZGUtaGVhZC1vdmVy bGF5KQorICAgIChkZWxldGUtb3ZlcmxheSBlbGlkZS1oZWFkLW92ZXJsYXkpKSkKKworKGRlZnVu IGVsaWRlLWhlYWQtLWhpZGUgKCkKKyAgIkhpZGUgZWxpZGVkIChoaWRkZW4pIGhlYWRlcnMuIgor ICAoc2F2ZS1leGN1cnNpb24KKyAgICAoc2F2ZS1yZXN0cmljdGlvbgorICAgICAgKGxldCAoKHJl c3QgZWxpZGUtaGVhZC1oZWFkZXJzLXRvLWhpZGUpCisgICAgICAgICAgICBiZWcgZW5kKQorICAg ICAgICAod2lkZW4pCisgICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCisgICAgICAgICh3 aGlsZSByZXN0CisgICAgICAgICAgKHNhdmUtZXhjdXJzaW9uCisgICAgICAgICAgICAod2hlbiAo cmUtc2VhcmNoLWZvcndhcmQgKGNhYXIgcmVzdCkgbmlsIHQpCisgICAgICAgICAgICAgIChzZXRx IGJlZyAocG9pbnQpKQorICAgICAgICAgICAgICAod2hlbiAocmUtc2VhcmNoLWZvcndhcmQgKGNk YXIgcmVzdCkgbmlsIHQpCisgICAgICAgICAgICAgICAgKHNldHEgZW5kIChwb2ludC1tYXJrZXIp CisgICAgICAgICAgICAgICAgICAgICAgcmVzdCBuaWwpKSkpCisgICAgICAgICAgKGlmIHJlc3Qg KHNldHEgcmVzdCAoY2RyIHJlc3QpKSkpCisgICAgICAgIChpZiAobm90IChhbmQgYmVnIGVuZCkp CisgICAgICAgICAgICAoaWYgKGNhbGxlZC1pbnRlcmFjdGl2ZWx5LXAgJ2ludGVyYWN0aXZlKQor ICAgICAgICAgICAgICAgIChtZXNzYWdlICJObyBoZWFkZXIgZm91bmQiKSkKKyAgICAgICAgICAo Z290by1jaGFyIGJlZykKKyAgICAgICAgICAoZW5kLW9mLWxpbmUpCisgICAgICAgIC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CisgICAgICAoZWxpZGUtaGVhZC1tb2RlIC0xKQogICAgICAgKHNob3VsZC1u b3QgKG92ZXJsYXlzLWF0IDE0KSkpKSkKIAotKGVydC1kZWZ0ZXN0IGVsaWRlLWhlYWQtdGVzdHMt c2hvdyAoKQotICAobGV0ICgoZWxpZGUtaGVhZC1oZWFkZXJzLXRvLWhpZGUgJygoIlNUQVJUIiAu ICJFTkQiKSkpKQotICAgICh3aXRoLXRlbXAtYnVmZmVyCi0gICAgICAoaW5zZXJ0ICJmb29cblNU QVJUXG5ISURERU5cbkVORFxuYmFyIikKLSAgICAgIChlbGlkZS1oZWFkKQotICAgICAgKHNob3Vs ZCAob3ZlcmxheXMtYXQgMTQpKQotICAgICAgKGVsaWRlLWhlYWQtc2hvdykKLSAgICAgIChzaG91 bGQtbm90IChvdmVybGF5cy1hdCAxNCkpKSkpCisoZXJ0LWRlZnRlc3QgZWxpZGUtaGVhZC10ZXN0 cy1lbGlkZS1oZWFkLW1vZGUvcmV2ZXJ0ICgpCisgIChlcnQtd2l0aC10ZW1wLWZpbGUgZmlsCisg ICAgKHdpdGgtdGVtcC1maWxlIGZpbAorICAgICAgKGluc2VydCAiZm9vXG5TVEFSVFxuSElEREVO XG5FTkRcbmJhciIpKQorICAgIChsZXQgKChlbGlkZS1oZWFkLWhlYWRlcnMtdG8taGlkZSAnKCgi U1RBUlQiIC4gIkVORCIpKSkKKyAgICAgICAgICAoYnVmIChmaW5kLWZpbGUtbm9zZWxlY3QgZmls KSkpCisgICAgICAoc2F2ZS1leGN1cnNpb24KKyAgICAgICAgKHVud2luZC1wcm90ZWN0CisgICAg ICAgICAgICAocHJvZ24KKyAgICAgICAgICAgICAgKHNldC1idWZmZXIgYnVmKQorICAgICAgICAg ICAgICAoZWxpZGUtaGVhZC1tb2RlIDEpCisgICAgICAgICAgICAgIChzaG91bGQgKD0gMSAobGVu Z3RoIChvdmVybGF5cy1pbiAocG9pbnQtbWluKSAocG9pbnQtbWF4KSkpKSkKKyAgICAg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CisgICAgKGxldCAoKGVsaWRlLWhlYWQtaGVhZGVycy10by1oaWRlICcoKCJTVEFSVCIgLiAi RU5EIikpKSkKKyAgICAgICh3aXRoLXRlbXAtYnVmZmVyCisgICAgICAgIChpbnNlcnQgImZvb1xu U1RBUlRcbkhJRERFTlxuRU5EXG5iYXIiKQorICAgICAgICAoZWxpZGUtaGVhZCkKKyAgICAgICAg KHNob3VsZCAob3ZlcmxheXMtYXQgMTQpKQorICAgICAgICAoZWxpZGUtaGVhZC1zaG93KQorICAg ICAgICAoc2hvdWxkLW5vdCAob3ZlcmxheXMtYXQgMTQpKSkpKSkKKwogKHByb3ZpZGUgJ2VsaWRl LWhlYWQtdGVzdHMpCiA7OzsgZWxpZGUtaGVhZC10ZXN0cy5lbCBlbmRzIGhlcmUKLS0gCjIuMzAu MgoK --0000000000005996c005d4bd3e87--