Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Visiting mbox file temporarily
Date: Fri, 17 Nov 2006 22:11:06 +0100	[thread overview]
Message-ID: <v9fychhj85.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <pniejs1houc.fsf@bow.cs.hmc.edu>

On Fri, Nov 17 2006, Geoff Kuenning wrote:

>> (gnus-group-read-ephemeral-group
>>  "some-name" '(nndoc "/path/to/mbox" (nndoc-article-type mbox)))
>
> This one doesn't work for me.  It crashes inside gnus-list-of-unread-articles,
> when it tries to do "while (<= first last) ..." and both first and
> last are nil.  I haven't yet figured out what I'm doing wrong here.

I can't reproduce this.  `gnus-list-of-unread-articles' has been
changed since Gnus 5.9 (which is quite old).  Currently, the end of
`gnus-list-of-unread-articles' reads:

    ;; And add the last unread articles.
    (while (<= first last)
      (setq unread (cons first unread)
            first (1+ first)))
    ;; Return the list of unread articles.
    (delq 0 (nreverse unread))))

If you can reproduce it with a current Gnus version, please report it
as a bug.

>> `C-u G f /path/to/mbox m'
>
> But this one works like a charm.  I don't even need the C-u because
> nndoc defaults the type to "guess".

"guess" sometimes fails, e.g. if the first message is a multipart MIME
message.

> There's a minor nuisance in that I have to kill the group after I
> visit it, but that's not a big deal.

I'd use topics mode an move the group to a collapsed topic.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

      reply	other threads:[~2006-11-17 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17  9:31 Geoff Kuenning
2006-11-17 10:08 ` Reiner Steib
2006-11-17 19:09   ` Geoff Kuenning
2006-11-17 21:11     ` Reiner Steib [this message]

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=v9fychhj85.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).