Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] CVS gnus-sum.el::gnus-list-of-unread-articles error checking
@ 2005-01-30 11:52 Jari+mail.emacs
  2005-02-02  1:37 ` Katsumi Yamaoka
  2005-02-02  7:27 ` Jari Aalto
  0 siblings, 2 replies; 3+ messages in thread
From: Jari+mail.emacs @ 2005-01-30 11:52 UTC (permalink / 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)




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

end of thread, other threads:[~2005-02-02  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-30 11:52 [patch] CVS gnus-sum.el::gnus-list-of-unread-articles error checking Jari+mail.emacs
2005-02-02  1:37 ` Katsumi Yamaoka
2005-02-02  7:27 ` Jari Aalto

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