Gnus development mailing list
 help / color / mirror / Atom feed
From: pmlists@free.fr (Peter Münster)
To: ding@gnus.org
Subject: Re: gnus-article-goto-next-page loops back up on last article
Date: Sat, 12 Nov 2011 23:12:15 +0100	[thread overview]
Message-ID: <87hb29t2gw.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: <87k475egc2.fsf@jidanni.org>

On Sat, Nov 12 2011, jidanni@jidanni.org wrote:

> Now browse to the bottom of the bottom article.
> Now hit SPC.
> Now we are back at the top of the bottom article.

You can put this in your gnus.el:

--8<---------------cut here---------------start------------->8---
(defun gnus-article-goto-next-page ()
  "Show the next page of the article."
  (interactive)
  (when (gnus-article-next-page)
;   (goto-char (point-min))  ;  Why this?
    (gnus-article-read-summary-keys nil (gnus-character-to-event ?n))))
--8<---------------cut here---------------end--------------->8---

-- 
           Peter




  reply	other threads:[~2011-11-12 22:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 11:21 jidanni
2011-11-12 22:12 ` Peter Münster [this message]
2012-01-03 22:30 ` Lars Magne Ingebrigtsen
2012-01-05 14:06   ` jidanni
2012-01-11 22:47     ` Eric S Fraga

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=87hb29t2gw.fsf@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=ding@gnus.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.
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).