From: jari.aalto@cante.net (Jari+mail.emacs)
Subject: [patch] CVS gnus-sum.el::gnus-list-of-unread-articles error checking
Date: Sun, 30 Jan 2005 13:52:37 +0200 [thread overview]
Message-ID: <zmyrxhfe.fsf@blue.sea.net> (raw)
Please consider this change.
2005-01-29 Jari Aalto <jari aalto A T cante net>
* gnus-sum.el (gnus-list-of-unread-articles): Improve
active groups error checking and notify user.
root@host:/usr/share/site-lisp/net/cvs-packages/misc/gnus$ cvs diff -ubw lisp/gnus-sum.el
Index: lisp/gnus-sum.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v
retrieving revision 7.79
diff -u -IId: -u -b -w -r7.79 gnus-sum.el
--- lisp/gnus-sum.el 17 Jan 2005 00:11:34 -0000 7.79
+++ lisp/gnus-sum.el 30 Jan 2005 11:50:17 -0000
@@ -6429,7 +6429,8 @@
(defun gnus-list-of-unread-articles (group)
(let* ((read (gnus-info-read (gnus-get-info group)))
(active (or (gnus-active group) (gnus-activate-group group)))
- (last (cdr active))
+ (last (or (cdr active)
+ (error "Gnus: Group %s couldn't be activated " group)))
first nlast unread)
;; If none are read, then all are unread.
(if (not read)
next reply other threads:[~2005-01-30 11:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-30 11:52 Jari+mail.emacs [this message]
2005-02-02 1:37 ` Katsumi Yamaoka
2005-02-02 7:27 ` Jari Aalto
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=zmyrxhfe.fsf@blue.sea.net \
--to=jari.aalto@cante.net \
/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).