From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode: customizing outline-regexp? Date: Sat, 13 Jan 2018 15:05:08 +0100 Message-ID: <87a7xhsvl7.fsf@web.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515852238 19678 195.159.176.226 (13 Jan 2018 14:03:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 Jan 2018 14:03:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: John Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 13 15:03:54 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaMPQ-0004GW-8h for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jan 2018 15:03:44 +0100 Original-Received: from localhost ([::1]:39925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaMRQ-0004wy-05 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jan 2018 09:05:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaMQt-0004vq-5V for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 09:05:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaMQp-0007Mj-WD for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 09:05:15 -0500 Original-Received: from mout.web.de ([212.227.17.12]:50899) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eaMQp-0007J8-Mb for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 09:05:11 -0500 Original-Received: from drachen.dragon ([92.74.168.127]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Mg7I1-1eFnIu1mZZ-00NTvO; Sat, 13 Jan 2018 15:05:09 +0100 In-Reply-To: (John's message of "Fri, 12 Jan 2018 22:10:38 +0000 (UTC)") X-Provags-ID: V03:K0:eCJOv3ikEbIaF8eQErSBaBJiM8mAYrSjBgJ0xNw8u/O2UxYKfeR 6OylAfQeHC3ycXv8/yVPGePO/ZzhNXYJNiQAcA7KPlpDTmKmh6PgZB2n4FwTRx+hZ1YvuOn k9MKd4ne9a+N+XwaIZQ3ywpFSBgIrhfagqT8UrpCXuQhpPcQ1PTTvzyUKKO0/Gyx6OLz+Ef 8txjmL53zkiT84matoEPA== X-UI-Out-Filterresults: notjunk:1;V01:K0:L1B3qGiLrW0=:uZSbCa69b5bll59PrDPGMD 7QyxyHPkDV8CjCt07urAtBkwX+nRh6OWSxnX1yAEYD0fHzm2aSTJcU+1d3iw94fY4TlQC90hQ gmqcqgkAt+Sky3IsMXI74nvFTitYfDtn07CNVVRiaX+tpPJLiOrMkq6oURHJrm1Av+8lUNj6b gmYeanQId+upyiOJAQO7LCo6IZFh8/HloUnAxny+fybdAYnznY9FtpDjfwmMk6FOLoFkKFyd7 twSH+9JbjBWx/VAKNxkJn9nrJsfx+x82VGP2pPu9ILkYmiAx4SvJba1B4ohS7s2LJ6jVBXf5p WoB2xZsjyEF2tT4rVFbJKP4qpyj/WJfQlxfT9nDp+eLdI1vlH4AujTLf8RBkBZKofGEZgaiUo xXPToQIVreg8mtj4e2enFrAES9UjI2C+c2lxQMD97IXcEEznjK4PvILNRBRpAKVScdnHyQkx+ SG+5d8shZWE+JhbE9fAoTgTFELs7NziM4OD8a/l+OLxDhvTB2NMTEPZEEpLODcXGq39tMCTuV G1K0Jw6OOvsfW/KYsZZcjoRS4tGkrFa94kHhOUfs1slFdYLmaQaH99EfJZRUpg/3sVfA481bD VJOVtQMudpoxVnJZikWTY7DR2TUw0VtHjAtmy6iguAa0/b2X+246r9MgsSKplHtdTKyGemwAq 4ZHWvpMCTVIUoIrCuN4m7pHVF348gMQluW+RDZZslK1mRWOTkjFRrQOXdOQEiBbRSpkNYfvZf kUDEcp5BBgJIRRy4mZl8xIDTRD0AkIpKs0S2e5a6YMKcmhuhZS2ttSg/kEFZNZli2sG3pFsW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115692 Archived-At: John writes: > This is my last, desperate attempt: > > (defun my/css-outline () > (interactive) > (outline-minor-mode -1) > (outline-minor-mode) > (outshine-hook-function) > (setq outline-regexp > (rx "/**" > (one-or-more (any "*")) > " "))) > (add-hook 'css-mode-hook #'my/css-outline) > > It successfully sets the `outline-regexp' variable, but outline-minor- > mode, or perhaps outshine, doesn't seem to respect it. I suspect there's > something else I need to do. Looking at the code (I don't use outshine) it seems that outshine sets `outline-regexp' itself, so I guess it overwrites your setting. I guess you need to configure outshine's variables instead. Michael.