From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9196 Path: main.gmane.org!not-for-mail From: "St. Suika Fenderson Roberts" Newsgroups: gmane.emacs.gnus.general Subject: Re: time delay on news groups? Date: Thu, 12 Dec 1996 16:37:49 -0600 Message-ID: <199612122237.QAA67111@rs1.tcs.tulane.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149257 17027 80.91.224.250 (20 Oct 2002 21:27:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:27:37 +0000 (UTC) Return-Path: Original-Received: from riker.diamond-lane.net (root@riker [206.190.83.4]) by deanna.miranova.com (8.8.4/8.8.4) with ESMTP id OAA03366 for ; Thu, 12 Dec 1996 14:54:53 -0800 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by riker.diamond-lane.net (8.8.4/8.8.4) with SMTP id PAA17715 for ; Thu, 12 Dec 1996 15:00:09 -0800 Original-Received: from rs1.tcs.tulane.edu (wrobert2@rs1.tcs.tulane.edu [129.81.224.53]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 12 Dec 1996 23:33:48 +0100 Original-Received: (wrobert2@localhost) by rs1.tcs.tulane.edu (8.6.12/8.5) id QAA67111; Thu, 12 Dec 1996 16:37:49 -0600 Original-To: ding@ifi.uio.no, dmoore@UCSD.EDU Xref: main.gmane.org gmane.emacs.gnus.general:9196 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9196 On a similar note, is/could it be possible to score on article length? This would be mainly good for groups like alt.startrek.creative, where anything under 90 lines is almost certainly not worth reading. . . Thanks, Suika (Gnus is wonderful! I spend far too much time with it!) PS: Someone was wanting a `save state to dribble buffer' function, so here's the one I munged together. It's tested, can't say much else for it ^_^ (well, I munged it out of Lars's code, so that gives it a boost) ----------------- (defun gnus-summary-save-info () (interactive) (save-excursion (let ((group gnus-newsgroup-name)) (when gnus-newsgroup-kill-headers (setq gnus-newsgroup-killed (gnus-compress-sequence (nconc (gnus-set-sorted-intersection (gnus-uncompress-range gnus-newsgroup-killed) (setq gnus-newsgroup-unselected (sort gnus-newsgroup-unselected '<))) (setq gnus-newsgroup-unreads (sort gnus-newsgroup-unreads '<))) t))) (unless (listp (cdr gnus-newsgroup-killed)) (setq gnus-newsgroup-killed (list gnus-newsgroup-killed))) (let ((headers gnus-newsgroup-headers)) (unless gnus-save-score (setq gnus-newsgroup-scored nil)) ;; Set the new ranges of read articles. (gnus-update-read-articles group (append gnus-newsgroup-unreads gnus-newsgroup-unselected)) ;; Set the current article marks. (gnus-update-marks) ;; Don't do the cross-ref thing. ; (when gnus-use-cross-reference ; (gnus-mark-xrefs-as-read group headers gnus-newsgroup-unreads)) ;; Do not switch windows but change the buffer to work. (set-buffer gnus-group-buffer) (unless (gnus-ephemeral-group-p gnus-newsgroup-name) (gnus-group-update-group group)))))) -- wrobert2@mailhost.tcs.tulane.edu "The dew fell with a particularly sickening thud this morning." -Rhonda Rubin Suika no homepage From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9197 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: summary buffer state dribbling (was Re: time delay on news groups?) Date: 12 Dec 1996 15:07:03 -0800 Sender: dmoore@sdnp5.ucsd.edu Message-ID: References: <199612122237.QAA67111@rs1.tcs.tulane.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149258 17028 80.91.224.250 (20 Oct 2002 21:27:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:27:38 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id PAA03479 for ; Thu, 12 Dec 1996 15:19:57 -0800 Original-Received: from UCSD.EDU (mailbox2.ucsd.edu [132.239.1.54]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 13 Dec 1996 00:09:06 +0100 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id PAA06229 for ; Thu, 12 Dec 1996 15:08:41 -0800 (PST) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id PAA15846; Thu, 12 Dec 1996 15:07:03 -0800 Original-To: "(ding) Gnus Mailing List" In-Reply-To: "St. Suika Fenderson Roberts"'s message of Thu, 12 Dec 1996 16:37:49 -0600 Original-Lines: 22 X-Mailer: Red Gnus v0.74/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:9197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9197 "St. Suika Fenderson Roberts" writes: > PS: Someone was wanting a `save state to dribble buffer' function, so here's > the one I munged together. It's tested, can't say much else for it ^_^ > (well, I munged it out of Lars's code, so that gives it a boost) This won't do the right thing if you were reading a virtual group. Or rather, if you use this, and then you crash, and it won't have remembered what you did, much like all groups do now. This is because it's not updating the component groups, and on restart Gnus will reconstruct the virtual groups from the components. At the end of the function, you could stick in something to check if the current group's method if it's a virtual group, and if so call (nnvirtual-update-read-and-marked t t). However, I consider that function internal to nnvirtual, so it could disappear someday. :) -- David Moore | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | Solo Furnace Creek 508 -- 1996!