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: outline-regexp) using ";; *+ " for elisp code Date: Tue, 11 May 2021 09:59:30 +0200 Message-ID: References: <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 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: 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 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 ) 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 ) 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 ) 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 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:129686 Archived-At: 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" > To: "Christopher Dimech" > 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 >