From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: headings for texinfo-mode using outline-minor-mode Date: Thu, 13 May 2021 05:57:58 +0200 Message-ID: References: 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="40876"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 05:59:04 2021 Return-path: Envelope-to: geh-help-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 1lh2V6-000AWL-Fs for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 05:59:04 +0200 Original-Received: from localhost ([::1]:59398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh2V4-0004l4-Q2 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 12 May 2021 23:59:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh2Ud-0004ko-TU for help-gnu-emacs@gnu.org; Wed, 12 May 2021 23:58:36 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:34467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh2Ub-0000lK-PS for help-gnu-emacs@gnu.org; Wed, 12 May 2021 23:58:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620878278; bh=PcA1JLjAVTcNjFFk9wyeitMowR3+dY5qETFnXTSRRi4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=W00qcostAcE4ng6zfN21W3J/Fb6tg68tJjTMithFNSpriS/S7LgeH4yIub1CT5tux vvLUJ98Q7WzT4pJfr1n3BWHKbBuhik1Q6q78hGME7JapvFqZuPv6gRbm9TaFiAbaaF XwNAHH6khnrOfLnQCb2Ls6EaXwlAOp4t4tXuzFw0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs15.server.lan [172.19.170.183]) (via HTTP); Thu, 13 May 2021 05:57:58 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:fr3DbmPiFFgUbLrQtF6cb3/pvjRmxeKjU9YHZwGK/dIl1jJmIYqJZ8A4viSgmva6MnudV Kf1uCj4T4nCEILCj6I718PewowTf2xhzOu4d5vtgc/RY5eiv4wgHDAFJJKx0m+Zzzq85vZwlRmfU Z1Zv6bZuzFabCToly6EJG1m557DV3eqF9jsroMqKZd0P4XKJFx9vWRRw2aPU/R54R+uBR8KI3RdC e2CxXlZVdyHXqa2KPHAJBBLI8O1rAgwwkAhoX46L4k+u3YwWZO1ym3DZLKrmmPDhVj9X1iwfBoYS hE= X-UI-Out-Filterresults: notjunk:1;V03:K0:MgPwJTYchW8=:CYMvmCQM2cjjfI2kUt4iPu x74Mz0vs1sG4m5vs488KcZQqj8OR4YCPhi4viMJwsalLFKATqMbEmc5gyKW56wRyJwGHNS4mF WRFPYUglJUFXerh+Xj9E4fKzTRcjRD5/gzZ8dJp7JC9M9gpfHEedgtshS3Cv6UWBu/UnRtxsZ YpqmjWCYVa3KMKm8UvilVIT5aVFDkCY/PAFqUFm/9g4NDeMRjsaOu2aZxAIPTd17Zky6667e2 g6++hz5oNIcfrz0uFCUALWU6fjP7Zq0W/EqTEWuQ8jSyAixzwntRXAPtaRayjuVfO2CR2UMov bMyS/McJqe5vhljp3asvPW7/ZiRyAdWDVFkDzOY4RR8Hyg2lQl3AnpUUhHTTZSkUeMNFUokXR q8skzSKHSOqa7aBEC9DwLpcR9HwfXUXG2CuRPggDy1y0/ay1UihQgg4nQjcSQ5GkpHqd8Mknl 18b+6vbLRrSty7+LXQGbcx2RB9Lz5Z9uvGXlpQ7C2TxySk2lY60sI2/2WNgbAg8sYZPMkhr4f 7QO3bptpu9Fe0JEV1SFgI98ojFCHaV6dMEKjIoHvc7ErLsCRs1uu82WHtRPb2f/l+6PSJaI9V BgZtcesHrYxyvUGeZ0JiwXEfnd7xkQVoK8eRnCYc49o/zc42LjabY+AeiXpbJSTguNjWrK1Ca hUvALZRxY237809WBG94+UCUsJtF5qfv2FFc1kBs7trBhQ8w5B4NoXPY30QMVPJQxyc4rvRej ZNizJolg2hDgHuEF85VbsTdb0ojiJPHkSPtva1kmdCdNMdL/OvXjcW4FgoBsyt7lfStMESVj Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129735 Archived-At: Could outline.el be cleaned up a little bit, and see how to make it easier to set up outline-heading-alist for now. It already has some good capabil= ities. > Sent: Thursday, May 13, 2021 at 12:36 AM > From: "Jean Louis" > To: pietru@caramail.com > Cc: monnier@iro.umontreal.ca, help-gnu-emacs@gnu.org > Subject: Re: headings for texinfo-mode using outline-minor-mode > > * pietru@caramail.com [2021-05-12 07:44]: > > > `texinfo-mode` is one of the rare modes which explicitly sets > > > `outline-heading-alist`, so you have the answer in there ;-) > > > > Would it not be better for outline-minor-mode to set "outline-heading-= alist" > > for each language. Then, in each language mode, one simply calls the > > appropriate function. > > > That is the thought I assume each of us has. > > There are many modes, various macros, functions. Many modes do not > have its outline structure. Emacs Lisp mode does not have "outline" > defined, we can just virtualize it and think how to create > outline. Its structure would greatly depend of the style, and comments > definition, for example to start writing (defun on the beginning of > the line. Each user can have different comment definition. > > Modes which could be used with outline-minor-mode are especially those > with lightweight markup languages and some modes use > outline-minor-mode anyway, so for these it could be done: > > adoc-mode and asciidoctor-mode > t2t-mode for txt2tags > markdown-mode > latex-mode and similar TeX macros, like context-mode > > I don't know for plain TeX-plain-tex-mode for example as \beginsection > is just one so far I know. TeX-plain-tex-mode is definitely usable for > reports that don't require elaborate structures. It is way easier to > create report with TeX-plain-tex-mode > > Hello there > > \beginsection > Here I am > > \bye > > Whoever now finds good outline-heading-alist post it here, please. > > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > Sign an open letter in support of Richard M. Stallman > https://stallmansupport.org/ > https://rms-support-letter.github.io/ > > =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy