From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
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
Message-ID:
References: <87fuflm0ky.fsf@moondust.localdomain> <87k0xtqozx.fsf@gnus.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="26766"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: "N. Jackson" , 27170@debbugs.gnu.org
To: Lars Ingebrigtsen
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 18:35:11 2020
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1k8nWx-0006mz-BY
for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 18:35:11 +0200
Original-Received: from localhost ([::1]:50554 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1k8nWw-000864-2I
for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 12:35:10 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58166)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1k8nWo-00085v-3f
for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 12:35:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:60427)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1k8nWn-0002iD-Q8
for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 12:35:01 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1k8nWn-0006b4-M6
for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 12:35:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 20 Aug 2020 16:35:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 27170
X-GNU-PR-Package: emacs
Original-Received: via spool by 27170-submit@debbugs.gnu.org id=B27170.159794128725330
(code B ref 27170); Thu, 20 Aug 2020 16:35:01 +0000
Original-Received: (at 27170) by debbugs.gnu.org; 20 Aug 2020 16:34:47 +0000
Original-Received: from localhost ([127.0.0.1]:43740 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1k8nWY-0006aU-Mr
for submit@debbugs.gnu.org; Thu, 20 Aug 2020 12:34:46 -0400
Original-Received: from mail-oo1-f41.google.com ([209.85.161.41]:34022)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1k8nWX-0006aG-Cg
for 27170@debbugs.gnu.org; Thu, 20 Aug 2020 12:34:46 -0400
Original-Received: by mail-oo1-f41.google.com with SMTP id k63so555580oob.1
for <27170@debbugs.gnu.org>; Thu, 20 Aug 2020 09:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=qQFjOSZyOyPUfUGYpD7SLVsipx9ioHvPkBnp9c7qUlo=;
b=usWxyAx+eR+xVWCsNCnC9563a/J3skU1EEAX9LQOzzMaRE/kFaFy569SigUmoIpF7q
PdNxPc2ao3iOELi47nh3qz1wW3KzQE3SyvOJGGG2BjWlwp6KVgUEF/A3wma8vdlB2j24
S3/MMMwCVFJkgQYucTLw90oa9V6io16yBw6PVGKkrkNstsbu2IJ0zNn8mAH3G/DHOcYV
+5+CDxNjRDSITIadZyiFfulNgXu8HvVeLcMGPFReLIOU7chu8oV1ak2Rm01RRyIAgD7k
bYn2iSSqyv4BcQb2VIg1t09fVZmAD4KcN5reukyE/5cotbWVXFt056nnePXx6/JJk5tK
v2uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=qQFjOSZyOyPUfUGYpD7SLVsipx9ioHvPkBnp9c7qUlo=;
b=RMMbSFKRSgabkwbwDpQgRu4xVYdmH6NZOyz5I2MiIx5cGJiHOnlt8+i/sfEG2BMQRa
A8zQzKBP8LM50q2sXF3SkKksR0VfMJ4ffqCB1pOm3how2dZ6LVJLrS06LF9AEqOeLqqP
7zmzCZAo4eFhSrCyE58dJiC1FMR0q5+XyHt/MjzyUEZcQxrWXzxWDblhJ/Lx28TXTFgC
fUnUgwixo9yJsH0kfhTXJFy0PeVbRq6o4SrUzzTsM84WNmRWNWfgmTScBUMrfAY0m1uY
F7SHn5sMxRLup9RRv6BcZMR1sB+VZpDaatSICMsWZL4CBnGko6ClBWm25PReKPG5LAz2
KqBA==
X-Gm-Message-State: AOAM530jUbhXc52BWqkhvBDcYIHgCH5QHPQd0GyM0uCIenoTzCCreTWl
iiB5ISjEEj9CCYV8j/E4b0Yz9b21pINzo0CYPuc=
X-Google-Smtp-Source: ABdhPJyv8nx5Wx73ycvQDkrTiFClj5FEl8ioJ3H9lOAP2Rqe9oc2gP591zeG+QFQxMxy6BfiFxTjSma8xNGCzlUDl8U=
X-Received: by 2002:a4a:c587:: with SMTP id x7mr3070856oop.60.1597941279624;
Thu, 20 Aug 2020 09:34:39 -0700 (PDT)
In-Reply-To: <87k0xtqozx.fsf@gnus.org>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:185721
Archived-At:
Am Do., 20. Aug. 2020 um 18:09 Uhr schrieb Lars Ingebrigtsen :
>
> 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).