unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
@ 2017-05-31 16:51 N. Jackson
  2020-08-20 16:08 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: N. Jackson @ 2017-05-31 16:51 UTC (permalink / raw)
  To: 27170

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.

And worse yet, when one wants to inspect the output from package
builds, it is often incomplete in the *Messages* buffer because
there was so much output that the earlier output was lost.

Setting `messages-buffer-max-lines' to a larger value is a
potential work-around, but it is unclear ahead of time how large
to set it. For example, if say Auctex and Org both get updated at
the same time the amount of output from package is very
large.


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*.


In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.15)
 of 2017-05-31 built on moondust.localdomain
Repository revision: a415c8bccb917c247792c4ce8e77b2512b3414d6
Windowing system distributor 'Fedora Project', version 11.0.11903000
System Description:	Fedora release 25 (Twenty Five)

Configured using:
 'configure --without-pop --enable-check-lisp-object-type 'CFLAGS=-O0
 -g3 -ggdb''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11

Important settings:
  value of $LANG: en_CA.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  TeX-PDF-mode: t
  diff-auto-refine-mode: t
  pdf-occur-global-minor-mode: t
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  display-battery-mode: t
  display-time-mode: t
  show-paren-mode: t
  savehist-mode: t
  save-place-mode: t
  electric-pair-mode: t
  desktop-save-mode: t
  cl-old-struct-compat-mode: t
  delete-selection-mode: t
  cua-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-contacts hides ~/.emacs.d/modules/org-contacts
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-habit hides /data/projects/vc/emacs/git/emacs/lisp/org/org-habit
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-python hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-python
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-clojure hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-clojure
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-md hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-md
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-macs hides /data/projects/vc/emacs/git/emacs/lisp/org/org-macs
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-odt hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-odt
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-texinfo hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-texinfo
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-protocol hides /data/projects/vc/emacs/git/emacs/lisp/org/org-protocol
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-io hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-io
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-list hides /data/projects/vc/emacs/git/emacs/lisp/org/org-list
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-scheme hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-scheme
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob hides /data/projects/vc/emacs/git/emacs/lisp/org/ob
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-docview hides /data/projects/vc/emacs/git/emacs/lisp/org/org-docview
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-latex hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-latex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-html hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-html
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-ctags hides /data/projects/vc/emacs/git/emacs/lisp/org/org-ctags
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-src hides /data/projects/vc/emacs/git/emacs/lisp/org/org-src
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-octave hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-octave
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-w3m hides /data/projects/vc/emacs/git/emacs/lisp/org/org-w3m
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-bibtex hides /data/projects/vc/emacs/git/emacs/lisp/org/org-bibtex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-info hides /data/projects/vc/emacs/git/emacs/lisp/org/org-info
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-beamer hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-beamer
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-maxima hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-maxima
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-table hides /data/projects/vc/emacs/git/emacs/lisp/org/org-table
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-R hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-R
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-publish hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-publish
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-mscgen hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-mscgen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-scala hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-scala
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-keys hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-keys
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-css hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-css
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-haskell hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-haskell
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-picolisp hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-picolisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-timer hides /data/projects/vc/emacs/git/emacs/lisp/org/org-timer
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-feed hides /data/projects/vc/emacs/git/emacs/lisp/org/org-feed
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-emacs-lisp hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-emacs-lisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-mhe hides /data/projects/vc/emacs/git/emacs/lisp/org/org-mhe
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-exp hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-exp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-rmail hides /data/projects/vc/emacs/git/emacs/lisp/org/org-rmail
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-attach hides /data/projects/vc/emacs/git/emacs/lisp/org/org-attach
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-lilypond hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-lilypond
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-version hides /data/projects/vc/emacs/git/emacs/lisp/org/org-version
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-makefile hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-makefile
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-sql hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-sql
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-lob hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-lob
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-java hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-java
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-loaddefs hides /data/projects/vc/emacs/git/emacs/lisp/org/org-loaddefs
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-element hides /data/projects/vc/emacs/git/emacs/lisp/org/org-element
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-id hides /data/projects/vc/emacs/git/emacs/lisp/org/org-id
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-crypt hides /data/projects/vc/emacs/git/emacs/lisp/org/org-crypt
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org hides /data/projects/vc/emacs/git/emacs/lisp/org/org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-plot hides /data/projects/vc/emacs/git/emacs/lisp/org/org-plot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-ruby hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-ruby
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-matlab hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-matlab
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-ditaa hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-ditaa
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-irc hides /data/projects/vc/emacs/git/emacs/lisp/org/org-irc
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-gnus hides /data/projects/vc/emacs/git/emacs/lisp/org/org-gnus
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-C hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-C
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-comint hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-comint
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-colview hides /data/projects/vc/emacs/git/emacs/lisp/org/org-colview
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-tangle hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-tangle
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-dot hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-dot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-mobile hides /data/projects/vc/emacs/git/emacs/lisp/org/org-mobile
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-eshell hides /data/projects/vc/emacs/git/emacs/lisp/org/org-eshell
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-sass hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-sass
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-gnuplot hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-gnuplot
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-icalendar hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-icalendar
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-man hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-man
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-capture hides /data/projects/vc/emacs/git/emacs/lisp/org/org-capture
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-plantuml hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-plantuml
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-footnote hides /data/projects/vc/emacs/git/emacs/lisp/org/org-footnote
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-clock hides /data/projects/vc/emacs/git/emacs/lisp/org/org-clock
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-js hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-js
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-latex hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-latex
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-ascii hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-ascii
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-ref hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-ref
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-ocaml hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-ocaml
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-agenda hides /data/projects/vc/emacs/git/emacs/lisp/org/org-agenda
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-indent hides /data/projects/vc/emacs/git/emacs/lisp/org/org-indent
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-core hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-core
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-pcomplete hides /data/projects/vc/emacs/git/emacs/lisp/org/org-pcomplete
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-datetree hides /data/projects/vc/emacs/git/emacs/lisp/org/org-datetree
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-ledger hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-ledger
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-shen hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-shen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-entities hides /data/projects/vc/emacs/git/emacs/lisp/org/org-entities
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-macro hides /data/projects/vc/emacs/git/emacs/lisp/org/org-macro
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-mouse hides /data/projects/vc/emacs/git/emacs/lisp/org/org-mouse
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-sqlite hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-sqlite
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox-org hides /data/projects/vc/emacs/git/emacs/lisp/org/ox-org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-screen hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-screen
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-asymptote hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-asymptote
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-eval hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-eval
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-archive hides /data/projects/vc/emacs/git/emacs/lisp/org/org-archive
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ox hides /data/projects/vc/emacs/git/emacs/lisp/org/ox
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-org hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-org
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-perl hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-perl
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-faces hides /data/projects/vc/emacs/git/emacs/lisp/org/org-faces
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-bbdb hides /data/projects/vc/emacs/git/emacs/lisp/org/org-bbdb
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-compat hides /data/projects/vc/emacs/git/emacs/lisp/org/org-compat
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-lisp hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-lisp
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-install hides /data/projects/vc/emacs/git/emacs/lisp/org/org-install
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-awk hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-awk
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-calc hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-calc
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/org-inlinetask hides /data/projects/vc/emacs/git/emacs/lisp/org/org-inlinetask
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-table hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-table
/home/nlj/.emacs.d/elpa/org-plus-contrib-20170515/ob-fortran hides /data/projects/vc/emacs/git/emacs/lisp/org/ob-fortran
/home/nlj/.emacs.d/elpa/soap-client-3.1.2/soap-client hides /data/projects/vc/emacs/git/emacs/lisp/net/soap-client
/home/nlj/.emacs.d/elpa/soap-client-3.1.2/soap-inspect hides /data/projects/vc/emacs/git/emacs/lisp/net/soap-inspect

Features:
(shadow bbdb-message emacsbug sendmail sort smiley gnus-cite gnus-async
gnus-bcklg qp mail-extr gnus-ml nnrss mm-url nndraft nnmh utf-7 epa-file
nnfolder bbdb-gnus bbdb-mua nnnil gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache cl-print w32-vars dos-vars
woman tutorial man info-look help-macro help-fns help-at-pt apropos
windmove whitespace vcursor ruler-mode reveal repeat org-protocol linum
ido hl-line hippie-exp follow filesets filecache ffap emacs-lock
completion bs autorevert filenotify autoinsert ntlm hmac-md5 hex-util
md4 net-utils ldap gravatar goto-addr thingatpt eudc-vars bug-reference
browse-url ange-ftp which-func vc vc-dispatcher tempo srecode
smerge-mode sieve sieve-mode sieve-manage sasl sasl-anonymous sasl-login
sasl-plain pcvs-defs pcvs-util grep glasses gdb-mi bindat json gud
flymake etags xref project emerge elide-head ediff-merg ediff-wind
ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff
ede/project-am ede/autoconf-edit autoconf autoconf-mode semantic/find
ede/makefile-edit make-mode ede/linux ede/make ede/speedbar ede/files
ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar
speedbar sb-image ezimage dframe eieio-custom ebrowse ebuff-menu diff
copyright compare-w check-declare calculator add-log footnote dabbrev
org-clock term disp-table ehelp nnir esh-var esh-io esh-cmd esh-opt
esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util
org-learn hi-lock org-table org-id rx geiser ob-octave ebnf2ps ps-print
ps-print-loaddefs ps-def lpr pcase color soap-client warnings rng-xsd
xsd-regexp autoload radix-tree lisp-mnt tar-mode mm-archive
network-stream starttls url-http url-gw nsm url-cache url-auth url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util server pinentry cl-extra help-mode latexenc
plain-tex preview prv-emacs tex-buf font-latex latex tex-ispell
tex-style tex dbus xml tex-mode view cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl cdlatex texmathp
vc-git diff-mode map ox-koma-letter ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-icalendar ox-html table ox-beamer ox-latex ox-ascii
ox-publish ox flyspell ispell pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools compile cus-edit pdf-view
bookmark pp pdf-cache pdf-info tq pdf-util org-contacts org-capture
gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls
gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range message subr-x puny
rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode
mail-parse rfc2231 gmm-utils mailheader gnus-win gnus nnheader org-eldoc
org-w3m org-rmail org-mhe org-irc org-info org-habit org-gnus gnus-util
rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils org-docview doc-view jka-compr image-mode dired
dired-loaddefs org-bibtex bibtex org-bbdb org-agenda org-element
avl-tree org org-macro org-footnote org-pcomplete org-list org-faces
org-entities noutline outline easy-mmode org-version ob-shell ob-R
ob-python ob-plantuml ob-org ob-gnuplot ob-ditaa ob-calc calc-store
calc-trail calc-ext calc calc-loaddefs calc-macs ob-awk ob-dot ob-maxima
ob-latex ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint tramp tramp-compat tramp-loaddefs trampver
ucs-normalize shell pcomplete parse-time advice comint ansi-color ring
ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func
bbdb-anniv diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
bbdb-com crm mailabbrev bbdb bbdb-site timezone bbdb-loaddefs finder-inf
tex-site info package epg-config url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars
seq byte-opt gv bytecomp byte-compile cconv edmacro kmacro recentf
tree-widget wid-edit easymenu battery time wheatgrass-theme paren
savehist saveplace elec-pair desktop frameset cl-loaddefs cl-lib delsel
cua-base cus-start cus-load time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 1281773 109206)
 (symbols 48 132390 38)
 (miscs 40 24253 5508)
 (strings 32 261522 30064)
 (string-bytes 1 8942653)
 (vectors 16 112492)
 (vector-slots 8 2367099 32007)
 (floats 8 998 1191)
 (intervals 56 72170 55)
 (buffers 976 85))





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  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
  2020-08-20 17:38   ` Stefan Kangas
  0 siblings, 2 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 16:08 UTC (permalink / raw)
  To: N. Jackson; +Cc: 27170

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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-20 16:08 ` Lars Ingebrigtsen
@ 2020-08-20 16:34   ` Philipp Stephani
  2020-08-20 16:43     ` Lars Ingebrigtsen
  2020-08-20 17:38   ` Stefan Kangas
  1 sibling, 1 reply; 12+ messages in thread
