all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 27 - Changing the "selective display character" (also called "ellipsis")
Date: Sun, 25 Jul 2021 16:51:51 +0300	[thread overview]
Message-ID: <83pmv6wlfs.fsf@gnu.org> (raw)
In-Reply-To: <5371faa5-da82-0f2a-344a-68322331b279@gmail.com> (message from A M on Sun, 25 Jul 2021 12:07:07 +0200)

> From: A M <alex334599@gmail.com>
> Date: Sun, 25 Jul 2021 12:07:07 +0200
> 
> 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?

I cannot reproduce the problem you are reporting: the above works for
me in Emacs 27 (and in Emacs 28).  The "..." is replaced with the
arrow character.

Just to be sure: to test this you invoke "C-x $" with a numeric
argument that determines the column past which you want to have the
ellipsis, yes?

I suggest to try this in "emacs -Q"; if it works there, there are some
customizations of yours that get in the way.



  reply	other threads:[~2021-07-25 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25 10:07 Emacs 27 - Changing the "selective display character" (also called "ellipsis") A M
2021-07-25 13:51 ` Eli Zaretskii [this message]
2021-07-26 10:42   ` A M
2021-07-26 13:00     ` Eli Zaretskii
2021-07-26 15:01       ` A M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pmv6wlfs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.