From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#53981: 28.0.91; shortdoc: Add support for outline-minor-mode Date: Tue, 15 Feb 2022 10:29:23 +0100 Message-ID: <875ypgqxzg.fsf@gnus.org> References: <87czjpso5q.fsf@gnus.org> <87sfsky494.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17324"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Daniel Mendler , 53981@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 15 10:30:12 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 1nJuA0-0004Ia-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 10:30:12 +0100 Original-Received: from localhost ([::1]:55726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJu9z-0002Db-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 04:30:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJu9r-0002DB-Fz for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 04:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJu9r-0007rc-6M for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 04:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJu9r-0002XE-06 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 04:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2022 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53981 X-GNU-PR-Package: emacs Original-Received: via spool by 53981-submit@debbugs.gnu.org id=B53981.16449173759684 (code B ref 53981); Tue, 15 Feb 2022 09:30:02 +0000 Original-Received: (at 53981) by debbugs.gnu.org; 15 Feb 2022 09:29:35 +0000 Original-Received: from localhost ([127.0.0.1]:43506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJu9P-0002W8-Bn for submit@debbugs.gnu.org; Tue, 15 Feb 2022 04:29:35 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:46728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJu9N-0002Vv-MA for 53981@debbugs.gnu.org; Tue, 15 Feb 2022 04:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YmHsKzfevLPba+UTuIiiaTXhobEOyVobl1P0XSvvkYM=; b=KYAM3qFE/qX/4n1uK7CSJ7NQAs FeZxBMWRE4sIzrn52aIvesF4DPe6W1mfptqVVyxurMg3P+DDRyXbcyaY7nVlU+Qj18InVwR7meBSS kqbIZBZfIO7QLRbsV/XIfYsdJBRNaviCKM3RDCO+ckL4p3qQ1WzgtM/83INWjr/pFR6A=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJu9D-0008Tn-Qe; Tue, 15 Feb 2022 10:29:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXT0caPWlY4Mir/ //9kTWJkAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YCDwkbAf+K0YoAAAGkSURBVCjPVdLBjtowEAbg sVUilVO3otHCfQ/kKcKhHHIKVSba+LSHBRU/BSAt0va0IIi0ObGVE+H/KTsGVLU+JP408cS/E6Lb UIAP96dwGf2L5IYvfyuDG6KAnzdcGmDNzGlvzmgmhA2MI7JoKiXoG2XdV2zuBXtTSNvcvhSK/BSM ZTdknytKNfgTUaHa9ILiWTMPjoKBxsyVZZWXpOi7rg3asuKp4NRtIciKTFAkGXAsp0+xwBgA62X2 thfIFF4tss1v/U6hcK++ZdFH31OvDz+k+LXX0DCkcqM8PozOpCWVPfi8fyhdAC92j7NsVbt4RtHu GY958qM+htirB+MHdsvGL2hFw0nZtEMueELryYtyy/mSWcLhzWtvAS5URTjNowWatuIlCB9pjFr2 1HrQeXYcQc4WRyuVXCX4bOGZjbyHEh9bzJkbQkrReYQz0ZgJRNpZnCh9uKIDnMauJPl2etuE8Dt7 AW7jf8iaGLDmCnWqW2APEx7THrWv3bgJiBpYX6J/xS+P9g5rWUhoEPnOYWXDgRiYtmu799CgGpeJ /BYsu+Y/5JjZYM8ec9AAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMTVUMDk6Mjc6MDErMDA6 MDAw1RwyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTE1VDA5OjI3OjAxKzAwOjAwQYikjgAA AABJRU5ErkJggg== X-Now-Playing: He Said's _Take Care_: "Get Out Of That Rain" In-Reply-To: <87sfsky494.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Tue, 15 Feb 2022 08:32:07 +0100") 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:226969 Archived-At: K=C3=A9vin Le Gouguec writes: > I have not found the time to dig into outline.el to understand how this > could be pulled off yet. FWIW though, issues such as the one we're > seeing now with shortdoc comfort me in the idea that this is a > fundamental problem with outline.el (although a mostly aesthetic one, > granted). Yeah, I think it's an issue in outline (that should be fixed). > I'm also reminded of bug#51016, where we debated whether FORM FEEDs > belonged in outline-regexp; I'm seeing a pattern with shortdoc's > separator lines, and I wonder if outline.el should grow a concept of > "section separators". > > That would allow us to stop conflating FORM FEEDs with level-1 > headings, letting outline-forward-same-level do DTRT, yet keeping the > ^L displayed even when folding all top-level headings, which IIRC was > a contentious issue in that bug report As previously discussed in some other bug report *vague hand wave*, it makes no sense to use regexps for outline in generated buffers. The functions that generate the buffers knows what's a heading, and should mark the headings properly (with text properties), and outline-minor-mode should just react to these text properties in these buffers. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no