From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7803 Path: main.gmane.org!not-for-mail From: Jan Vroonhof Newsgroups: gmane.emacs.gnus.general Subject: gnus-summary-read-document and red 0.26 Date: 04 Sep 1996 12:58:02 +0200 Sender: vroonhof@math.ethz.ch Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.71) Content-Type: multipart/mixed; boundary="Multipart_Wed_Sep__4_12:58:01_1996-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035148066 8586 80.91.224.250 (20 Oct 2002 21:07:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:07:46 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id KAA20172 for ; Wed, 4 Sep 1996 10:19:16 -0700 Original-Received: from frege.math.ethz.ch (root@frege-math-bb.math.ethz.ch [129.132.148.14]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Wed, 4 Sep 1996 13:00:55 +0200 Original-Received: from fresnel.math.ethz.ch (vroonhof@fresnel-d-math-south-g-servers.math.ethz.ch [129.132.145.6]) by frege.math.ethz.ch (8.6.4/Main-mathdept-mailer) with ESMTP id NAA17573; Wed, 4 Sep 1996 13:00:30 +0200 Original-Received: (vroonhof@localhost) by fresnel.math.ethz.ch (8.6.9/D-MATH-client) id MAA12760; Wed, 4 Sep 1996 12:58:03 +0200 Original-To: gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys) Original-Lines: 168 X-Mailer: Red Gnus v0.26/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:7803 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7803 --Multipart_Wed_Sep__4_12:58:01_1996-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Red Gnus v0.26; nntp 5.0; nnvirtual 1.0; nndoc 1.0; nnfolder 1.0 XEmacs 19.14 [Lucid] (sparc-sun-solaris2.4) of Sat Jun 22 1996 on xemacs I have found 3 more bugs in the use gnus-summary-read-document unfortunatly The most annoying is an old one that is not completely fixed yet when trying to leave the group created with gnus-summary-read-document: Here is the back-trace --- Backtrace --- Signalling: (wrong-type-argument number-or-marker-p nil) gnus-list-of-unread-articles("nnvirtual:preprints.cond-mat-19960904T12354= 7") nnvirtual-update-reads() nnvirtual-close-group("preprints.cond-mat-19960904T123547" "nnfolder:prep= rints.cond-mat-19960904T123547") gnus-close-group("nnfolder:preprints.cond-mat-19960904T123547") #() call-interactively(gnus-summary-exit) --- EOB --- Somehow Gnus doesn't see that we are in an ephemeral group and calls gnus-list-of-unread-articles anyway. 2. The second is a bug in generation of the intermediary group names that gives problem when you ahve read no atricles and mark a few groups. It is fixed by the following patch: *** gnus-sum.el.orig Tue Sep 3 05:09:38 1996 --- gnus-sum.el Wed Sep 4 12:22:37 1996 *************** *** 5646,5652 **** (list (cons 'to-group ogroup)))) article group egroup groups vgroup) (while (setq article (pop articles)) ! (setq group (format "%s-%d" gnus-newsgroup-name gnus-current-articl= e)) (gnus-summary-remove-process-mark article) (when (gnus-summary-display-article article) (save-excursion --- 5646,5652 ---- (list (cons 'to-group ogroup)))) article group egroup groups vgroup) (while (setq article (pop articles)) ! (setq group (format "%s-%d" gnus-newsgroup-name article)) (gnus-summary-remove-process-mark article) (when (gnus-summary-display-article article) (save-excursion Note that the group naming is still different than gnus-summary-enter-digest-group (why?) 3. The third is simular to 2. It appears when you enter group, don't read any articles, don't mark any thing and hit M-C-D on an article. In this case gnus-summary-read-document gives an error because there is no current article. IMHO it should behave gnus-summary-enter-digest-group in this case. As a general question why don't gnus-summary-enter-digest-group en gnus-summary-read-docment share more code? ------------------ Environment follows ------------------ (setq gnus-default-nntp-server "news") (setq gnus-local-organization "ETHZ Mathematik") (setq gnus-group-faq-directory '("/ftp@ftp.uni-paderborn.de:/pub/FAQ/" "/ft= p@sunsite.auc.dk:/pub/usenet/" "/ftp@src.doc.ic.ac.uk:/usenet/news-FAQS/" "= /ftp@ftp.sunet.se:/pub/usenet/" "/ftp@mirrors.aol.com:/pub/rtfm/usenet/" "/= ftp@ftp.seas.gwu.edu:/pub/rtfm/" "/ftp@rtfm.mit.edu:/pub/usenet/" "/ftp@nct= uccca.edu.tw:/USENET/FAQ/" "/ftp@hwarang.postech.ac.kr:/pub/usenet/" "/ftp@= ftp.hk.super.net:/mirror/faqs/")) (setq gnus-use-long-file-name t) (setq gnus-use-adaptive-scoring t) (setq gnus-use-nocem t) (setq gnus-summary-prepare-exit-hook '(gnus-summary-expire-articles)) (setq gnus-auto-expirable-newsgroups "tex-nl\\|linux-kernel") (setq gnus-group-change-level-function 'gnus-topic-change-level) (setq gnus-fetch-old-headers 'some) (setq gnus-summary-make-false-root 'dummy) (setq gnus-summary-thread-gathering-function 'gnus-gather-threads-by-refere= nces) (setq gnus-show-mime t) (setq gnus-view-pseudo-asynchronously t) (setq gnus-view-pseudos 'not-confirm) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-s= ort-by-total-score)) (setq gnus-summary-mode-hook '(gnus-xmas-setup-summary-toolbar gnus-xmas-su= mmary-menu-add)) (setq gnus-summary-exit-hook '(gnus-picons-remove-all gnus-topic-update-top= ic)) (setq gnus-select-group-hook '(tm-gnus/decode-summary-from-and-subjects)) (setq gnus-parse-headers-hook '(gnus-decode-rfc1522)) (setq gnus-exit-group-hook '(gnus-uu-delete-work-dir gnus-uu-clean-up)) (setq gnus-group-mode-hook '(gnus-topic-mode gnus-xmas-setup-group-toolbar = gnus-xmas-group-menu-add)) (setq gnus-group-catchup-group-hook '(gnus-topic-update-topic)) (setq gnus-exit-gnus-hook '((lambda nil =09=09=09 (if =09=09=09=09 (frame-live-p toolbar-news-frame) =09=09=09=09 (delete-frame toolbar-news-frame))))) (setq gnus-show-mime-method 'tm-gnus/preview-article) (setq gnus-decode-encoded-word-method 'tm-gnus/article-decode-encoded-word) (setq gnus-article-mode-hook '(gnus-xmas-article-menu-add)) (setq gnus-article-prepare-hook '(tm-gnus/article-reset-variable gnus-artic= le-hide-citation-maybe gnus-smiley-display gnus-article-de-quoted-unreadabl= e gnus-group-display-picons)) (setq gnus-check-new-newsgroups 'ask-server) (setq gnus-save-newsrc-file nil) (setq gnus-startup-hook '(# =09=09=09 [nil "=C0=C1!=87" =09=09=09 [require tm-gnus] =09=09=09 2] =09=09=09 tm-gnus/bbdb-setup)) (setq nnmail-expiry-wait-function '(lambda =09=09=09=09 (group) =09=09=09=09 (cond =09=09=09=09 ((string=3D group "tex-nl") =09=09=09=09 7) =09=09=09=09 ((string=3D group "linux-kernel") =09=09=09=09 4) =09=09=09=09 (t 6)))) (setq nnmail-spool-file 'procmail) (setq nnmail-crash-box "~/scratch/Mail/.nnmail-crash-box") (setq nnmail-procmail-directory "~/scratch/Mail/") (setq nnmail-treat-duplicates 'delete) (setq message-deletable-headers '(Message-ID Date)) (setq message-autosave-directory "~/Mail/drafts/") (setq message-forward-start-separator "= --Multipart_Wed_Sep__4_12:58:01_1996-1 Content-Type: message/rfc822 \n") (setq message-forward-end-separator "") (setq message-post-method '(nnspool "")) (setq message-setup-hook '(mime/editor-mode)) (setq message-header-hook '(mime/encode-message-header)) (setq message-header-setup-hook '(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc)) (setq message-signature nil) --Multipart_Wed_Sep__4_12:58:01_1996-1--