From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 27 - Changing the "selective display character" (also called "ellipsis") Date: Sun, 25 Jul 2021 16:51:51 +0300 Message-ID: <83pmv6wlfs.fsf@gnu.org> References: <5371faa5-da82-0f2a-344a-68322331b279@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33665"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 25 15:52:27 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7eYM-0008dB-GE for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 15:52:26 +0200 Original-Received: from localhost ([::1]:34426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7eYL-0001Kw-4w for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 09:52:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7eY0-0001KU-V9 for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:52:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37654) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7eY0-0003Pz-Nw for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:52:04 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3773 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7eXz-0004Vq-DA for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:52:04 -0400 In-Reply-To: <5371faa5-da82-0f2a-344a-68322331b279@gmail.com> (message from A M on Sun, 25 Jul 2021 12:07:07 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132100 Archived-At: > From: A M > 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.