From: Philipp Stephani @ 2020-08-20 16:34 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: N. Jackson, 27170

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).





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-20 16:34   ` Philipp Stephani
@ 2020-08-20 16:43     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 16:43 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: N. Jackson, 27170

Philipp Stephani <p.stephani2@gmail.com> writes:

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

I'm not talking about renaming the *Messages* buffer -- just being able
to redirect messages to a different buffer if we want to.

> 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).

Sounds like overkill to me.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-20 16:08 ` Lars Ingebrigtsen
  2020-08-20 16:34   ` Philipp Stephani
@ 2020-08-20 17:38   ` Stefan Kangas
  2020-08-21 11:09     ` Lars Ingebrigtsen
  1 sibling, 1 reply; 12+ messages in thread
From: Stefan Kangas @ 2020-08-20 17:38 UTC (permalink / raw)
  To: Lars Ingebrigtsen, N. Jackson; +Cc: 27170

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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 agree, and would really appreciate seeing this fixed.

But why not support a log file?  I'm thinking it could occasionaly be
useful.  And shouldn't any package system with self-respect have a log
file? :-)

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-20 17:38   ` Stefan Kangas
@ 2020-08-21 11:09     ` Lars Ingebrigtsen
  2020-08-22  3:51       ` Richard Stallman
  2020-08-22 11:29       ` Stefan Kangas
  0 siblings, 2 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-21 11:09 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: N. Jackson, 27170

Stefan Kangas <stefankangas@gmail.com> writes:

> But why not support a log file?  I'm thinking it could occasionaly be
> useful.  And shouldn't any package system with self-respect have a log
> file? :-)

Sure, writing the output to a file would be fine, but I don't think
Emacs needs a logging framework for that.  If we can redirect messages
to a buffer, then package.el can do whatever it wants with the messages,
including writing them to a file if so desired.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-21 11:09     ` Lars Ingebrigtsen
@ 2020-08-22  3:51       ` Richard Stallman
  2022-01-29 16:24         ` Lars Ingebrigtsen
  2020-08-22 11:29       ` Stefan Kangas
  1 sibling, 1 reply; 12+ messages in thread
From: Richard Stallman @ 2020-08-22  3:51 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: nljlistbox2, 27170, stefankangas

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Sure, writing the output to a file would be fine, but I don't think
  > Emacs needs a logging framework for that.  If we can redirect messages
  > to a buffer, then package.el can do whatever it wants with the messages,
  > including writing them to a file if so desired.

I agree.  Let's not make this more complex than the minimum.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-21 11:09     ` Lars Ingebrigtsen
  2020-08-22  3:51       ` Richard Stallman
@ 2020-08-22 11:29       ` Stefan Kangas
  1 sibling, 0 replies; 12+ messages in thread
