From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: outline-heading-alist for elisp using ";; * " Date: Mon, 10 May 2021 21:08:16 +0000 Message-ID: <878s4m5mbj.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 10 23:09:28 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 1lgD9c-00020f-75 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 May 2021 23:09:28 +0200 Original-Received: from localhost ([::1]:48248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgD9a-0005Qy-OQ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 May 2021 17:09:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgD8b-0005Ql-Fl for help-gnu-emacs@gnu.org; Mon, 10 May 2021 17:08:25 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:49059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgD8Y-00018b-53 for help-gnu-emacs@gnu.org; Mon, 10 May 2021 17:08:25 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A7EA3240028 for ; Mon, 10 May 2021 23:08:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620680898; bh=X4BHlU910/NNhQspOb5X9DSDpSBiHkMIXbm3o1Zdkjc=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=Earp5qh7UJ7Cxbtkg4WhfRwQxHP+ojthOHZdn9Lprf/4kNKv77v6BeGfi1/fNNCjF 6FX5Y8r0zzMBmJOS7ed44rKq45CheTWlDUK0pWemMMWZwlhIdc5YEBK3HN0gQfwjko ywJKoOJgydm1fXnDOzUPjRlXyq5e0Pm9kcCYRK3bQWIxVtg3FDy8RVfcen9sjZPt0c Dn9FYbLt2l+UVUFBAgrFT1ahKz1XLarFzRxanCTK77TRrbdCqNgT9rgbVUxzna7YP6 dMxcD4vSVFC2ajvYR5o5jZggtsW0idYaKRRjA/ScogQ2rRT78bICD5mvLt24H+++43 en/2mAXY+H15Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FfDDK1jdnz9rxK; Mon, 10 May 2021 23:08:17 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Christopher Dimech's message of "Mon, 10 May 2021 16:21:28 +0200") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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:129672 Archived-At: Christopher Dimech writes: > I want to use ";; * " and so forth for subheadings but using the following 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. > ( (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? -- Philip K.