emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with org-gnus-follow-link
Date: Thu, 11 Dec 2008 11:09:08 +0100	[thread overview]
Message-ID: <zf.upn7i67f2gr.fsf@zeitform.de> (raw)
In-Reply-To: 87oczjg85v.fsf@thinkpad.tsdh.de

Hi Tassilo,

Tassilo Horn <tassilo@member.fsf.org> wrote:

> Ulf Stegemann <ulf-news@zeitform.de> writes:
>
>> this works in principle but is not really an option. Since first
>> argument 't' to `gnus-group-read-group' makes every article readable
>> in a group, building the summary buffer takes far too long for groups
>> with many articles. Try it with groups containing 10.000+ articles and
>> you'll see what I mean.
>
> Normally you should be asked how many articles you wanna see, if the
> group is big.  If that's not the case for you, you have customized
> something which controls that.

hmmm, I'm not aware I've ever done something like that but since my Gnus
config evolved over several years I cannot completely exclude this
possibility. I know the behaviour you've mentioned from nntp groups,
maybe it's different with the nnml backend (I was actually testing this
with nnml).

> But indeed, it doesn't solve the real problem.  Even if it asks and the
> user says 100 but deleted the last 100 messages in that group before,
> it'll react as it is now.

D'accord.

Tassilo Horn <tassilo@member.fsf.org> wrote:

> please try this one:
>
> diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el
> index 7231538..05bed5b 100644
> --- a/lisp/org-gnus.el
> +++ b/lisp/org-gnus.el
> @@ -157,12 +157,9 @@ If `org-store-link' was called with a prefix arg the meaning of
>    (funcall (cdr (assq 'gnus org-link-frame-setup)))
>    (if gnus-other-frame-object (select-frame gnus-other-frame-object))
>    (cond ((and group article)
> +	 (gnus-activate-group group t)
>  	 (gnus-group-read-group 1 nil group)
> -	 (gnus-summary-goto-article
> -	  (if (string-match "[^0-9]" article)
> -	      article
> -	    (string-to-number article))
> -	  nil t))
> +	 (gnus-summary-goto-article article nil t))
>  	(group (gnus-group-jump-to-group group))))
>  
>  (defun org-gnus-no-new-news ()

Unfortunately, it doesn't work. The behaviour is the same as with the
original version: jumping to the article works if the last article in
the group in question hasn't been deleted, otherwise it fails.

Ulf

  reply	other threads:[~2008-12-11 10:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09 12:24 Problem with org-gnus-follow-link Ulf Stegemann
2008-12-09 16:58 ` Tassilo Horn
2008-12-10 10:08   ` Ulf Stegemann
2008-12-10 19:08     ` Tassilo Horn
2008-12-11 10:09       ` Ulf Stegemann [this message]
2008-12-11 11:02         ` Tassilo Horn
2008-12-11 13:52           ` Ulf Stegemann
2008-12-11 14:16             ` Tassilo Horn
2008-12-11 15:37               ` Ulf Stegemann
2008-12-11 15:56                 ` Tassilo Horn
2008-12-11 16:18                   ` Ulf Stegemann
2008-12-11 16:41                     ` Tassilo Horn
2008-12-11 18:17                     ` Tassilo Horn
2008-12-11 21:51                       ` Ulf Stegemann
2008-12-12  7:04                         ` Tassilo Horn
2008-12-12  8:17                           ` Ulf Stegemann
2008-12-12 10:31                             ` Tassilo Horn
2008-12-12 14:21                               ` Ulf Stegemann
2008-12-11  8:15     ` Tassilo Horn

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=zf.upn7i67f2gr.fsf@zeitform.de \
    --to=ulf-news@zeitform.de \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).