emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tabulated-list sort icon is reversed


From: Stefan Monnier
Subject: Re: tabulated-list sort icon is reversed
Date: Fri, 01 Mar 2019 08:56:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Okay I found that it works if I re-eval the whole `defvar
> tabulated-list-glyphless-char-display`, but not if I `eval-buffer` the
> whole buffer.

`eval-buffer` will evaluate (defvar ...) in the normal way, which does
*nothing* if the variable is already defined.

So I suspect that "re-eval the whole ..." above meant to use C-M-x which
has special support for `defvar` to force re-evaluation.

> (defvar tabulated-list-glyphless-char-display
>   (let ((table (make-char-table 'glyphless-char-display nil)))
>
> Should `make-char-table` purpose really be 'glyphless-char-display?

Of course, that's what it's for.  This "purpose" should be thought
of as a type.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]