|
From: | Mariano Montone |
Subject: | Re: [ELPA] New package: progress-bar |
Date: | Tue, 29 Oct 2024 13:19:56 -0300 |
User-agent: | Mozilla Thunderbird |
El 29/10/24 a las 12:48, Mariano Montone escribió:
Ideally, in my opinion, it would be good to make the progress-report object a bit more complex, contain more information.Generally it would be neat if we could find a solution that would avoid the need for advice, but I don't see a clean way to do that right now. Would you be interested in preparing a patch for subr.el that would make progress-reporters more flexible?Yes, but I would need more precise explanations from you on your idea of how to do it.
Probably switch from its list representation to a struct or class, and make it more similar to what I have in the progress-bar class.
Keep backwards compatibility in the process.Then divide model from user interface representation, and make it pluggable. So those new objects could be displayed via a progress-bar, or with current progress-reporters ui, or something else.
Mariano
[Prev in Thread] | Current Thread | [Next in Thread] |