On Wed, Feb 27, 2019 at 10:27 PM Stefan Monnier <
address@hidden> wrote:
> +(defcustom tabulated-list-sort-icon-asc " ▼"
> +(defcustom tabulated-list-sort-icon-desc " ▲"
> +(defcustom tabulated-list-glyphless-sort-icon-asc "v"
> +(defcustom tabulated-list-glyphless-sort-icon-desc "^"
[...]
> - (aset table 9650 (cons nil "^"))
> - (aset table 9660 (cons nil "v"))
> + (aset table 9650 (cons nil tabulated-list-glyphless-sort-icon-desc))
> + (aset table 9660 (cons nil tabulated-list-glyphless-sort-icon-asc))
[ 9650 and 9660 should really have been written ?▲ and ?▼. ]
The above code should be changed so that the table's entries that are
set correspond to the chars configured in tabulated-list-sort-icon-*sc.
Thanks, here attached is a patch doing that.
I noticed a problem: I can customize the unicode char just fine, but whenever I try to customize the glyphless char and use `emacs -nw` it doesn't work, it still uses "^" or "v". My wild guess is that `glyphless-char-display` is used instead of the custom table... if anyone has an idea...
Regards,
Philippe