all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 27 - Changing the "selective display character" (also called "ellipsis")
@ 2021-07-25 10:07 A M
  2021-07-25 13:51 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: A M @ 2021-07-25 10:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hello

I would like to change the "selective display character" (also called 
"ellipsis", default is "...") to some other character, an arrow 
character would be nice.

Up until Emacs 27, I used the code below in my init.el , it worked just 
great.

;Change the default selective display ("folding") character "..." to " »".
(set-display-table-slot standard-display-table
                         'selective-display (string-to-vector " »"))

With Emacs 27 this no longer works. I have tested by using 
'selective-display' (C-x $) on my init.el as a simple test, I get the 
default "...".
Could you help me by providing a working method for Emacs 27?


Additional information:
I have noticed that some changes were introduced in Emacs 27 pertaining 
to Selective Display / Hidden Text. Some relevant links to the GNU Emacs 
Lisp Reference Manual:

Invisible Text - "Hiding part of the buffer text."
Selective Display - "Hiding part of the buffer text (the old way)."
https://www.gnu.org/software/emacs/manual/html_node/elisp/Invisible-Text.html
https://www.gnu.org/software/emacs/manual/html_node/elisp/Selective-Display.html

Best Regards




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-26 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 10:07 Emacs 27 - Changing the "selective display character" (also called "ellipsis") A M
2021-07-25 13:51 ` Eli Zaretskii
2021-07-26 10:42   ` A M
2021-07-26 13:00     ` Eli Zaretskii
2021-07-26 15:01       ` A M

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.