Questions tagged [buffer-display-table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

How to completely remove truncation symbol (default '$') from truncated lines when no fringes?

In a GUI Emacs without fringes, I would like to get rid of the '$' at the end of truncated lines such that lines can use the fill width of the window. I've tried: (set-display-table-slot standard-...
0
votes
1answer
61 views

How to use unicode character for truncation and wrap slots in the standard display table

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 ...
1
vote
0answers
66 views

How to display Unicode bidi markers only in Whitespace mode?

There's a way of displaying Unicode bidirectionality markers. The problem is: it makes them visible all the time. Is it possible to show them only in whitespace mode? PS I'm not chained to the method ...
0
votes
0answers
185 views

Possible to modify 'whitespace-display-mappings' at runtime?

Making changes to whitespace-display-mappings while emacs runs doesn't seem to do anything. (setq whitespace-display-mappings '( (space-mark 32 [183] [46]) ; middle-dot (tab-mark 9 [9654 9] [...
3
votes
1answer
256 views

Whitespace-mode characters: customise mapping of printable character representations

The whitespace-mode has a default mapping from whitespace characters to printable characters: U+0020 → U+00B7 “·” U+0009 → U+00BB “»” U+000A → U+0024 “$” etc. How can I change which printable ...
2
votes
0answers
66 views

How to define an image as a display-table entry

Is there any way to create a custom image (e.g., using an xpm format) and use it in the display-table? I see that XEmacs had a function called make-glyph -- e.g., (make-glyph '([xpm :file "~/...
0
votes
2answers
578 views

Nice TTY window borders in 24.4

I've seen snippets like this: (set-display-table-slot standard-display-table 'vertical-border (make-glyph-code ?┃)) That claim to make emacs use a prettier window divider character. However, ...
3
votes
1answer
286 views

Can I modify whitespace mode to distinguish hard and soft newlines?

Currently, whitespace.el shows me newline characters by changing the display table to show a $ at the end of lines. I don't actually find this useful, so I disable it while I enjoy the many other ...