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: Mon, 14 Aug 2023 10:07:14 -0400 Message-ID: References: <87msyyt3oo.fsf@localhost> <87sf8o3b8i.fsf@localhost> <87v8djjnse.fsf@localhost> <87ttt1q45b.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="1451"; 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 Mon Aug 14 16:08: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 1qVYF1-00008T-LE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Aug 2023 16:08:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVYEm-0008Tf-1k; Mon, 14 Aug 2023 10:08:04 -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 1qVYEk-0008QB-MP for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 10:08: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 1qVYEk-000103-Dk for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVYEj-0006UZ-Tw for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 10:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Aug 2023 14:08: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.169202205024918 (code B ref 64536); Mon, 14 Aug 2023 14:08:01 +0000 Original-Received: (at 64536) by debbugs.gnu.org; 14 Aug 2023 14:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:34096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVYED-0006Tq-JI for submit@debbugs.gnu.org; Mon, 14 Aug 2023 10:07:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVYEB-0006Ta-Po for 64536@debbugs.gnu.org; Mon, 14 Aug 2023 10:07:28 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0A8961000EF; Mon, 14 Aug 2023 10:07:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692022037; bh=b2tN+rpp7WAPcngt8y8p1ZG5zA7llo3SuOzxLQkk468=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CLWq7SAS9ty3gAggCdXOpKCCFcNaW7G11p30YYtYSFi+lukdsPUXLlDPkCGvPXPkS ZuTtjlzWlhOMYcJsQsj2uDqEMthhIdJxhGSnMzfE8Dqv93VPiIJvSw8a8Qiy/iIe1G 4KzarbnQ7/muIzg6c8n9lmqBGuqI8P9e0tvdLZghR8pzYqp1wtO2IO9XNjmJX205h1 s7l6A16xhI0wzJTLJOUMRw+eoq4UX8siJX07E6Jen2eDA6ee/extnYbIQenXtNkULW srWMpz161GFiWm8tAirLOMIJlseNDDmygDlDtG/BVrBTzdHtb9SgxGJU7CPkrWPX5S sSPzoF4wYe8Qg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0174E1000AD; Mon, 14 Aug 2023 10:07:17 -0400 (EDT) Original-Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D0B1D12032D; Mon, 14 Aug 2023 10:07:16 -0400 (EDT) In-Reply-To: <87ttt1q45b.fsf@localhost> (Ihor Radchenko's message of "Mon, 14 Aug 2023 11:01:20 +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:267419 Archived-At: >>>>> 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). > 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. > 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 :-( Stefan