[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 27 - Changing the "selective display character" (also called "
Re: Emacs 27 - Changing the "selective display character" (also called "ellipsis")
Mon, 26 Jul 2021 12:42:41 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1
Sorry, there was one thing I forgot to mention which is a requirement
for the problem to appear.
I have also enabled automatic byte-compilation, using the following line
of lisp code:
;; Automatic byte-compilation when starting emacs.
(byte-recompile-directory (expand-file-name "~/.emacs.d") 0)
A minimal emacs dotfile that demonstrates my described problem is thus
the code snippet I gave in the first message combined with the one
above. (I am checking that myself right now.) It is when an init.elc has
been generated I get this error specifically in Emacs 27.
I will attach the error message I get in Emacs and also the stack trace
from 'emacs --debug-init', please see the attached file.
Eli, yes you guess correctly. invoke "C-x $" with a numeric argument on
init.el as a way of testing.
On 7/25/21 3:51 PM, Eli Zaretskii wrote:
From: A M <email@example.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
;Change the default selective display ("folding") character "..." to " »".
'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
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
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
I suggest to try this in "emacs -Q"; if it works there, there are some
customizations of yours that get in the way.
Description: Text document