From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Newsgroups: gmane.emacs.help Subject: outline-minor-mode: customizing outline-regexp? Date: Fri, 12 Jan 2018 22:10:38 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=-dYMh1O68kefC3AXFl8D8" X-Trace: blaine.gmane.org 1515795220 6381 195.159.176.226 (12 Jan 2018 22:13:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2018 22:13:40 +0000 (UTC) User-Agent: Pan/0.143 (Quaint little villages here and there; bb0c906 git.gnome.org/pan2) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 12 23:13:36 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 1ea7Zr-0000lO-3P for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jan 2018 23:13:31 +0100 Original-Received: from localhost ([::1]:42970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea7bp-0001yZ-Ae for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jan 2018 17:15:33 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: z2DTJm64zvdxzeSodqpbPg.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:221555 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:115672 Archived-At: --=-dYMh1O68kefC3AXFl8D8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello all! I use outline-minor-mode in combination with the package outshine, but I'm=20 having a problem with the `outline-regexp' variable. The way I understand it, it's supposed to control the regexp for the=20 outline headings. I want to change the regexp for css-mode, but no matter=20 what I set it to, it appears to use the old syntax for headings, ignoring=20 my changes. This is my last, desperate attempt: --8<---------------cut here---------------start------------->8--- (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) --8<---------------cut here---------------end--------------->8--- It successfully sets the `outline-regexp' variable, but outline-minor- mode, or perhaps outshine, doesn't seem to respect it. I suspect there's=20 something else I need to do. Does anybody have experience with this? I'd be thankful for any help :-) - John= --=-dYMh1O68kefC3AXFl8D8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- iQEwBAABAgAaBQJaWTJbExxqb2huQGFua2Fyc3Ryb20uc2UACgkQ1snEpBZa6+KG LAf/eDbiq3fNytp2DnYa5VuizArxISYovdS9LCx+6f3yGneUxSyiNc/lbcSByQxL lG0lik2FxBXGAW7xZmFZIsN8cRRoH30aXtFRpMT/lF+Kr0Msrx+yfUAsraZ65rFN kCa1xkZFemJsLBV4v6Qz77mTBiAUaQzG85IT3w6nnmLtbJHJFvcVWueZUpy+5OT/ +I8s9CLS5RJHONYOthwpQBkCjhCqIsIiERD6/iM+PnmAEJoxxDqElUiFP1H2YUoL WCcoOLyEmsk6g/DQcXTweLIpIeV+WJUmkkONKhDZGNKVT6T5DKxpCrRasiyjYrzw YjnBgqPO1Yska59ZAfTnZ4QfAg== =Zs2C -----END PGP SIGNATURE----- --=-dYMh1O68kefC3AXFl8D8--