Gnus development mailing list
 help / color / mirror / Atom feed
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: ding@gnus.org
Subject: Re: Bad cursor postion when dormat theads activate
Date: Mon, 29 Mar 2010 22:49:32 +0200	[thread overview]
Message-ID: <87sk7ivoo3.fsf@newton.homeunix.net> (raw)
In-Reply-To: <m2wrwwpk6q.fsf@igel.home>

Andreas Schwab <schwab@linux-m68k.org> writes:

> You'll have to trace it to see what arguments it needs to handle, and
> how the behaviour differs from forward-line.  Most likely N = 0 is
> problematic.

Thanks for the pointers. I've been trying to solve the problem without
success so far, but i do think that it has to do with dormant (ticked)
articles. There's in fact a very easy way to reproduce it, at least
here:

  1) Put yourself at the beginning of a thread with 2 unread messages
  2) T s/ T h work as expected, no surprises
  3) With the thread hidden, move to the end of the line with C-e:
    point moves not to the end of line, but to the end of the whole
    threads; i.e., you see it *after* the ellipsis (...)
  4) T s won't show the thread: point moves right before the ellipsis
    and the thread remains hidden
  5) If you T s again, now the thread is shown

If now you tick (U) the first article in the thread, exit the group and
re-enter it, you'll see the point is in state (3): seems like the fact
that the article is ticked causes gnus-summary-read-group to position
the point at the end of its thread (after or before hiding all threads,
i'm not sure), so that gnus-summary-show-thread does not have the
desired effect.

Unfortunately, the code is a bit convoluted, and it's not easy for me to
see where/how this state is reached. So i thought that maybe explaining
the situation would ring a bell to someone more familiar with Gnus code.

Thanks!
jao
--
The day Microsoft makes something that doesn't suck is probably the day
they start making vacuum cleaners - Ernst Jan Plugge




  reply	other threads:[~2010-03-29 20:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 19:38 Harry Putnam
2010-02-24 20:08 ` Tassilo Horn
2010-02-24 20:25   ` Harry Putnam
2010-02-24 20:39     ` Tassilo Horn
2010-02-24 21:47   ` Andreas Schwab
2010-03-28  1:42     ` Jose Antonio Ortega Ruiz
2010-03-28 14:58       ` Andreas Schwab
2010-03-29 20:49         ` Jose A. Ortega Ruiz [this message]
2010-03-29 23:19           ` Harry Putnam
2010-03-30  0:21             ` Jose A. Ortega Ruiz
2010-06-08  1:06       ` Jose A. Ortega Ruiz
2010-06-10  2:01         ` Jose A. Ortega Ruiz
2010-06-10 13:07           ` Ted Zlatanov

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=87sk7ivoo3.fsf@newton.homeunix.net \
    --to=jao@gnu.org \
    --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).