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 13:22:18 +0200 Message-ID: References: <87o8dhpx5a.fsf@fastmail.fm> <87lf8lptle.fsf@fastmail.fm> <87fsytpnj5.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="34972"; 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 13:23:19 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 1lgQTu-0008zh-TN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 13:23:18 +0200 Original-Received: from localhost ([::1]:58384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgQTt-0005SK-LM for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 07:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgQT8-0005Qr-D9 for help-gnu-emacs@gnu.org; Tue, 11 May 2021 07:22:30 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:33125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgQT5-0000gl-5W for help-gnu-emacs@gnu.org; Tue, 11 May 2021 07:22:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620732139; bh=FQEt0HbDOEcjQO9nUX19bK7mrf8uT56DzefW5rX3iiQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EiDo6673/h5OIJmKRHB2bxd1gt2ickVeo7Y+6fdREpecBPj13saKk80SJMpJlhLLt PZXTmalSCo3g02L4NlV5GVUoX+sWzEGOqZfXTXOuE2e0hL/EbTfJu6nTf72GFdV2Uj +rPsF9eFY+pV0MVEtif9qxO52l2vRwSpNHEZahCw= 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-bs13.server.lan [172.19.170.181]) (via HTTP); Tue, 11 May 2021 13:22:18 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87fsytpnj5.fsf@fastmail.fm> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:7wxGbjSAf8M1mLCuoEtGyxhLw4MPjGmvjVP6h82yTQ/Vc2P0LBRsdd9NvtqXxsx6CqWkY BogZdQ/Huw+tJMzxiAAsqroNhdDxZ9skzMqItatO22/X59kQbW/u+ceKim5Jdzwq9w9aoFhOIDpc uFkH9LUqYjy7FhiEPV7weVqGxPoUj2sRB3RWPZ4m03GPQ2Kd5NBysanUxurKjDEo7DEFBChRkIM/ UpBQc91dcPmx79MJiuZeiXS6BHxeFOQE5k8zNV3loRo+TbSbVvko6bYbgDSnBRSKh6t5tRxw1vG6 xA= X-UI-Out-Filterresults: notjunk:1;V03:K0:kEm+SM4ouh0=:Rih8hjGLXQNjejHqBSDREh uyrMEEcczl6oLsYmsnsbPCezk0jQPoNQDMnljZ4rgZrj6rwy8/4+VwHjo/QxooqLM/8T2kln1 07ND3QDqHAjdPL0MLgv5my3TwgoBloaRcnO0bQZhBfX6KtQm3VVp9X9OndlWl3AEL3WNAibSC 9VlfDk+Bc5kAIWorK/p7+KuYpw+EcaVid1hGb1lSaOjWCH18rz4jIojCcIOldahASdi9pGO4l RcmJ/Ut5l4rzE7JldniBZWwcYoHb6LHRwKlWPHqhKL11SH8pH2zTPQMetYfA6liviCT4HBNuM ugOFeqj+FueqebmJ97k2xiVwHQeg3rvbpX8qF6Jh7lH3YK2/63p9TbPvGtlqN4DDhMFk3qcxp cZEuNLPeDQhcRrtVhPKU7pAir6ztmoNzjl3nk9cP4RgilHFnJWjFzIQ6Zi/hc5lRAWgIGFjP2 mtz4d8yGxype9WNkgC3yRMLvxg9UZ5Qoee5kH+mkNoh7gfLWEwQfunvk/CpAFtb55amjSF0Mh PjGVcbz/JwQyDfMsnbeWxYTDmFwBpMmp0YJ6Yx+PpKxXdvQvJLlPLYerYue7RnkiAyjvjYhtr W9yaunNrHv7wtdXhkvpA9jHriYDamtHC2EUZ2/mjkHRcfjFhSLLWRtonDXzWNeVyzyFkau1Og 8k22e3Mz/BBY2wMKKQgs4x9rue4j3pwaabhPKxjT+FKgQcV8HtNKGGSXF7yD0mvEVm/ekH2Z6 b5qMAQ3anuhP0YZUe5N/F5TfpfTSFKLK8gYE+o+8M43IdYWx9o2tUixafni+OYjVWK81MqZ8 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:129691 Archived-At: Hi Joost, Could you assist with another capability. I would like to use a keybindin= g to cycle the folding of headers only. "H-" fold "H-" unfold Regards Christopher > Sent: Tuesday, May 11, 2021 at 10:29 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: > > defvar-local is buffer-local variable. I would think that I could use = defvar > > as the setting rather than a buffer-local variable, as the value would= be the > > same for all elisp files. > > =3Ddefvar=3D and =3Ddefvar-local=3D define global variables. The differe= nce is that > variables defined with =3Ddefvar-local=3D become buffer-local whenever t= hey are set > (with =3Dsetq=3D). But the value set with the =3Ddefvar-local=3D express= ion itself is > the default value, which is the value that applies in buffers that do no= t have > their own local value for said variable. (You can set a default value ex= plicitly > with =3Dsetq-default=3D.) > > > > -- > Joost Kremers > Life has its moments >