From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64536: 30.0.50; Make cl-print put buttons on ellipses Date: Sun, 13 Aug 2023 12:02:13 -0400 Message-ID: References: <87msyyt3oo.fsf@localhost> <87sf8o3b8i.fsf@localhost> <87v8djjnse.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9152"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gemini Lasswell , 64536@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 13 18:03:19 2023 Return-path: Envelope-to: geb-bug-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 1qVDYl-00029O-Dq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Aug 2023 18:03:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVDYb-0006GU-Be; Sun, 13 Aug 2023 12:03:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVDYU-0006EJ-SB for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 12:03:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVDYU-0004qp-HJ for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 12:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVDYU-0005TZ-2y for bug-gnu-emacs@gnu.org; Sun, 13 Aug 2023 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Aug 2023 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64536 X-GNU-PR-Package: emacs Original-Received: via spool by 64536-submit@debbugs.gnu.org id=B64536.169194254420998 (code B ref 64536); Sun, 13 Aug 2023 16:03:02 +0000 Original-Received: (at 64536) by debbugs.gnu.org; 13 Aug 2023 16:02:24 +0000 Original-Received: from localhost ([127.0.0.1]:60124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVDXs-0005Sc-4J for submit@debbugs.gnu.org; Sun, 13 Aug 2023 12:02:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVDXq-0005SN-3q for 64536@debbugs.gnu.org; Sun, 13 Aug 2023 12:02:23 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BE490441CFE; Sun, 13 Aug 2023 12:02:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1691942534; bh=9nTw1ks0jb8VYm3aCpba9BUAEcLly/FO/Zt3GSlWzTA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=a1o1IKEpl6C4Bwui33XO6JW3ytSLmE/jQAy0+IO1EQMr9FR9FgPb5+p8KITvA1kXV 4U+WP1D4tis7Y7jQ+8W1LUlH/6Fqc2zWO250USfLqpvYwDGcKeJVa38xmI30mo656W uJCEkZQG4a7Bx3wrrxq1hOHt8QBSgWqfvHEPkQoRnKw4DeBgbUzsonZyxDaAi9NP2Q G3GVRYpGp3tEwlcDP3kx+xAI2wIu4pRR7O0r2SaV6fvwjtX/si7hciUDwpO8YA6qqr glsuH5d+t2gKZJR+lfKPV307ti4qnw4rXKOUjbUA4Bv836vrgyhKXuWbQesgwLwzP1 9GY/fKjKufSKg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 599FD441CDA; Sun, 13 Aug 2023 12:02:14 -0400 (EDT) Original-Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 302481202FD; Sun, 13 Aug 2023 12:02:14 -0400 (EDT) In-Reply-To: <87v8djjnse.fsf@localhost> (Ihor Radchenko's message of "Sun, 13 Aug 2023 09:26:41 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267369 Archived-At: >> That's also what I thought at first, but the case of `inspect.el` made >> me realize that it's likely that just letting them use >> `backtrace-ellipsis` button is often not the right solution anyway. > I am pretty sure that some uses of `backtrace-ellipsis' have nothing to > do with printing Elisp values. Could you expand on what makes you think so? I grepped for it in Melpa and couldn't find any use of it at all, FWIW. > At least, there is no reason why they should be limited to. It was rather tightly integrated with `cl-print`, tho: the button called `backtrace-expand-ellipsis` which itself looked for a `cl-print-ellipsis` text-property and called `cl-print-to-string-with-limit` and `cl-print-expand-ellipsis` on it. >>> May it be possible to create an obsolete alias for this button type? >> And I don't think we have such aliases. > May it be added? Patch welcome (especially if it comes together with some kind of obsolescence mechanism). Stefan