Re: master e4df903f6b5 2/2: ; Fix last change
Stéphane Marks <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <CAN+1Hbrzjm7J9KNL+XY=Ts9NJNiU6HX6u-g59Xv0f18hJ_kcQQ@mail.gmail.com> |
On Thu, Jul 23, 2026 at 11:24 AM Michael Albinus <[email protected]> wrote: > Stefan Monnier <[email protected]> writes: > > Hi Stefan, > > >> * lisp/net/tramp.el (with-tramp-progress-reporter): > >> Deactivate `progress-reporter-echo-area' when calling > >> `progress-reporter-done'. We call `tramp-message' instead. > > [...] > >> + (when (and tm pr) > >> + (cancel-timer tm) > >> + (cl-letf (((symbol-function #'progress-reporter-echo-area) > >> + #'ignore)) > >> + (progress-reporter-done pr))) > > > > Yuck. > > Could you, pls, be more verbose? > Perhaps Stefan meant to suggest that we could override progress-reporter-update-functions (new in Emacs 31) if we want to inhibit some or all reporter output functions. Not that I'm an expert with the double message problem you're trying to solve for and if it's really that important.