From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A M Newsgroups: gmane.emacs.help Subject: Emacs 27 - Changing the "selective display character" (also called "ellipsis") Date: Sun, 25 Jul 2021 12:07:07 +0200 Message-ID: <5371faa5-da82-0f2a-344a-68322331b279@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28280"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 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 12:07:43 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 1m7b2s-0007Bg-Dh for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 12:07:42 +0200 Original-Received: from localhost ([::1]:36360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7b2r-0006Bu-FR for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 06:07:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7b2O-0006BY-Ur for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 06:07:13 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:44689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7b2N-0005hC-A7 for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 06:07:12 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id a26so9795145lfr.11 for ; Sun, 25 Jul 2021 03:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=WsqYwaRiR/ByrTbN1uifN58nmlyPLSQ75zvN9L7O9KY=; b=j68w+S/iHqXFDjoIRmrEZ53FocVlNg1kngLF5DIoon/F2H6GAEXrFxtf9oxwrfDLA8 A0GALzGRiqAtXf0dGWEgLiERraRwXr77OZSJJ4aO4mkDryxJ8zvA/dhrZOjoFHj81MBU qwjX42jnHZCZtYYHezj6/DWqC7fwsbwpHI6LIGqMGBzSjOfc3vtptl6Qc+5yoJhR5C+N SF2lAi8upU5gtG8V9VqITRxqLMkpehurW3y3AKA3rCHZo99eBwwK+0djskIzKbc5JK3D EKaWwlE35kPGBPeec49v1xYhCvaHQ9wOEcwF88rpeSXvK4siThNUswOyAoE+Z2toFjXW t3Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=WsqYwaRiR/ByrTbN1uifN58nmlyPLSQ75zvN9L7O9KY=; b=h8z4Rn4YyfDJ7Vyy92piPTSvpHYhTJA5h4TtR/s/uVxUd4SdKFRvURgbHnMaqF4JNa Nh8X5HMyBBPo0iDKo4YQDsNt/+MG5pjmrYYoyTPXuBH3UTZXBCVRpvyn6cwN6AuLuIZ8 pIL1QA9dtHoI7zWtsnUqAQm6/vMOcEzDqcn4pjO7NKnEn+efNBz1KVtTd4DIfhSkFpmC 7D0TfedePcI/lmTmsLIIVlpA4YExvzetrl+DN3QBLU0Q/FsKgHQDBvQVWSSnHQRc3uci QyFh/PM6JejavjtbL5UK0wL+wQXs5EOo6w/Ysy82filzVTk41TO3rLum7E7lkepMu9wv hIMw== X-Gm-Message-State: AOAM533LwFzhbbUu+OGp3ppsOn8sDbKVRYdxziG+h4ji4+QSOo7cvZBS uph2yaKdTrJnF2vkCJnmF+5uYwO5ul+rpw== X-Google-Smtp-Source: ABdhPJz3nQ69izoGFPUfgWH4PVj7n0uvlWatg9Hde1HZu5VCxR685+KIq88DzweDiyQFzEz4xiKMDg== X-Received: by 2002:a05:6512:3056:: with SMTP id b22mr8968067lfb.339.1627207628845; Sun, 25 Jul 2021 03:07:08 -0700 (PDT) Original-Received: from alpha2.localdomain (31-208-129-129.cust.bredband2.com. [31.208.129.129]) by smtp.googlemail.com with ESMTPSA id m5sm3237035ljq.22.2021.07.25.03.07.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jul 2021 03:07:08 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=alex334599@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:132097 Archived-At: 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