From unknown Sat Jun 21 03:23:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67526 <67526@debbugs.gnu.org> To: bug#67526 <67526@debbugs.gnu.org> Subject: Status: 30.0.50; Regression: gnus-group-prev-group fails to move to first group Reply-To: bug#67526 <67526@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:23:55 +0000 retitle 67526 30.0.50; Regression: gnus-group-prev-group fails to move to f= irst group reassign 67526 emacs submitter 67526 Simon Leinen severity 67526 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 05:16:52 2023 Received: (at submit) by debbugs.gnu.org; 29 Nov 2023 10:16:52 +0000 Received: from localhost ([127.0.0.1]:48942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Hch-0001ks-UQ for submit@debbugs.gnu.org; Wed, 29 Nov 2023 05:16:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Hcf-0001kd-8M for submit@debbugs.gnu.org; Wed, 29 Nov 2023 05:16:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8HcM-000207-WE for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 05:16:31 -0500 Received: from mx4.switch.ch ([85.235.88.35]) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8HcK-0005ju-1Q for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 05:16:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=switch.ch; l=9933; s=selector1; t=1701252988; h=from:to:subject:date:message-id:mime-version; bh=/x5NZZPRwRR96XRijgzeAArgi4y9EVZpYwIXDhY+sZc=; b=GoMX4jhkIuvueLKhRFWd2GmtZcBtsq+sE+1U5s6ZLAr15rOZ7bwgPMhZ +/GaicJROVMLxHSWFA+cljktMU4bRC4izAYyEY0GRDOCBOUNooNrBg1kR DJxHk+NQrpRo4eTx/bVfSTgazOrPd0ohSBqC1AYRKFiTpsUs0LJvC5oqg 9a8g92lEcepvKZ4LYxWCDHa+0Ni602p1wuvXce+pESet+F/8ArlWjKOgu L02FWsf3vMiLWliFJrXcuvzulR4rqUBRhK5uW9AL8KMj27pZM3lARET0D 2XwfIECHDEX5G1Q67fX3g/aBy1QdKxumtr8xOGrkbyUX/bDUAVEXjBLZQ g==; X-IronPort-MAIL-FROM: simon.leinen@switch.ch X-IronPort-RCPT-TO: bug-gnu-emacs@gnu.org X-IronPort-AV: E=Sophos;i="6.04,235,1695679200"; d="scan'208";a="5874833" Received: from unknown (HELO SWH-S04-EXC2.swd.switch.ch) ([172.16.60.12]) by mx4int.switch.ch with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 11:16:21 +0100 Received: from macsl (172.16.60.33) by SWH-S04-EXC2.swd.switch.ch (172.16.60.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 29 Nov 2023 11:16:20 +0100 From: Simon Leinen To: Subject: 30.0.50; Regression: gnus-group-prev-group fails to move to first group Date: Wed, 29 Nov 2023 11:16:20 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.16.60.33] X-ClientProxiedBy: SWH-S06-EXC4.swd.switch.ch (172.16.60.18) To SWH-S04-EXC2.swd.switch.ch (172.16.60.12) Received-SPF: pass client-ip=85.235.88.35; envelope-from=simon.leinen@switch.ch; helo=mx4.switch.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) In the current development version of Emacs (Git master branch), gnus-group-prev-group (bound to the "P" key) in Gnus's group buffer works as before, except when it is on the second newgroup line. In this case, the cursor stays put on the second line and refuses to move up to the first. The same is true for gnus-group-prev-unread-group (bound to "p"), even when the first group has unread messages. I suspect the issue lies in gnus-group-search-forward, which was recently simplified by Eric Abrahamsen in commit 7304cc8a9ca8a7d19baaa24f0a72c7ad9a6a9716 Cheers, -- Simon. In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.6.0, NS appkit-2299.70 Version 13.6.1 (Build 22G313)) of 2023-11-27 built on macsl Repository revision: 7a5c91a2831602c3cd961158cf0b6a876852d7ac Repository branch: master Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.6.1 Configured using: 'configure --verbose --with-imagemagick --with-cairo LIBXML2_CFLAGS=-I/opt/homebrew/opt/libxml2/include/libxml2 'LIBXML2_LIBS=-L/opt/homebrew/opt/libxml2/lib -lxml2' --with-native-compilation 'LDFLAGS=-L/opt/homebrew/lib/gcc/current -L/opt/homebrew/lib -lgmp' CFLAGS=-I/opt/homebrew/include PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:/opt/homebrew/share/pkgconfig' Configured features: ACL GIF GLIB GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t csv-field-index-mode: t auto-insert-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t Load-path shadows: /Users/leinen/.emacs.d/elpa/transient-20230602.2121/transient hides /Applications/Emacs.app/Contents/Resources/lisp/transient /Users/leinen/.emacs.d/elpa/auth-source-pass-20210210.1908/auth-source-pass hides /Applications/Emacs.app/Contents/Resources/lisp/auth-source-pass /Users/leinen/.emacs.d/elpa/eglot-20220926.1235/eglot hides /Applications/Emacs.app/Contents/Resources/lisp/progmodes/eglot Features: (shadow emacsbug magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff git-commit log-edit add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor server magit-mode transient edmacro kmacro magit-git magit-base magit-section cursor-sensor dash compat bug-reference debug backtrace tabify cus-edit cus-start cl-print gnus-cus gnus-demon gnus-diary nndiary gnus-dup gnus-fun gnus-html url-queue mm-url gnus-logic gnus-mh mh-comp mh-scan mh-gnus mh-e mh-buffers mh-loaddefs gnus-registry registry eieio-base rmailsum rmail gnus-salt gnus-topic gnus-uu yenc nnselect shortdoc help-fns radix-tree conf-mode rfc2104 vc-hg vc-bzr tramp-cmds tramp-cache time-stamp tramp-sh gnus-draft csv-mode mailalias bbdb-message smerge-mode diff vc perl-mode url-cache display-line-numbers vc-git diff-mode novice dired-aux vc-dispatcher m4-mode i-d rect vc-filewise vc-rcs log-view pcvs-util html-mode html-helper-mode tempo sgml-mode facemenu log-mode url-http url-auth url-gw jka-compr gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs shr-color color misearch multi-isearch flow-fill qp vm-init gnus-vm mm-archive sort smiley gnus-cite textsec uni-scripts idna-mapping uni-confusable textsec-check gnus-async gnus-bcklg gnus-kill gnus-ml disp-table nndraft nnmh nndoc utf-7 nnml gnus-init dot-gnus-sa bbdb-gnus epa-file network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source nnoo gnus-spec gnus-int gnus-range message yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win vm-vcard vm-user vm-smime bbdb-sc supercite regi mail-extr vm-serial vm-search bbdb-vm bbdb-mua vm-rfaddons ps-print ps-print-loaddefs lpr vm-ps-print vm-pine vm-pgg pgg pgg-parse pgg-def vm-pcrisis comp comp-cstr cl-extra smime gnutls puny dig vm-message vm-message-history vm-macro vm-license vm-startup vm vm-grepmail vm-mark vm-edit dired dired-loaddefs vm-dired vm-digest vm-biff bbdb-com crm mailabbrev cl vm-sort vm-reply vm-save vm-delete vm-undo vm-page vm-summary-faces vm-pop utf7 vm-imap vm-thread vm-mime vm-motion vm-mouse vm-toolbar vm-menu vm-window vm-crypto vm-summary vm-minibuf vm-virtual vm-avirtual vm-autoload vm-autoloads vm-version vm-vars vcard vm-folder vm-misc u-vm-color tapestry compile-vm find-func warnings tramp trampver tramp-integration tramp-message help-mode tramp-compat xdg shell parse-time iso8601 format-spec tramp-loaddefs avoid gnus nnheader gnus-util time-date range wid-edit autoinsert cus-load exec-path-from-shell eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg pcomplete esh-module esh-groups esh-util files-x slime-media slime-mrepl inferior-slime slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime easy-mmode apropos etags fileloop generator xref project arc-mode archive-mode noutline outline icons pp hyperspec thingatpt advice bbdb derived bbdb-site timezone smtpmail sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils timeclock compile text-property-search comint ansi-osc ansi-color ring comp-run comp-common 0blayout-autoloads adoc-mode-autoloads aggressive-completion-autoloads all-the-icons-dired-autoloads all-the-icons-ibuffer-autoloads all-the-icons-ivy-rich-autoloads auto-complete-autoloads rx bbdb-autoloads cargo-autoloads cargo-mode-autoloads crdt-autoloads csv-mode-autoloads dired-git-autoloads all-the-icons-autoloads async-await-autoloads direnv-autoloads django-commands-autoloads dockerfile-mode-autoloads eglot-autoloads exec-path-from-shell-autoloads flycheck-autoloads go-mode-autoloads helm-autoloads helm-core-autoloads async-autoloads hydra-autoloads iter2-autoloads ivy-rich-autoloads ivy-autoloads jinx-autoloads list-unicode-display-autoloads lua-mode-autoloads magit-autoloads pcase git-commit-autoloads nix-mode-autoloads magit-section-autoloads nix-update-autoloads php-mode-autoloads popup-autoloads pos-tip-autoloads projectile-autoloads reformatter-autoloads finder-inf rust-mode-autoloads s-autoloads company-autoloads slime-autoloads macrostep-autoloads sx-autoloads markdown-mode-autoloads terraform-mode-autoloads dash-autoloads hcl-mode-autoloads transient-autoloads tree-sitter-langs-autoloads tree-sitter-autoloads treepy-autoloads tsc-autoloads web-mode-autoloads with-editor-autoloads info compat-autoloads xml-rpc-autoloads xterm-color-autoloads yaml-autoloads yaml-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib early-init rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 3134762 535482) (symbols 48 56061 1) (strings 32 542776 21641) (string-bytes 1 17547753) (vectors 16 207492) (vector-slots 8 3810397 458734) (floats 8 1694 18270) (intervals 56 229832 2696) (buffers 992 177)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 08:16:39 2023 Received: (at 67526) by debbugs.gnu.org; 29 Nov 2023 13:16:39 +0000 Received: from localhost ([127.0.0.1]:49108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8KQg-0006MO-Li for submit@debbugs.gnu.org; Wed, 29 Nov 2023 08:16:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8KQe-0006M9-6t for 67526@debbugs.gnu.org; Wed, 29 Nov 2023 08:16:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8KQQ-0003hx-8i; Wed, 29 Nov 2023 08:16:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fp+crJSGK2O+U2XCxOLGgFw9Svg+Uv8s5nndl2jwp8M=; b=rDsFxUPDbFjJ sFTVpdtcfSGnurRndPWzFyych0xCNS2niOi7JkbzJHRG1e3uCXv/FEH2U0GPirVyvwZGsbAGhGLBR jKne1LRgEf+4jIq3O8TUeQSw1WxYCmtSLX07T/axR039d77nD1w1GDkQnMrhLIH0GC71BIeRn5QXg Fs6zxoZxOxx76RpFPYyabVxmGfiQ2I/T1cZaGy2JRj0iggT+WYBjRutBuOb6uUrbJyZGZxdaTlEru Uwqmd7FZ+DXr+olB9Uw49TEafwQNdYeVFRixpnpWZA+KQVTGOk34jj7S8lgJDtxsQ8e09Daf9SbBB dM4s07qRPRBFrygsnkiTxA==; Date: Wed, 29 Nov 2023 15:16:08 +0200 Message-Id: <83h6l47l9j.fsf@gnu.org> From: Eli Zaretskii To: Simon Leinen , Eric Abrahamsen In-Reply-To: (message from Simon Leinen on Wed, 29 Nov 2023 11:16:20 +0100) Subject: Re: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67526 Cc: 67526@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Simon Leinen > Date: Wed, 29 Nov 2023 11:16:20 +0100 > > In the current development version of Emacs (Git master branch), > gnus-group-prev-group (bound to the "P" key) in Gnus's group buffer > works as before, except when it is on the second newgroup line. In this > case, the cursor stays put on the second line and refuses to move up to > the first. The same is true for gnus-group-prev-unread-group (bound to > "p"), even when the first group has unread messages. > > I suspect the issue lies in gnus-group-search-forward, which was > recently simplified by Eric Abrahamsen in commit > 7304cc8a9ca8a7d19baaa24f0a72c7ad9a6a9716 Adding Eric to the discussion. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 10:16:22 2023 Received: (at 67526) by debbugs.gnu.org; 29 Nov 2023 15:16:22 +0000 Received: from localhost ([127.0.0.1]:50724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8MIW-0004IS-A3 for submit@debbugs.gnu.org; Wed, 29 Nov 2023 10:16:22 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:57194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8MIU-0004IC-Gx for 67526@debbugs.gnu.org; Wed, 29 Nov 2023 10:16:19 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 741DBFA396; Wed, 29 Nov 2023 15:16:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1701270964; bh=LS9Wm5Dl8gqqE8rkCdF9gaIRm3MbUnHEZ/VlPaaR3Tg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hq11X8mN9McKUfKjFFzzFrWqyu0G8XFu88tbCy78XuHoz3f3jWEfJD83iVtnycT8V HUZ5ljDqyHrUi0Wot7YNiwJMYcyVv4v0bnja7aX3UR0oYDpnvIV/220ei6NQuAn9TD 9rIGeMYfGJksox+Xfd5ny6BJZIbGtp4wL4ADYxOU= From: Eric Abrahamsen To: Eli Zaretskii Subject: Re: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group In-Reply-To: <83h6l47l9j.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Nov 2023 15:16:08 +0200") References: <83h6l47l9j.fsf@gnu.org> Date: Wed, 29 Nov 2023 07:16:03 -0800 Message-ID: <87il5koaj0.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67526 Cc: Simon Leinen , 67526@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 11/29/23 15:16 PM, Eli Zaretskii wrote: >> From: Simon Leinen >> Date: Wed, 29 Nov 2023 11:16:20 +0100 >> >> In the current development version of Emacs (Git master branch), >> gnus-group-prev-group (bound to the "P" key) in Gnus's group buffer >> works as before, except when it is on the second newgroup line. In this >> case, the cursor stays put on the second line and refuses to move up to >> the first. The same is true for gnus-group-prev-unread-group (bound to >> "p"), even when the first group has unread messages. >> >> I suspect the issue lies in gnus-group-search-forward, which was >> recently simplified by Eric Abrahamsen in commit >> 7304cc8a9ca8a7d19baaa24f0a72c7ad9a6a9716 > > Adding Eric to the discussion. 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... From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 10:50:45 2023 Received: (at 67526) by debbugs.gnu.org; 29 Nov 2023 15:50:46 +0000 Received: from localhost ([127.0.0.1]:50775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Mpp-0005VV-K1 for submit@debbugs.gnu.org; Wed, 29 Nov 2023 10:50:45 -0500 Received: from mx4.switch.ch ([85.235.88.35]:58546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Mpm-0005VH-Tn for 67526@debbugs.gnu.org; Wed, 29 Nov 2023 10:50:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=switch.ch; l=1387; s=selector1; t=1701273035; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=RbSSpIa9sK5uZjAxrOq83UtXiDfPQSkq+uaNroWffyg=; b=AqvK6IN7sR3iJK1kfCfCble6BETXDHz6sGpoudV9RGcZ1cTL32O7NOd+ 8fgwuJZUZR5mwJ0biuBE54WvC7Y+xwdj+2g3qNQEAv0ErNQvB9rbQSSiY J2eYVL8bGf1Sxa446Rr8e4g3lSa8mJUkUtaZxG13sUpGvDtTCmYmopb6c 3IoGrDNlXhoRWBX7HKfbQY8zgBncQaN/dEHd+7GLL7LdLyk5EusZ/2uIq D/Hk+JmsV3WT7NNKcNN977Hh8HsJLzwvvV38uqVzVWEiK/QjXDQg7ph/R fXSiF0yTMTBQTvKjTZ61D2u2iuV+zM979R23/4V+0mP9YzLxaAtkeoS2U g==; X-IronPort-MAIL-FROM: simon.leinen@switch.ch X-IronPort-RCPT-TO: 67526@debbugs.gnu.org, eliz@gnu.org, eric@ericabrahamsen.net X-IronPort-AV: E=Sophos;i="6.04,235,1695679200"; d="scan'208";a="5879897" Received: from unknown (HELO SWH-S04-EXC2.swd.switch.ch) ([172.16.60.12]) by mx4int.switch.ch with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 16:50:33 +0100 Received: from macsl (172.16.60.33) by SWH-S04-EXC2.swd.switch.ch (172.16.60.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 29 Nov 2023 16:50:32 +0100 From: Simon Leinen To: Eric Abrahamsen Subject: Re: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group In-Reply-To: <87il5koaj0.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 29 Nov 2023 07:16:03 -0800") References: <83h6l47l9j.fsf@gnu.org> <87il5koaj0.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 29 Nov 2023 16:50:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.16.60.33] X-ClientProxiedBy: SWH-S05-EXC3.swd.switch.ch (172.16.60.14) To SWH-S04-EXC2.swd.switch.ch (172.16.60.12) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67526 Cc: Eli Zaretskii , 67526@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 30 04:06:42 2023 Received: (at 67526) by debbugs.gnu.org; 30 Nov 2023 09:06:42 +0000 Received: from localhost ([127.0.0.1]:52277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8d0M-00013O-1p for submit@debbugs.gnu.org; Thu, 30 Nov 2023 04:06:42 -0500 Received: from mx3.switch.ch ([85.235.88.34]:58171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8d0I-00013E-P5 for 67526@debbugs.gnu.org; Thu, 30 Nov 2023 04:06:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=switch.ch; l=1718; s=selector1; t=1701335191; h=mime-version:content-transfer-encoding:message-id:date: from:to:cc:subject:in-reply-to:references; bh=7qqRaLlgC61egMdtXuj8xA1aXlGTQVr4wT6Qlp2MZpE=; b=U30F1jAYnD7p8u8nyaaIsZqng4WLp+/Lmt6vNTpMb3kxqzN/pjwvRQ6f 9Iksqleca3BTbP0RKUDYtpuxvncHGjy75H2Ih5+rsEwsRLjnOBT9/SQ0o qmCc9RT7PY6+/2Zqg5sQdyKjgncX3Wb+EzBy8FMtu9y0pm/nOmeEqX9eC BludtZXJdC95fbELuXNUY7WSof/7YWBEkZAUdDNZIBrsolkMHBmNWAB8R JwB7Q8wfO+iMrtuzjFDsQjueCPUDaxt+HSTYfiCp/Y+Cvtae5Wcy1//bY 1iT3kP/RWQ55ETvTLW3lx7c1OG7riouRHfx8WqS2Hg4vwbrQgqcOAAJrh w==; X-IronPort-MAIL-FROM: simon.leinen@switch.ch X-IronPort-RCPT-TO: 67526@debbugs.gnu.org, eliz@gnu.org, eric@ericabrahamsen.net X-IronPort-AV: E=Sophos;i="6.04,237,1695679200"; d="scan'208";a="6167072" Received: from unknown (HELO SWH-S04-EXC2.swd.switch.ch) ([172.16.60.12]) by mx3int.switch.ch with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 10:06:28 +0100 Received: from macsl (172.16.60.33) by SWH-S04-EXC2.swd.switch.ch (172.16.60.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 30 Nov 2023 10:06:27 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <25960.20627.471292.731610@switch.ch> Date: Thu, 30 Nov 2023 10:06:27 +0100 From: Simon Leinen To: Eric Abrahamsen Subject: Re: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group In-Reply-To: References: <83h6l47l9j.fsf@gnu.org> <87il5koaj0.fsf@ericabrahamsen.net> X-Mailer: VM 8.2.0b under 30.0.50 (aarch64-apple-darwin22.6.0) X-Originating-IP: [172.16.60.33] X-ClientProxiedBy: SWH-S05-EXC3.swd.switch.ch (172.16.60.14) To SWH-S04-EXC2.swd.switch.ch (172.16.60.12) X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 67526 Cc: Eli Zaretskii , 67526@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.9 (---) > 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... OK, I think I know now. It was a mistake to add the "(if backward (bobp) ...)" branch. Probably the intent was to restore symmetry for the backward-moving case. But the pre-existing (eobp) test will succeed only when the cursor is *beyond* the last newsgroup line - because the end of the buffer is not at the end of the last newsgroup line, but on an empty line *after* that last newsgroup line. Testing for (bobp) in the backwards case is not equivalent, because (at least in my case) the beginning of the buffer position is very much *on* a valid/eligible newsgroup line. Maybe this is not the case for Eric, because he uses topic mode? Anyway in my limited testing, the old logic works fine for that case too. So I suggest to revert that part of Eric's change, as per the patch I'm resending here with a correction - I had written ENDP instead of EOBP, sorry about the confusion. diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 9a1a6f9b27d..f2258026eca 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 (eobp)) (not (setq found (and If you're worried - and I haven't thought through whether this should be of any concern - that the (eobp) check should not be done in the backwards case, then a suitable alternate clause could be (or backward (not (eobp))) -- Simon. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 03 09:55:58 2023 Received: (at 67526) by debbugs.gnu.org; 3 Dec 2023 14:55:58 +0000 Received: from localhost ([127.0.0.1]:60585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9nt0-00030S-Di for submit@debbugs.gnu.org; Sun, 03 Dec 2023 09:55:58 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:52126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9nsv-0002zQ-IH for 67526@debbugs.gnu.org; Sun, 03 Dec 2023 09:55:57 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 89C94FA02E; Sun, 3 Dec 2023 14:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1701615337; bh=oj8rEv/E4cF7mFzaN5birB3D/If3usqcVeK8SD4NeQY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CUGmHF+NS2H+lav0UT1nMOVkUceZV90dCS6MmOEulp4FVOB3powoaKrjxQFsnBaLe 7gunTqUWDkzX3bqILFuBah/QBqGkHPlnOWwZPW7SHTLvMkUyvQj47AO3E6pq6kX+3g vtIQ+8YjS+lQol6O4OICs1nAA6O6n5cu/sAO5JZ4= From: Eric Abrahamsen To: Simon Leinen Subject: Re: bug#67526: 30.0.50; Regression: gnus-group-prev-group fails to move to first group In-Reply-To: <25960.20627.471292.731610@switch.ch> (Simon Leinen's message of "Thu, 30 Nov 2023 10:06:27 +0100") References: <83h6l47l9j.fsf@gnu.org> <87il5koaj0.fsf@ericabrahamsen.net> <25960.20627.471292.731610@switch.ch> Date: Sun, 03 Dec 2023 06:55:36 -0800 Message-ID: <87zfyrtjx3.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67526 Cc: Eli Zaretskii , 67526@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Leinen writes: >> 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... > > OK, I think I know now. It was a mistake to add the "(if backward > (bobp) ...)" branch. Probably the intent was to restore symmetry for > the backward-moving case. But the pre-existing (eobp) test will > succeed only when the cursor is *beyond* the last newsgroup line - > because the end of the buffer is not at the end of the last newsgroup > line, but on an empty line *after* that last newsgroup line. Testing > for (bobp) in the backwards case is not equivalent, because (at least > in my case) the beginning of the buffer position is very much *on* a > valid/eligible newsgroup line. Maybe this is not the case for Eric, > because he uses topic mode? Anyway in my limited testing, the old > logic works fine for that case too. > > So I suggest to revert that part of Eric's change, as per the patch > I'm resending here with a correction - I had written ENDP instead of > EOBP, sorry about the confusion. > > diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el > index 9a1a6f9b27d..f2258026eca 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 (eobp)) > (not (setq > found > (and > > If you're worried - and I haven't thought through whether this should > be of any concern - that the (eobp) check should not be done in the > backwards case, then a suitable alternate clause could be > > (or backward (not (eobp))) Well that's weird -- I'm not sure how I boffed my testing, but I'd boffed it, and now I'm seeing the same result as you. Thanks for doing the extra work. I'm just going to revert to the original logic, with the obvious fix to the progn sexp. I should know better than to start stomping off across unfamiliar code... From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 08 12:53:47 2023 Received: (at control) by debbugs.gnu.org; 8 Dec 2023 17:53:47 +0000 Received: from localhost ([127.0.0.1]:46030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBf2o-00019H-R6 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 12:53:47 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:46976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBf2n-00018w-6B for control@debbugs.gnu.org; Fri, 08 Dec 2023 12:53:45 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 96B68FA09E for ; Fri, 8 Dec 2023 17:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1702058006; bh=cTv3fRdtW0j9J1dSeCobvx24vYWciRoJOWyCAkHLHEY=; h=Date:To:From:Subject:From; b=RpzXF6xeOLza2A3JOF+e95OjoheI9JRlLCEWcjQ7Ee8f6i0IN2l+8VuTlp7PG6BZu uSf/KP8YWoKG4cAimGE+S+kxbqKda7a+xjF2F9obxX2ir9KQWcCJrsLthAfaDY3DjQ Rm9cU0VXFUP0fmXlCri3pRoqHuJrrV+KNU+MAGtA= Date: Fri, 08 Dec 2023 09:53:25 -0800 Message-ID: To: control@debbugs.gnu.org From: Eric Abrahamsen Subject: control message for bug #67526 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 67526 30.1 quit From unknown Sat Jun 21 03:23:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Jan 2024 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator