all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: "N. Jackson" <nljlistbox2@gmail.com>, 27170@debbugs.gnu.org
Subject: bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
Date: Thu, 20 Aug 2020 18:34:28 +0200	[thread overview]
Message-ID: <CAArVCkSj4amqPQQ3btbqdchsf_rLWOTrKU8nOzQS27qmaKVgvg@mail.gmail.com> (raw)
In-Reply-To: <87k0xtqozx.fsf@gnus.org>

Am Do., 20. Aug. 2020 um 18:09 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> nljlistbox2@gmail.com (N. Jackson) writes:
>
> > When installing/updating packages a lot of messages are generated.
> > These clutter up the *Messages* buffer and make it hard to find
> > recent messages from before the package operation.
> >
> > Worse, they often cause truncation of the *Messages* buffer so
> > that recent messages from just before the package operation are
> > deleted.
>
> Yeah, that doesn't sound ideal...
>
> > A potential solution to this would be, optionally, to have the package
> > build output go to a log file instead of to the *Messages* buffer. Only
> > the summary messages (number of packages updated, success in updating
> > them etc.) need be written to *Messages*.
>
> I don't think we'd actually want to write this to a log file, but there
> could be a different log buffer.
>
> To implement that, we'd need to export Vmessages_buffer_name to Lisp
> Land (I think?), and we could then just rebind the variable to something
> else before doing the package builds.
>
> I think exporting the variable to Lisp Land sounds useful, in any case.
>
> Any opinions here?


I don't think we can rename the *Messages* buffer. We document that
its name is *Messages*, and there's certainly tons of code around that
assumes that.
If we want to change anything in this area, we'd better DTRT and
introduce a proper logging framework, with customizable log sources
and sinks (the *Messages* buffer being one of the sinks).





  reply	other threads:[~2020-08-20 16:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 16:51 bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages* N. Jackson
2020-08-20 16:08 ` Lars Ingebrigtsen
2020-08-20 16:34   ` Philipp Stephani [this message]
2020-08-20 16:43     ` Lars Ingebrigtsen
2020-08-20 17:38   ` Stefan Kangas
2020-08-21 11:09     ` Lars Ingebrigtsen
2020-08-22  3:51       ` Richard Stallman
2022-01-29 16:24         ` Lars Ingebrigtsen
2022-01-29 17:30           ` Eli Zaretskii
2022-01-30 15:52             ` Lars Ingebrigtsen
2022-01-30 16:48               ` Eli Zaretskii
2020-08-22 11:29       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkSj4amqPQQ3btbqdchsf_rLWOTrKU8nOzQS27qmaKVgvg@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=27170@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=nljlistbox2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.