From: Stefan Kangas @ 2020-08-22 11:29 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: N. Jackson, 27170

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Sure, writing the output to a file would be fine, but I don't think
> Emacs needs a logging framework for that.  If we can redirect messages
> to a buffer, then package.el can do whatever it wants with the messages,
> including writing them to a file if so desired.

Agreed.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2020-08-22  3:51       ` Richard Stallman
@ 2022-01-29 16:24         ` Lars Ingebrigtsen
  2022-01-29 17:30           ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-29 16:24 UTC (permalink / raw)
  To: Richard Stallman; +Cc: nljlistbox2, 27170, stefankangas

Richard Stallman <rms@gnu.org> writes:

>   > Sure, writing the output to a file would be fine, but I don't think
>   > Emacs needs a logging framework for that.  If we can redirect messages
>   > to a buffer, then package.el can do whatever it wants with the messages,
>   > including writing them to a file if so desired.
>
> I agree.  Let's not make this more complex than the minimum.

This has now been added to Emacs 29 -- packages can bind
`messages-buffer-name' to a different buffer name to redirect the
output.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2022-01-29 16:24         ` Lars Ingebrigtsen
@ 2022-01-29 17:30           ` Eli Zaretskii
  2022-01-30 15:52             ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2022-01-29 17:30 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: nljlistbox2, 27170, rms, stefankangas

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 29 Jan 2022 17:24:25 +0100
> Cc: nljlistbox2@gmail.com, 27170@debbugs.gnu.org, stefankangas@gmail.com
> 
> Richard Stallman <rms@gnu.org> writes:
> 
> >   > Sure, writing the output to a file would be fine, but I don't think
> >   > Emacs needs a logging framework for that.  If we can redirect messages
> >   > to a buffer, then package.el can do whatever it wants with the messages,
> >   > including writing them to a file if so desired.
> >
> > I agree.  Let's not make this more complex than the minimum.
> 
> This has now been added to Emacs 29 -- packages can bind
> `messages-buffer-name' to a different buffer name to redirect the
> output.

