From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#43538: 27.1; Hiding the thread moved us backwards, aborting! Date: Sun, 20 Sep 2020 14:36:41 -0400 Message-ID: <87imc8thvq.fsf@dick> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24794"; mail-complaints-to="usenet@ciao.gmane.io" To: 43538@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 20:37:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kK4D8-0006Mi-Vo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 20:37:19 +0200 Original-Received: from localhost ([::1]:51662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK4D7-0001Gn-UO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 14:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK4Cs-0001Dv-8K for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 14:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK4Cr-0007ia-VU for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 14:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK4Cr-0004QL-SN for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 14:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43538 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160062701316989 (code B ref -1); Sun, 20 Sep 2020 18:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2020 18:36:53 +0000 Original-Received: from localhost ([127.0.0.1]:52623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK4Ci-0004Px-G9 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 14:36:53 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK4Cf-0004Pk-ST for submit@debbugs.gnu.org; Sun, 20 Sep 2020 14:36:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK4Ce-0001C8-2P for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 14:36:49 -0400 Original-Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:32875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK4Ca-0007hO-Ei for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 14:36:47 -0400 Original-Received: by mail-qt1-x82f.google.com with SMTP id n18so10410012qtw.0 for ; Sun, 20 Sep 2020 11:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=6KxWPmo2wa8gaVjGzO6axNCPJtO+KcqwMhggAf8q6JY=; b=R8giwmcBLlOhTUwrStp7XgLDjVICt9lFt3rySgQVRsm1Arny9xVDDwpI/iGcPedBrL z3ELzZXHfUNEdxqxzMm4vMPGXbIzeToVSLamBOBOzWJnCQE4XgcKZSqB91VQn5nfiKG0 IiRCRRp1hkcIoFapk/m/n6DnDSPP5UCE9PCAs1qDJPuNl4SkmU4AoJCHL+IlTVvmX/qp vKKYA+AwvXuq8Qv0sEkO8ewxTwLJAPyrkRVLlncJFb1tGwqdxMyx9RSopFDn6JMWfo0U fDHBVvmH3L8zi0gVfOiRnno2K5ZgiFr8MwPTcuN3vaYU/n+mIwzUYs/ZSZbWITpWzGSH Ur7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=6KxWPmo2wa8gaVjGzO6axNCPJtO+KcqwMhggAf8q6JY=; b=jbmkklqYpmMD28wfJ2qVH8jp/2o4ng+NLMdXBzkBVCXChfTOnpDPk54O0ozyvUq0YZ /fVUYiT3tMM6HKhoM5Z5hKCeVfVOM0Qmo4FXhSbwyldqjd4ZVZ2pYW1xwOJZmZ8Hk+o5 n8xj2eRZUgmhvTloMZ5NqcXAiiagyk4uGlw1KM7IF22LuNQph0D2opldWA8ykTifGaWR 1izle6xoy3EH3yOCvNakssaD6VgbBMIrRshWFd/hcNm5zc6ZIzdJDLjZDtRmqJwp+mQX hUQ0F6rPezBoXpH/3pb7ao7gPSkazY6wbLPFVZx5524c2Z2JSqUkYJ49YdeusLWS1skE AC2w== X-Gm-Message-State: AOAM533K1v9+n7cIYwEl1ra74jpdBbHR/+t1uduVo0JG9RBZFZFVERtF U6CuSHIcg3bnFNXDJkX5pZ3td0J5GL4= X-Google-Smtp-Source: ABdhPJzL2gIP1bA9jaeYZNEIurEDA3/sKY3xqNdZWlN4YJ+feOUqsb45/uZtPxeCBa9CeDnd3WKFgg== X-Received: by 2002:ac8:3e09:: with SMTP id z9mr43663976qtf.227.1600627002882; Sun, 20 Sep 2020 11:36:42 -0700 (PDT) Original-Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id l5sm8064446qtc.28.2020.09.20.11.36.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Sep 2020 11:36:42 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=dick.r.chiang@gmail.com; helo=mail-qt1-x82f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188530 Archived-At: --=-=-= Content-Type: text/plain In a gnus summary buffer, hide all threads `T H`. A search via `M-s` for an arbitrary search term yields the ominous and enigmatic "Hiding the thread moved us backwards, aborting!" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Avoid-a-2011-hack-that-begs-off-an-infinite-loop.patch >From ed4adcfaa588fd3d7609acef07af9a8ebbcd04b2 Mon Sep 17 00:00:00 2001 From: dickmao Date: Sun, 20 Sep 2020 14:17:53 -0400 Subject: [PATCH] Avoid a 2011 hack that begs off an infinite loop `gnus-summary-position-point' moves point before the hidden thread thus breaking an assumption that `gnus-summary-hide-thread' would only ever move the point forward. * lisp/gnus/gnus-sum.el (gnus-summary-hide-thread): Jump past invisible thread instead of begging off with an out-of-band diagnostic. --- lisp/gnus/gnus-sum.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 8e27a94e5b..c2af93dbed 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -11829,8 +11829,7 @@ gnus-summary-hide-thread (overlay-put ol 'evaporate t))) (gnus-summary-goto-subject article) (when (> start (point)) - (message "Hiding the thread moved us backwards, aborting!") - (goto-char (point-max)))) + (goto-char starteol))) (goto-char start) nil)))) -- 2.26.2 --=-=-= Content-Type: text/plain In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2020-08-25 built on dick Repository revision: ddd82c2b1261b2c5d5425c0738112f47e2bb18bf Repository branch: gnus-dev-27 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.4 LTS Recent messages: Mark saved where search started [6 times] Auto-saving...done Quit [2 times] Auto-saving...done Mark set Mark saved where search started [2 times] Saving file /home/dick/emacs/.git/COMMIT_EDITMSG... Wrote /home/dick/emacs/.git/COMMIT_EDITMSG Git finished Mark saved where search started Configured using: 'configure --prefix=/home/dick/.local --with-rsvg=yes --with-xml2=yes' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Outline Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) pdf-occur-global-minor-mode: t bug-reference-mode: t pyvenv-mode: t show-paren-mode: t global-magit-file-mode: t magit-file-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t flx-ido-mode: t projectile-mode: t ido-everywhere: t override-global-mode: t shell-dirtrack-mode: t global-hl-line-mode: t winner-mode: t cl-old-struct-compat-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/dick/ESS/lisp/obsolete/ess-swv hides /home/dick/ESS/lisp/ess-swv /home/dick/ESS/lisp/obsolete/ess-rutils hides /home/dick/ESS/lisp/ess-rutils /home/dick/ESS/lisp/obsolete/ess-noweb hides /home/dick/ESS/lisp/ess-noweb /home/dick/ESS/lisp/obsolete/mouseme hides /home/dick/ESS/lisp/mouseme /home/dick/ESS/lisp/obsolete/ess-mouse hides /home/dick/ESS/lisp/ess-mouse /home/dick/ESS/lisp/obsolete/ess-noweb-mode hides /home/dick/ESS/lisp/ess-noweb-mode /home/dick/ESS/lisp/obsolete/make-regexp hides /home/dick/ESS/lisp/make-regexp /home/dick/ESS/lisp/obsolete/ess-r-a hides /home/dick/ESS/lisp/ess-r-a /home/dick/ESS/lisp/obsolete/ess-noweb-font-lock-mode hides /home/dick/ESS/lisp/ess-noweb-font-lock-mode /home/dick/gomacro-mode/gomacro-mode hides /home/dick/.emacs.d/elpa/gomacro-mode-20200326.1103/gomacro-mode /home/dick/ESS/lisp/julia-mode-latexsubs hides /home/dick/.emacs.d/elpa/julia-mode-20200717.1915/julia-mode-latexsubs /home/dick/ESS/lisp/julia-mode hides /home/dick/.emacs.d/elpa/julia-mode-20200717.1915/julia-mode /home/dick/.emacs.d/elpa/hydra-20170924.2259/lv hides /home/dick/.emacs.d/elpa/lv-20191106.1238/lv /home/dick/melpa-stats/melpa-stats hides /home/dick/.emacs.d/elpa/melpa-stats-20190720.1833/melpa-stats /home/dick/.emacs.d/elpa/async-20200113.1745/async-autoloads hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-autoloads /home/dick/.emacs.d/elpa/async-20200113.1745/async-bytecomp hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-bytecomp /home/dick/.emacs.d/elpa/async-20200113.1745/smtpmail-async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/smtpmail-async /home/dick/.emacs.d/elpa/async-20200113.1745/dired-async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/dired-async /home/dick/.emacs.d/elpa/async-20200113.1745/async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async /home/dick/.emacs.d/elpa/async-20200113.1745/async-pkg hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-pkg /home/dick/.emacs.d/lisp/json hides /home/dick/.local/share/emacs/27.1/lisp/json /home/dick/.emacs.d/elpa/map-2.1/map hides /home/dick/.local/share/emacs/27.1/lisp/emacs-lisp/map Features: (shadow sort flyspell ispell footnote mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig emacsbug sendmail dired-aux rect git-rebase sx-interaction sx-compose sx-question-list sx-favorites sx-networks sx-site sx-tag sx-time sx-question-mode sx-question-print sx-user sx-babel sx-button markdown-mode edit-indirect sx-switchto sx-question sx-method sx-auth sx-filter sx-request sx-encoding sx-cache pdf-sync pdf-annot pdf-outline pdf-history pdf-occur pdf-links pdf-tools pdf-isearch tablist pdf-misc pdf-view magit-bookmark bookmark pdf-cache pdf-info tq pdf-util tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet tar-mode arc-mode archive-mode make-mode tabify linum term disp-table ehelp fzf autoload lisp-mnt mm-archive timezone ein-markdown-mode ein-ipynb-mode ein-process ein-jupyter exec-path-from-shell ein-dev ein-notebook ein-gat ein-python-send ein-traceback ein-shared-output ein-pytools ein-pager view ein-completer ein-notification ein-scratchsheet ein-worksheet poly-ein display-line-numbers polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom ein-kill-ring ein-kernelinfo ein-file ein-notebooklist eieio-opt speedbar sb-image ezimage dframe ein-contents-api bug-reference magit-extras mule-util face-remap vc vc-dispatcher cl-print debug backtrace pulse ivy delsel colir color ivy-overlay dumb-jump f company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-cmake company-xcode company-eclim company-css company-nxml company-bbdb company-go company-template company-c-headers es-mode js yasnippet-snippets yasnippet company-capf help-fns radix-tree elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django elpy-refactor python tramp-sh jsonnet-mode ag vc-svn find-dired s sh-script executable org-element avl-tree ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m org-tempo tempo org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-jupyter jupyter-org-extensions jupyter-org-client jupyter-repl jupyter-kernel-manager jupyter-channel jupyter-widget-client simple-httpd jupyter-client jupyter-comm-layer jupyter-messages hmac-def jupyter-mime shr svg dom jupyter-kernelspec jupyter-env jupyter-base tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp eieio-base ob-emacs-lisp ob-ein ein-cell ein-output-area ein-kernel ein-ipdb ein-query ein-events ein-websocket websocket bindat ein-node ewoc ein-log ein-classes ein-core request ein ein-utils deferred cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs conf-mode network-stream url-http url-gw nsm url-cache url-auth misearch multi-isearch flycheck find-func jka-compr let-alist go-eldoc gomacro-mode go-mode find-file ffap paredit-ext paredit dired-x inf-ruby ruby-mode smie melpa-stats ht dash-functional anaphora a pp sx key-combo company haskell-interactive-mode haskell-presentation-mode haskell-process haskell-session haskell-compile haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-complete-module haskell-ghc-support etags fileloop generator dabbrev haskell-customize hydra lv use-package-ensure paren magit-patch-changelog magit-patch magit-submodule magit-obsolete magit-popup 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 smerge-mode diff diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode git-commit transient magit-git magit-section magit-utils crm log-edit message rmc dired dired-loaddefs rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async pcase server dash flx-ido flx solarized-theme solarized-definitions projectile ibuf-ext ibuffer ibuffer-loaddefs grep gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr google-translate-default-ui google-translate-core-ui ido google-translate-core google-translate-tk google-translate-backend use-package-bind-key bind-key auto-complete popup cus-edit cus-start cus-load wid-edit ess-r-mode ess-r-flymake flymake-proc flymake warnings thingatpt ess-r-xref xref ess-trns ess-r-package shell pcomplete ess-r-completion ess-roxy ess-r-syntax ess-rd noutline outline easy-mmode hideshow ess-s-lang ess-help ess-mode ess-inf project format-spec ess-tracebug ess ess-utils ess-custom compile comint ansi-color ace-window avy emms-player-mplayer emms-player-simple emms emms-compat twittering-mode epa derived epg epg-config tls gnutls puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap advice xml cl cl-extra help-mode use-package-core hl-line winner ring finder-inf howdoyou-autoloads json-reformat-autoloads json-snatcher-autoloads edmacro kmacro sml-mode-autoloads tornado-template-mode-autoloads info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2837923 335204) (symbols 48 68479 7) (strings 32 310282 45071) (string-bytes 1 12130316) (vectors 16 284437) (vector-slots 8 8125148 365738) (floats 8 4275 5269) (intervals 56 84405 4029) (buffers 1000 245)) --=-=-=--