From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Christopher Dimech <dimech@gmx.com>
Newsgroups: gmane.emacs.help
Subject: outline-regexp) using ";; *+ " for elisp code
Date: Tue, 11 May 2021 09:59:30 +0200
Message-ID: <trinity-20541a83-ed99-46f5-af61-0134382e1683-1620719970067@3c-app-mailcom-bs03>
References: <trinity-f6af192b-cf3a-46c2-b3a7-6691f2faead6-1620702666873@3c-app-mailcom-bs03>
 <87o8dhpx5a.fsf@fastmail.fm>
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="40099"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: help-gnu-emacs@gnu.org
To: Joost Kremers <joostkremers@fastmail.fm>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 11 10:01:36 2021
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lgNKh-000ABn-Md
	for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 10:01:35 +0200
Original-Received: from localhost ([::1]:37982 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lgNKg-0008C2-Km
	for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 04:01:34 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58952)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dimech@gmx.com>) id 1lgNIm-0007uM-Rk
 for help-gnu-emacs@gnu.org; Tue, 11 May 2021 03:59:36 -0400
Original-Received: from mout.gmx.net ([212.227.17.22]:58549)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dimech@gmx.com>) id 1lgNIk-0000Wh-PQ
 for help-gnu-emacs@gnu.org; Tue, 11 May 2021 03:59:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1620719970;
 bh=6AfLHK8by1I6ZWhzcn1wOx0g6+yvGkF1j/3dC6RbEkU=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=Lt7xVhZABSEyAb2YWjpQCgrVMMAln//azPm0ZCgM6uSgOehFzzd6JXgpsigGwwZSv
 zXoPfymK5bLbbK1kPHMB4MmyfliqjakEcHiWhsdr15Aw+pSAJLaLVawF4yCZyS32iT
 I/ygUYZ02MdCdTOA6moDqnzAMkLll17dFhGec9h8=
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 09:59:30 +0200
Importance: normal
Sensitivity: Normal
In-Reply-To: <87o8dhpx5a.fsf@fastmail.fm>
X-UI-Message-Type: mail
X-Priority: 3
X-Provags-ID: V03:K1:LzlVvqfvi0Nk3/TySLo6OB2bjyIELjOXMHMECe+TS4svrvCPSz8Z8dftQwEcUAapg6sy/
 gJrZf6K0ICZi/I1GyIOC+mV+ou0V6jU0mwVL/24IuKEOipdtNurdhPmZSz8li/+VydxMNh+dPod2
 nkSN6sUsEFt5OqKZqMAyUWu6Teuw5W3/aTEcZ4D3wSAt4tXG3hobS5zGQxoPw6cHOIB21vH+P9sS
 67GD3Qvr3YUPUfVoadgif9L6vC1Btv0PorWmGMhSDZEtkEV/WT3GWFDGz5tvb9pglBG5IOvDmHdp
 LA=
X-UI-Out-Filterresults: notjunk:1;V03:K0:eEXP89YINIs=:i+sPBAVq5vbsOdEO3g0vTO
 jBFZ1g5r1gEKHo5OjpQ3N2fSH/gNFScltlnn855SeV/ChnJyFbUICWGwnTJDCAkLwHCJcfcwx
 SqdD3MitKl/n2dXw+lhs1uQuBL/xNpVa4fz5duv4Onqk/ZNCUZaUoqdxduEzXlzzLAM4N/7AM
 F/DyE89fhCectctQihVGybUENrsZhGyfrKllj9EO2qglpbDQGPsyBxV+cXV432wiSkgPZDg6x
 cgCouQwYxOYbIH5R/lwqTP9VhydP9f4UfYONxwOMPP7l065Y6mpM5szKYRTmWSLqLM+h4H84o
 xG4sLPNcQbCfL15ns2nHz7TYbTzG1g+fcvEQ5yueAK1oqAwZVA5BUhB/38UXN24UciVZyZptN
 K3l0hR5jLkMkSAuDw0QApEcCraIJVcfyTV9IUyIlkTFgX+VRsosLnpQG2/5fNMLV/k86PeVAf
 opHesHVqbN1BBSu7rEmpRiCZkHParyT7QUyIsjI5pZKWU3nqbEC3as7kdYzB1hoTAE8njpfWb
 BwAohDLT7vBr6ZM8n55k1ybN25ewPgyFW5tI/HJqa8oXCVeSekUmTggK+pXHhbwUV0ZYRa3P0
 1spdNQnvY+JRo2o0tMTyQXDX6BOd33vKmUjzVjopoZYQknfWBi7KJt9lPqsOtRBTnyiT8rgK1
 5eknBmUzSqvY0UyHwOG2sKzj+nGtXcfZFVgoOaVu0kECmIGpqRBY95/DVAWeLBZWhtTb8Xm5c
 LjOZWDVLDNTJJ58/e5clcEK+Q1787kch7dB2DInWJbSW5Xwb54boRHIuD70XrhwBANOZL8ON 
Received-SPF: pass client-ip=212.227.17.22; 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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.help:129686
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/129686>

Any reason why using rgc does not work, whereas things are good when I use
the string directly in the call "make-local-variable"?

   (setq-local rgc ";;; \\*+ ")

   (add-hook 'emacs-lisp-mode-hook
	     (lambda ()
	       (set (make-local-variable 'outline-regexp) rgc)))




> Sent: Tuesday, May 11, 2021 at 7:05 PM
> From: "Joost Kremers" <joostkremers@fastmail.fm>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: outline-regexp) using ";; *+ " for elisp code
>
>
> On Tue, May 11 2021, Christopher Dimech wrote:
> > I am hoping to have headline levels using comment loni followed by sta=
rs.
> >
> > I mould need some adaptation to get the regular expression right, beco=
use
> > ";; *+ " does not do the job.
>
> * is special in regexes. You'll need to quote it.
>
> --
> Joost Kremers
> Life has its moments
>