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: outline-heading-alist for elisp using ";; * " Date: Tue, 11 May 2021 03:55:55 +0200 Message-ID: References: <878s4m5mbj.fsf@posteo.net> 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="32379"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 11 03:57:36 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 1lgHeQ-0008H6-NE for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 03:57:34 +0200 Original-Received: from localhost ([::1]:54998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgHeP-0002IR-Om for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 May 2021 21:57:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgHdI-0002FQ-OK for help-gnu-emacs@gnu.org; Mon, 10 May 2021 21:56:26 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:52021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgHd0-0005KA-Nu for help-gnu-emacs@gnu.org; Mon, 10 May 2021 21:56:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620698156; bh=kw3uM5gp3nkjPwsCwpKPW9ZQiVPGj8GUrsAkfsxEhRE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Vbk+ygfPxiugv7jn434E1vskH0hrK/vECLWLSzE49U6V+ABpM13tZ+Weg3N0+pwsV harPtuTL4KetPG8UoJK+gJK1ctfgVXDS1XMKw5FY1DHBVxblssVOdUIVjuy4fwXpyQ oq1f5s+dmUFbRoJa/+7xUxtd0qgvkoD1FZykx0kg= 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-bs03.server.lan [172.19.170.169]) (via HTTP); Tue, 11 May 2021 03:55:55 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <878s4m5mbj.fsf@posteo.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:FYNPdDkFJrVZ9CmX6w4CkbJz3bEpeDREEinnQmOp9RrzthBzy56BPmlam9FZGHysIgR0W ISd2jgciUDnZIP/WOfZzXC/z+fYTLEdraJGNPaz5qaqqIFy1bffI6k+EXLHCcxAP6HUk2rGnwUqr GJDofyiRpBfnS/rTyrq4JYq/JCIr85uWuWHco486U5Bseky6hiADJcG3ChSYPYwTB8Gu7niYt5KP OI+2UnW1/0PF+jdIZIl667PRAVy3YFvqHJKLN6WZD6JgYT/V1w5vCEfJRFKHY+CZCFg6zhv9KNGJ NI= X-UI-Out-Filterresults: notjunk:1;V03:K0:u8nhQty2mVc=:CEEu0dgp/A67lveptXDjbI EwhoNhZbPlTKGH/0+sXew7W0tcRKS5rxBH4WHzo0IAMvLjNiZLRMRw76z8IQ8I1vfvF0ZTuUK Ih5+XTlNc+/1E37lCScy4LdwMsEG9ezT2dOwVnhc0MqWKfesxAoDc6c2ql2eGv54MJbiL4B0H OimbcPjoiavBKk0MwMPEeiJC6lfEtIW8H2YdZl+Pp5FLm1hJE+p4nCO2OZZ7QOWMLOnsG8VPK DBF4yesgtZNPrMkZB4jR+IIH0bRbAe1qnXSVeu8YAQx0kRh2FjER8gjfd/d7ReV5uVEiLwhkL LtL4VzoE+TLUg++sHOnjVu8569HzRArygfjtt397ZNz6FDlJSue8aA+Or+APeLrniHf2eTog3 IA7RJba5695l1+W8V/gaa3D+F6jh7stxzqjU4vcKczNrplq8bfNyMObWVFc4+1l47LV4/iB0t YabGjdl0w6qxnCio0P2vBGgO7A/3Cyjd/9hRLvhKkW0LZpa+b7yfVNUa5958bBBDgrMG9sjfA iHATY79wXA/TzSjCLrE5enXCl2aa9rtg09iTYKTYmXE3poJT1RGAu+yCLZ63OW90zAQ459rJs G9OgEKv6/CpeGeG4mIlFCLjnEgEbRVMON08mCJ4750t66AMpgUvuH/IN5jFd+1z4gEmptkxvp ATI/EOmbCS3UblPB25XAaqbVd3w8BF2VX64ckTExOfI5SiaOcq9LOwDEF4fFSXXAihdC8JkYt QaO7RZDsOl/yiqTgcUQ/p7SA0g8zvASeOz6ZRWRsytQzmG3FH6N2Ga+pj2N9yMVuGRCEH7rI Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:129673 Archived-At: > Sent: Tuesday, May 11, 2021 at 9:08 AM > From: "Philip Kaludercic" > To: "Christopher Dimech" > Cc: "Help Gnu Emacs" > Subject: Re: outline-heading-alist for elisp using ";; * " > > Christopher Dimech writes: > > > I want to use ";; * " and so forth for subheadings but using the follo= wing code had > > no effect. > > > > > > (setq hstar > > '( (";; * " . 1) > > (";; ** " . 2) > > (";; *** " . 3) > > (";; **** " . 4) > > (";; ***** " . 5) > > (";; ****** " . 6) > > (";; ******* " . 7) > > (";; ******** " . 8) )) > > Why not use outline-regexp? ";; \\*+" should do the same job, if I'm not > mistaken. Will use outline-regexp. I need the different heading levels to follow org-mode *, **, *** etc. Would you have an example for that, because ";; \\*+" considers > > ( (emacs-lisp-mode . ( > > (outline-heading-alist . hstar) ))) > > > > Where are you evaluating this? In .dir-locals.el? If so, what is the > local value of outline-heading-alist in an emacs-lisp buffer? Am using my own ".el" file. As for finding the local "outline-heading-ali= st", how do you find out what it is exactly? Have tried the defaults, for elis= p the default seems to be ";;;;;". > -- > Philip K. >