The "bind" part (also in the doc string of the variable) might mislead
someone into thinking that just binding this variable around some form
is enough to have all the relevant messages to go to that buffer.  But
that is not necessarily true, because some messages are produced after
the command exits; a prominent example is messages produced by the
display engine.

So basically, binding this variable will actually _split_ the messages
between *Messages* and some other buffer.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2022-01-29 17:30           ` Eli Zaretskii
@ 2022-01-30 15:52             ` Lars Ingebrigtsen
  2022-01-30 16:48               ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-30 15:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: nljlistbox2, 27170, rms, stefankangas

Eli Zaretskii <eliz@gnu.org> writes:

> The "bind" part (also in the doc string of the variable) might mislead
> someone into thinking that just binding this variable around some form
> is enough to have all the relevant messages to go to that buffer.

I think most people know that that's what binding means...?

> But that is not necessarily true, because some messages are produced
> after the command exits; a prominent example is messages produced by
> the display engine.
>
> So basically, binding this variable will actually _split_ the messages
> between *Messages* and some other buffer.

Of course a binding has no effect on code that runs after the binding is
over -- we don't note this in the documentation for, say,
`print-length', so I'm not sure why we'd note this in relation to this
variable either.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#27170: 26.0.50; Suggestion: Optionally send package build output to log file not *Messages*
  2022-01-30 15:52             ` Lars Ingebrigtsen
@ 2022-01-30 16:48               ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2022-01-30 16:48 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: nljlistbox2, 27170, rms, stefankangas

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: rms@gnu.org,  nljlistbox2@gmail.com,  27170@debbugs.gnu.org,
>   stefankangas@gmail.com
> Date: Sun, 30 Jan 2022 16:52:56 +0100
> 
> > So basically, binding this variable will actually _split_ the messages
> > between *Messages* and some other buffer.
> 
> Of course a binding has no effect on code that runs after the binding is
> over -- we don't note this in the documentation for, say,
> `print-length', so I'm not sure why we'd note this in relation to this
> variable either.

The point I was trying to make was that echo-area messages we see
don't necessarily come from code of the command, and so having a
command bind the variable might not catch all of the messages.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-01-30 16:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).