* [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
* Re: [patch] CVS gnus-sum.el::gnus-list-of-unread-articles error checking
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
1 sibling, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2005-02-02 1:37 UTC (permalink / raw)
Cc: ding
>>>>> In <zmyrxhfe.fsf@blue.sea.net> Jari+mail.emacs wrote:
> 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.
> + (error "Gnus: Group %s couldn't be activated " group)))
I think to identify that it is issued by Gnus is not necessary,
removed it. Am I right?
> 2004-09-02 Jari Aalto <jari aalto A T poboxes com>
> * message.el (message-send-mail-function): Check existence of
> sendmail-program first before using
> default value `message-send-mail-with-sendmail'. Oterwise
> use more generic `smtpmail-send-it'.
Those changes seem to be useful. I've committed them in the
Gnus trunk. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] CVS gnus-sum.el::gnus-list-of-unread-articles error checking
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
1 sibling, 0 replies; 3+ messages in thread
From: Jari Aalto @ 2005-02-02 7:27 UTC (permalink / raw)
Cc: ding
| >>>>> In <zmyrxhfe.fsf@blue.sea.net> Jari+mail.emacs wrote:
|
| > 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.
|
| > + (error "Gnus: Group %s couldn't be activated " group)))
|
| I think to identify that it is issued by Gnus is not necessary,
| removed it. Am I right?
No problem. I just hope that all lisp program used prefix to announce that
"they" wrote the message. Message log would b easier to read in some cases.
| > 2004-09-02 Jari Aalto <jari aalto A T poboxes com>
|
| > * message.el (message-send-mail-function): Check existence of
| > sendmail-program first before using
| > default value `message-send-mail-with-sendmail'. Oterwise
| > use more generic `smtpmail-send-it'.
|
| Those changes seem to be useful. I've committed them in the
| Gnus trunk. Thanks.
Especially the change are for for NTEmacs/Cygwin version.
Thank you,
Jari
^ 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).