all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Leinen <simon.leinen@switch.ch>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: Eli Zaretskii <eliz@gnu.org>, 67526@debbugs.gnu.org
Subject: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group
Date: Wed, 29 Nov 2023 16:50:32 +0100	[thread overview]
Message-ID: <lz5y1kd0dz.fsf@switch.ch> (raw)
In-Reply-To: <87il5koaj0.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 29 Nov 2023 07:16:03 -0800")

Dear Eric,

thanks for looking at this!

> I'm not able to reproduce this, with or without topic-mode. Is there
> anything special about the level of the first or the second group, and
> `gnus-level-subscribed'? I can't see anything else that might influence
> behavior here...

How do I find out whether anything is special about the level of those
groups? For me,

gnus-topic-mode is nil
gnus-level-subscribed is 5

The top three lines of my newsgroup list look like this:

     193: nnimap+mail.switch.ch:INBOX
      19: nnimap+mail.switch.ch:switch/network
      27: nnimap+mail.switch.ch:net/freertr

Reproducing the issue is as easy as typing "n" and then "p".  The cursor
will be stuck on the second line.  I can try narrowing this case, but
it's hard for me to get gnus working again from emacs -q :-)

I do note that the issue goes away when I revert a bit of your change,
as follows.  I haven't found out *why* that is necessary to get the old
behavior back...

diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 9a1a6f9b27d..2f81ea96210 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -1758,7 +1758,7 @@ gnus-group-search-forward
     (unless first-too
       (forward-line way))
     (while (and
-	    (not (if backward (bobp) (eobp)))
+	    (not (endp))
 	    (not (setq
 		  found
 		  (and





  reply	other threads:[~2023-11-29 15:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 10:16 bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group Simon Leinen
2023-11-29 13:16 ` Eli Zaretskii
2023-11-29 15:16   ` Eric Abrahamsen
2023-11-29 15:50     ` Simon Leinen [this message]
2023-11-30  9:06       ` Simon Leinen
2023-12-03 14:55         ` Eric Abrahamsen

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=lz5y1kd0dz.fsf@switch.ch \
    --to=simon.leinen@switch.ch \
    --cc=67526@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.