From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I change a buffer-local glyphless char table?
Date: Wed, 06 Jun 2018 17:50:32 +0300 [thread overview]
Message-ID: <831sdkx93b.fsf@gnu.org> (raw)
In-Reply-To: <m2sh60d4y8.fsf@tenpoint.co.nz> (message from Nick Helm on Wed, 06 Jun 2018 14:27:59 +1200)
> From: Nick Helm <nick@tenpoint.co.nz>
> Date: Wed, 06 Jun 2018 14:27:59 +1200
>
> (update-glyphless-char-display 'glyphless-char-display-control
> (eval (car (get 'glyphless-char-display-control
> 'standard-value))))
>
> However this has a global effect. I would like it to only act on the
> current buffer. I've tried creating a buffer-local char table with:
>
> (make-local-variable 'glyphless-char-display)
>
> and repeating the call to update-glyphless-char-display, but it
> affects both local and global values regardless.
>
> If I make glyphless-char-display buffer-local and tweak its value
> directly, it works fine.
What do you mean by "tweak its value directly", and how does that
differ from the above tweaking?
next prev parent reply other threads:[~2018-06-06 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-06 2:27 How can I change a buffer-local glyphless char table? Nick Helm
2018-06-06 14:50 ` Eli Zaretskii [this message]
2018-06-06 22:13 ` Nick Helm
2018-06-06 17:45 ` Stefan Monnier
2018-06-06 22:34 ` Nick Helm
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831sdkx93b.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).