From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64536: 30.0.50; Make cl-print put buttons on ellipses Date: Mon, 14 Aug 2023 15:15:40 +0000 Message-ID: <874jl1psdf.fsf@localhost> References: <87msyyt3oo.fsf@localhost> <87sf8o3b8i.fsf@localhost> <87v8djjnse.fsf@localhost> <87ttt1q45b.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gemini Lasswell , 64536@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 14 17:16:44 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 1qVZJD-0001Ix-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Aug 2023 17:16:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVZIb-0006Sl-Ui; Mon, 14 Aug 2023 11:16:19 -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 1qVZIY-0006RR-31 for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 11:16:02 -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 1qVZIX-0000hh-RH for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 11:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVZIX-0002JC-Ls for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 11:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Aug 2023 15:16:01 +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.16920261274034 (code B ref 64536); Mon, 14 Aug 2023 15:16:01 +0000 Original-Received: (at 64536) by debbugs.gnu.org; 14 Aug 2023 15:15:27 +0000 Original-Received: from localhost ([127.0.0.1]:34194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVZHy-0000zY-5u for submit@debbugs.gnu.org; Mon, 14 Aug 2023 11:15:27 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:44815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVZHs-0000Sg-A0 for 64536@debbugs.gnu.org; Mon, 14 Aug 2023 11:15:25 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8AD8924002B for <64536@debbugs.gnu.org>; Mon, 14 Aug 2023 17:15:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692026114; bh=D767ygp2vVBemUt0k7Z/j1UDS4bxHraUOt7rltDtIAQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=oRusFZKOgn/2AmGjlLzT9PChKDx4d07IbikrgDgSmgpPn8fXb/Rw/N++5W5AA5R27 k5IMMeF3rWL6x7UG9Wiidml0zzNuawcAlVFb+QCkjqRySL9LjbIcuMb0vwRlczGni/ YIDeUzF7clZwyrCSiVUBKUKStxpxCfmsP6HVChdR2Ulo1cvjjCnMOhpl2yQq4CxHWQ crKPsmWNn+NB6HwmR13HhVonkt1Jv3LjvjNLyGvUxDpTMukgBaRZ9vJbsWlbjq67+r JwEHB2/eTSJXeE4R5Et6sRVeQrjGqxwMIc0wGGGlB5jJ2War2xQ+MbE5kfuRY+3mtf hZNBlyw4o2GCA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPdHj5dkKz9rxD; Mon, 14 Aug 2023 17:15:13 +0200 (CEST) In-Reply-To: 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:267430 Archived-At: Stefan Monnier writes: >> I am not sure if this can be done on byte compiler level. > > Not sure either. A compiler-macro placed on `make-text-button` and > `make-button` could look for a `:type` arg and check its obsolescence, > but I don't know how effective it would be. Maybe not that bad. Of course, it will miss :type values not known at compile time, but it is the same issue even with ordinary obsolete variables/functions that are used not by their literal name. >> For runtime, after skimming through button.el, it looks like >> `button-category-symbol' might be used to throw a warning when obsolete >> button type is being used. > > Runtime check are easier and more reliable, indeed, but also more > annoying and directed at the wrong person :-( Makes sense. Although, they can be useful for maintainers if such checks can be enabled explicitly, by flipping a variable. We used such approach for org-element--cache-self-verify. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at