emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: progress-bar


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ó:
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.

Ideally, in my opinion, it would be good to make the progress-report object a bit more complex, contain more information.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]