GNU bug report logs - #64536
30.0.50; Make cl-print put buttons on ellipses

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 9 Jul 2023 04:44:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Gemini Lasswell <gazally <at> runbox.com>, 64536 <at> debbugs.gnu.org
Subject: bug#64536: 30.0.50; Make cl-print put buttons on ellipses
Date: Mon, 14 Aug 2023 10:07:14 -0400
>>>>> 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





This bug report was last modified 1 year and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.