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 10:48:02 +0200 Message-ID: References: <87o8dhpx5a.fsf@fastmail.fm> <87lf8lptle.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="14312"; 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 11:25:06 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 1lgOdV-0003ZM-Ew for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 11:25:05 +0200 Original-Received: from localhost ([::1]:57726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgOdU-0005aX-FS for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 05:25:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgO3n-0001C1-7j for help-gnu-emacs@gnu.org; Tue, 11 May 2021 04:48:11 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:50433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgO3l-00030o-6e for help-gnu-emacs@gnu.org; Tue, 11 May 2021 04:48:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620722882; bh=qOlaAx76nF8oFcxknaY3YxzQKa3MZ3SQ6/azR8SwHZA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=d9NjnTOM8bbn6hxLnOLZp1iN1QKh1lp44QBKanAKUDoZ72s1u8jPpF184eCI4j00v ZU8QYfr9B7lPtbLEGr8WBKB7RYRymitey/0H5OFTTlZ48/Q9WWOsF15syhlLEwZELe zTLJEfC+QSbxAVY++DhKDNa3i+BBlAska/iMF6uk= 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 10:48:02 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87lf8lptle.fsf@fastmail.fm> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:hSckNk6t0Q+nMuALvyYJJh5NyaG3IsH8WSkKEAsK0fvxl45Z0ZYnr3IcWt/fD7VPie2t7 e33Mr3OLZte9outYiQ+CdbaJhotkwzHxR+ffqUIby2vj9bZr5EbrjS9vHn0iBhtAYK18yEl1kZj/ HCpmjEiSZyQkFvhbXbAoz1wefI0jt8Chz8vTh0p07tv5fj48Qn9+p7aGzxUZRd3//CDJHRZcewXQ xq10rQsmWOEn975RrLPkLiXHtBbsH0qJIMn/EqW/xIz80iBa228KCPk9Qq2rWvuTzsAgG7kQJXBX es= X-UI-Out-Filterresults: notjunk:1;V03:K0:/HBr6Z239cA=:5GyqI0Z1uPKzr2bWac2Ofm k07EFiwQZAM3nhIVeUXvsUlSFSOJpnW7/0KELCHLDig67dKd6gu5S63KG3K+7GRMohy5g0LKl WC79cjiCmrvcS03kdRtICrDTsiPmUSAO2Nw7IgfRpPVzrvKU11yFUVSP1JPLbZG99nnuDy85p 9FPFRvgGu0AEgbC1J/6fRB0PPi8V+0FkWTsaxKvSVwMn5Q4Tq06r4wcFFBet4ezJdSAlJUtcd 5WsfFahIUuUHQrt16P+gDWPwap3fYUpkCK7xjlx8Ieo+WECYF3XzegOF9UzIOJve42Zy/zsfH LnWNpT+b+t6O+aFgAVTMBhKnJV5ArByytbBgizDuEKDhYiG9kwugcStnjcHpd68eio9/GiHRb gANOiy3Xd/WC+idfr0TC+J8lf4s6VnKs3nmAcKj6KLq5bF98q3CvT3Hi4OOTby2QYCtBPDAmp 29Ksj8P5BdktjF8aiU50KGtQIil75u7h4U4CMAmV0zaxobN7DlrSFaWVy3B/bh3u8IHg6E/6y uu2s84aKfMCZExYkynESxczAmdeec2sr9fuCCzyRzviOVA4YJNsCmO7ZzpkpyLajkU4G4AYYt IB+Cu3t00cDbsDA03NrIUbwNvUjxsFrRVFoD5LR8fo/arLAnEGR2NoDygVARh1X7NDPuCnAJs KXzNdc+PzTy+/lQOLrR0tUTUtFhAp7XwseOZPq/ypTWhyWX2hJJRnBwPqPxbWCEymi55NA216 1jB8dkJzIfX5bGd+rmIke4e6e2lcBcgjgxCLRJPolMtIbp2q+Ui0M5CjLS2yWvxsQdFOJy2Y Received-SPF: pass client-ip=212.227.17.21; 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:129689 Archived-At: > Sent: Tuesday, May 11, 2021 at 8:19 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: > > 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 ";;; \\*+ ") > > Where is this call? =3Dsetq-local=3D sets the variable's value in the bu= ffer in > which it is executed. If this call is in your init file, it's not going = to have > any effect on your Emacs session. > > In your init file, you'll want =3Ddefvar=3D or =3Ddefvar-local=3D. (Note= , the =3Dlocal=3D part > here does not have the same meaning as the =3Dlocal=3D part in =3Dsetq-l= ocal=3D. See the > doc strings for details.) defvar-local is buffer-local variable. I would think that I could use def= var as the setting rather than a buffer-local variable, as the value would be the= same for all elisp files. Have also tried doing the same for texinfo files. Though outline-miner-mo= de is not taking effect. (add-hook 'texinfo-mode-hook #'outline-minor-mode) > -- > Joost Kremers > Life has its moments >