Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: How to stop gnus from moving to the next group?
Date: Wed, 12 May 2010 12:03:28 +0100	[thread overview]
Message-ID: <xbaimxw5xtz3.fsf@cam.ac.uk> (raw)
In-Reply-To: <878w7pwlrv.fsf@gate450.dyndns.org>

On 2010-05-12 09:45 +0100, Andreas Seltenreich wrote:
> Leo writes:
>
>> On 2010-04-29 03:38 +0100, Leo wrote:
>>> 1. go to a group (that has a next group with unread articles)
>>> 2. C-u RET
>>> 3. When there's prompt in the minibuffer asking how many articles, hit C-g
>>
>> I dig a bit into it. It is due to gnus-summary-read-group-1 having
>> (gnus-group-next-unread-group 1) unconditionally. Should that respect
>> gnus-group-goto-unread or a new customisation variable?
>
> It does respect it, AFAICT.
> 
>> There could be a lot of empty groups between current and the next unread
>> group. The movement is undesirable in this case.
>
> I agree.  I don't think it is sensible to do anything beyond cleanup
> when catching the C-g.  After all, choosing a million articles at the
> prompt and hitting C-g while Gnus is thrashing doesn't move point
> either.

I think making C-g trigger new action is already in violation of
intuitive user expectation. Imagine if C-s move to the next occurrence
when C-g. Fortunately this doesn't occur as often as C-s. Anyway I have
fixed this locally.

> I'll push a fix into No Gnus.  In case anyone is attached to the old
> behavior: Entering 0 instead of C-g at the prompt will still move point.

As a user I find it difficult to appreciate such a subtle behaviour. I
think making it simple and intuitive will help new users a lot.

> Thanks,
> andreas

Leo

      reply	other threads:[~2010-05-12 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29  2:38 Leo
2010-04-29  2:55 ` Leo
2010-05-12  8:45   ` Andreas Seltenreich
2010-05-12 11:03     ` Leo [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=xbaimxw5xtz3.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=info-gnus-english@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.
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).