* Updating information in the mode-line
@ 2022-10-25 12:06 Christopher Dimech
2022-10-25 13:08 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-25 16:02 ` [External] : " Drew Adams
0 siblings, 2 replies; 4+ messages in thread
From: Christopher Dimech @ 2022-10-25 12:06 UTC (permalink / raw)
To: Help Gnu Emacs
Is it possible to update the printing text in the mode-line, without leaving
a long list of printed text in the *Messages* buffer? What I have in mind is
the possibility of having a progress indicator on status message for emacs
processes that can take some serious time to complete.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Updating information in the mode-line
2022-10-25 12:06 Updating information in the mode-line Christopher Dimech
@ 2022-10-25 13:08 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-25 16:02 ` [External] : " Drew Adams
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2022-10-25 13:08 UTC (permalink / raw)
To: help-gnu-emacs
> Is it possible to update the printing text in the mode-line, without leaving
> a long list of printed text in the *Messages* buffer?
Of course, but maybe I misunderstand the question, because AFAIK it's
rather unusual for text from the mode-line (or changes to it) to appear
in `*Messages*`.
> What I have in mind is the possibility of having a progress indicator
> on status message for Emacs processes that can take some serious time
> to complete.
We usually use `(make-)progress-reporter(-update|-done)`
for that.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : Updating information in the mode-line
2022-10-25 12:06 Updating information in the mode-line Christopher Dimech
2022-10-25 13:08 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2022-10-25 16:02 ` Drew Adams
2022-10-25 17:36 ` Heime
1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2022-10-25 16:02 UTC (permalink / raw)
To: Christopher Dimech, Help Gnu Emacs
> Is it possible to update the printing text in the mode-line, without leaving
> a long list of printed text in the *Messages* buffer? What I have in mind is
> the possibility of having a progress indicator on status message for emacs
> processes that can take some serious time to complete.
Do you perhaps mean echo area instead of mode-line?
If so, just bind `message-log-max' to nil around
your calls to `message'.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : Updating information in the mode-line
2022-10-25 16:02 ` [External] : " Drew Adams
@ 2022-10-25 17:36 ` Heime
0 siblings, 0 replies; 4+ messages in thread
From: Heime @ 2022-10-25 17:36 UTC (permalink / raw)
To: Drew Adams; +Cc: Christopher Dimech, Help Gnu Emacs
------- Original Message -------
On Tuesday, October 25th, 2022 at 4:02 PM, Drew Adams <drew.adams@oracle.com> wrote:
> > Is it possible to update the printing text in the mode-line, without leaving
> > a long list of printed text in the Messages buffer? What I have in mind is
> > the possibility of having a progress indicator on status message for emacs
> > processes that can take some serious time to complete.
>
>
> Do you perhaps mean echo area instead of mode-line?
> If so, just bind `message-log-max' to nil around your calls to` message'.
You are right actually, the echo area. When I call message the last line
is shown as if I am using the minibuffer prompt.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-25 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25 12:06 Updating information in the mode-line Christopher Dimech
2022-10-25 13:08 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-25 16:02 ` [External] : " Drew Adams
2022-10-25 17:36 ` Heime
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.