Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How to stop gnus from moving to the next group?
@ 2010-04-29  2:38 Leo
  2010-04-29  2:55 ` Leo
  0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2010-04-29  2:38 UTC (permalink / raw)
  To: info-gnus-english

Hello,

This has become a bit annoying to me. Can someone help me to settle
this?

Here's how to see the movement. All steps are performed in the group
buffer.

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

You can see point moves to the next group with unread articles.
Sometimes this can move a few screenful.

Tested in GNU Emacs 23.1.96.1 (x86_64-apple-darwin10.3.0) of 2010-04-20
and the default gnus in it.

Thanks.

Leo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to stop gnus from moving to the next group?
  2010-04-29  2:38 How to stop gnus from moving to the next group? Leo
@ 2010-04-29  2:55 ` Leo
  2010-05-12  8:45   ` Andreas Seltenreich
  0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2010-04-29  2:55 UTC (permalink / raw)
  To: info-gnus-english

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?

There could be a lot of empty groups between current and the next unread
group. The movement is undesirable in this case.

Leo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to stop gnus from moving to the next group?
  2010-04-29  2:55 ` Leo
@ 2010-05-12  8:45   ` Andreas Seltenreich
  2010-05-12 11:03     ` Leo
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Seltenreich @ 2010-05-12  8:45 UTC (permalink / raw)
  To: info-gnus-english

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'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.

Thanks,
andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to stop gnus from moving to the next group?
  2010-05-12  8:45   ` Andreas Seltenreich
@ 2010-05-12 11:03     ` Leo
  0 siblings, 0 replies; 4+ messages in thread
From: Leo @ 2010-05-12 11:03 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-12 11:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-29  2:38 How to stop gnus from moving to the next group? Leo
2010-04-29  2:55 ` Leo
2010-05-12  8:45   ` Andreas Seltenreich
2010-05-12 11:03     ` Leo

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).