I'm trying to set unicode characters for the truncation and wrap slots in the standard display table (see code below) that are used in terminal mode or GUI when there is no fringe. It is working for truncated lines, but not for wrapped lines: the ↩︎
is not displayed and is replaced by an hollow box. I suspect I may have to use make-glyph-code
but I'm not sure of the syntax.
(set-display-table-slot standard-display-table 'truncation ?…)
(set-display-table-slot standard-display-table 'wrap ?↩︎)
Solution:
The problem was the "↩︎" glyph being substituted by the glyph from a fallback font (Fira Code in my case). I'm not sure this is a bug but here is the solution:
(defface fallback '((t :family "Fira Code")) "Display")
(set-display-table-slot standard-display-table 'wrap
(make-glyph-code ?↩ 'fallback))