all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How can I change a buffer-local glyphless char table?
Date: Thu, 07 Jun 2018 10:13:51 +1200	[thread overview]
Message-ID: <m2tvqfef6o.fsf@tenpoint.co.nz> (raw)
In-Reply-To: <831sdkx93b.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jun 2018 17:50:32 +0300")

On Thu, 07 Jun 2018 at 02:50:32 +1200, Eli Zaretskii wrote:

>> 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.
>>
>> 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?

As an experiment, I changed the value of glyphless-char-display as
described above, copied the new value from C-h v, restored the default,
then did setq-local with the copied value in the target buffer.



  reply	other threads:[~2018-06-06 22:13 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
2018-06-06 22:13   ` Nick Helm [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2tvqfef6o.fsf@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --cc=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.
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.