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: Re: Emacs 27 - Changing the "selective display character" (also called "ellipsis") Date: Mon, 26 Jul 2021 12:42:41 +0200 Message-ID: <43a9583a-2811-3080-7fc0-414444350421@gmail.com> References: <5371faa5-da82-0f2a-344a-68322331b279@gmail.com> <83pmv6wlfs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E9AC548F2201386C8939C62C" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12332"; 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 Mon Jul 26 12:44:40 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 1m7y6A-0002us-IE for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 26 Jul 2021 12:44:38 +0200 Original-Received: from localhost ([::1]:48180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7y69-0002YU-GF for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 26 Jul 2021 06:44:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7y4N-0000sa-QX for help-gnu-emacs@gnu.org; Mon, 26 Jul 2021 06:42:47 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:34593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7y4L-0002RP-Va for help-gnu-emacs@gnu.org; Mon, 26 Jul 2021 06:42:47 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id z2so14670955lft.1 for ; Mon, 26 Jul 2021 03:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=uBHCzBHCoCXlEP0RyB61CwSeuMJ39wQ0Ia5/42SfcLM=; b=ezlpVzmd5CsHkpKCm9xBzHlO5qCJDq1EbuBxTWvGZ19GnOafs6x2XF3xVkxZMWLWi/ J2vqV/oeFMbBRYnFcqSnB+OuSpgc9XV0OUecoewRozO71LmWgfCXZ54zhdgmNGDgG7M3 hjwgHbs+AMI9pLtXlGO6eDSs2Vyb8iOcpinon6X0/ebmeCeQW3P1O1u0RzzR3njd4ckN jk591O+arZEHMkiryLNaqIUR535+cj6fMphWHD7ofigda17PHTQrj9oiC+fwCd/csLJh tv7NwpuAnP55TShqmfZTh3vTaZvZ/ostnArwCLzwyfa7/SXEg+4JpjpVmrW5jtZf+OXU QcWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=uBHCzBHCoCXlEP0RyB61CwSeuMJ39wQ0Ia5/42SfcLM=; b=pYkOSGx4PmJtH+rgNaSBPHsfHNJIEeSTujOip0j2qewqmRtrYb/Ja2xxCB7f4SkxNf qVJ4YnApZ0M/5wkMX3oNWNfLVAaQmYFGqIq56TtRZOMa282o5/6zSo9X5i+CGesHjEKB cCGjru0MPpws8F7s48XkF93JZuDjVVy/jsv8TREIO2u3n5X5DtHIlo+xRGS7YzGwNb4X dFVmHaXwxHlhXildikbcUl/M+U+doXdp0UAr3/uP2ohh+jjSNJhsb9inPaI6pASjSeBh /lq1jroD8iij7crZuHuov+8+v8m/FN7J99ObWQwWuLYd+dyiGtWBnRG0THjMc4WOsNTg UiEg== X-Gm-Message-State: AOAM530bXyrOskGQdLTIYPB4jGcxTCYyXM+xtvPGiPRFz4iLNQCtJRji 32TALWdQrdO9A1WOdd8ALasnBbKebtJYIA== X-Google-Smtp-Source: ABdhPJxpEEo2OdL6KrAOv18R443HT83kWP4exNqejjUhxmjecb1GLIKn+Qwfd6HtzPL8ET1gh1OZNQ== X-Received: by 2002:a05:6512:404:: with SMTP id u4mr12105876lfk.40.1627296163300; Mon, 26 Jul 2021 03:42:43 -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 r11sm2845049ljp.135.2021.07.26.03.42.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 03:42:42 -0700 (PDT) In-Reply-To: <83pmv6wlfs.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=alex334599@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 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, NICE_REPLY_A=-0.438, 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:132110 Archived-At: This is a multi-part message in MIME format. --------------E9AC548F2201386C8939C62C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello 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 >> 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. > --------------E9AC548F2201386C8939C62C Content-Type: text/plain; charset=UTF-8; name="error-message_and_stack-trace.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="error-message_and_stack-trace.txt" Cldhcm5pbmcgKGluaXRpYWxpemF0aW9uKTogQW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgbG9h ZGluZyDigJgvaG9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