From: xyblor <fake@invalid.email>
Subject: XEmacs: *Compile-Log* and *Compile-Log-Show*
Date: Thu, 20 Apr 2006 19:43:00 -0400 [thread overview]
Message-ID: <k69jx18b.fsf@invalid.email> (raw)
When Gnus prepares a summary of a group, I guess it has to compile the
newsrc.eld file, and XEmacs creates two logs of the compilation in
buffers. However, since these are always empty, it's just a nuisance
to have these useless buffers created all the time.
Here's what I added to my init.el to solve the problem:
(defun kill-empty-logs ()
(dolist (buf (list (get-buffer "*Compile-Log*")
(get-buffer "*Compile-Log-Show*")))
(if (and buf (= (buffer-size buf) 0))
(kill-buffer buf))))
(add-hook 'gnus-summary-prepare-hook 'kill-empty-logs)
Is this a good solution? Why doesn't Gnus have something like this
built in? Or should it be considered XEmacs' fault for not cleaning up
after itself? Is the situation the same in Gnu Emacs?
next reply other threads:[~2006-04-20 23:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 23:43 xyblor [this message]
2006-04-22 0:52 ` Lars Magne Ingebrigtsen
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=k69jx18b.fsf@invalid.email \
--to=fake@invalid.email \
/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.
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 NNTP newsgroup(s).