From: Jean Louis <bugs@gnu.support>
To: Heime <heimeborgia@protonmail.com>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: Re: Colourising fill-column-indicator
Date: Wed, 4 Dec 2024 14:24:09 +0300 [thread overview]
Message-ID: <Z1A72Q55lcXEQWyQ@lco2> (raw)
In-Reply-To: <1C1u6MWb1qfh0NfL3EM0fiGNiKV7cH9u0YmIlc3S-VAX0lGYjkTYzEjQYJj-aQIB0EPcp6Tw4rc-ipY8so7lwQY_hJZRnPmuiEQPqqWwgIU=@protonmail.com>
* Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2024-12-04 13:51]:
> Because setq-default have no effect on the binding of the local variable,
> how does one set the local value? With a mode hook?
This is how I often use it:
;; First variable is defined:
(defvar-local rcd-tabulated-refresh-function nil
"The function to refresh the tabulated list.")
;; Second:
(put 'rcd-tabulated-refresh-function 'permanent-local t)
--
Jean Louis
prev parent reply other threads:[~2024-12-04 11:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 16:24 Colourising fill-column-indicator Heime via Users list for the GNU Emacs text editor
2024-12-04 3:39 ` Joel Reicher
2024-12-04 5:12 ` Michael Heerdegen
2024-12-04 10:49 ` Heime via Users list for the GNU Emacs text editor
2024-12-04 11:15 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-12-04 11:24 ` Jean Louis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z1A72Q55lcXEQWyQ@lco2 \
--to=bugs@gnu.support \
--cc=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.