Gnus development mailing list
 help / color / mirror / Atom feed
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Subject: Re: M-g on a group moves to next group
Date: 05 Mar 1999 11:06:00 -0600	[thread overview]
Message-ID: <ufavhgflvd3.fsf@epithumia.math.uh.edu> (raw)
In-Reply-To: Justin Sheehy's message of "05 Mar 1999 11:02:01 -0500"

>>>>> "JS" == Justin Sheehy <justin@linus.mitre.org> writes:

JS> Just rebind whatever key you use for group entry to do
JS> gnus-group-get-new-news-this-group before its usual function.

Is gnus-select-group-hook early enough to do this?  I can never tell from
the docs precisely when the hooks are called.  Just adding
gnus-group-get-new-news-this-group there doesn't seem to help.

JS> I mean, it's easy to do a gnus-summary-rescan-group by hand, but doing
JS> the sort of prompting that you refer to would actually require a little
JS> bit of work.

I know; I wonder if it would be possible to wedge into
gnus-exit-group-hook.  Check to see if the number of unread articles is
zero (i.e. you read everything) then get-new-news-this-group, then check if
unread articles are still zero and exit if not, prompt if so.  Perhaps I
should try to remember what Lisp I learned.

JS> Easy from the *Group* buffer, trickier if you want it to really be from
JS> wherever you might happen to be.  Doable, but not trivial. Especially
JS> if you want to be able to get back to where you were before you made
JS> that jump.

Dan Christensen send me some code; I've found that whenever Gnus is loaded
(which is essentially "always) I can just do

(gnus-group-read-group nil t "nnml:inbox")

But I can't seem to make it grab new news.

JS> The other will get new news for that group before entering it, turn off
JS> most of the threading and scoring stuff, and sort in reverse
JS> chronological order.  That way I am instantly reading the most-recently
JS> received message.  Some of the time, in a few of my groups, that is
JS> exactly what I want.

I find that for groups where I want to read that way, I _always_ want to
read that way and so I set it in the group parameters.

 - J<


  reply	other threads:[~1999-03-05 17:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04 17:37 Dmitry Yaitskov
1999-03-04 17:53 ` Kai.Grossjohann
1999-03-04 19:01 ` Jason L Tibbitts III
1999-03-05 16:02   ` Justin Sheehy
1999-03-05 17:06     ` Jason L Tibbitts III [this message]
1999-03-05 18:32       ` Justin Sheehy
     [not found]   ` <x7k8wxxb6x.fsf@chow.mat.jhu.edu>
1999-03-05 17:17     ` Dan Christensen
1999-03-04 19:05 ` Justin Sheehy
1999-03-04 19:19   ` Alan Shutko
1999-03-04 19:38     ` Dmitry Yaitskov

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=ufavhgflvd3.fsf@epithumia.math.uh.edu \
    --to=tibbs@math.uh.edu \
    /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).