From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Detlev Zundel Newsgroups: gmane.emacs.bugs Subject: bug#11404: 24.1.50; gnus-summary: "Hiding the thread moved us backwards, aborting!" impedes workflow Date: Fri, 04 May 2012 12:58:47 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336129234 668 80.91.229.3 (4 May 2012 11:00:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 May 2012 11:00:34 +0000 (UTC) To: 11404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 04 13:00:33 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQGFV-0005Gd-38 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 13:00:33 +0200 Original-Received: from localhost ([::1]:42603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGFU-00019v-Fn for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 May 2012 07:00:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGFP-00019Z-Do for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 07:00:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQGFI-0005q7-7t for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 07:00:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGFI-0005q2-3u for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 07:00:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQGGw-00052Y-Jp for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Detlev Zundel Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 May 2012 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133612926219305 (code B ref -1); Fri, 04 May 2012 11:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2012 11:01:02 +0000 Original-Received: from localhost ([127.0.0.1]:35836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQGFx-000512-HD for submit@debbugs.gnu.org; Fri, 04 May 2012 07:01:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34670) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQGFu-00050m-94 for submit@debbugs.gnu.org; Fri, 04 May 2012 07:01:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQGE7-0005Fm-Hu for submit@debbugs.gnu.org; Fri, 04 May 2012 06:59:09 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:52032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGE7-0005F9-E4 for submit@debbugs.gnu.org; Fri, 04 May 2012 06:59:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGE1-0000z2-V8 for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQGDv-00050D-Es for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:59:01 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:44849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQGDv-0004tc-4r for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 06:58:55 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VkVZy0HG2z4KMms for ; Fri, 4 May 2012 12:58:49 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 3VkVZx6LY0z4KK5Y for ; Fri, 4 May 2012 12:58:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from smtp-auth.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id T4MA-EDBVFYw for ; Fri, 4 May 2012 12:58:48 +0200 (CEST) Original-Received: from mail.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA for ; Fri, 4 May 2012 12:58:48 +0200 (CEST) Original-Received: from lamuella.denx.de (lamuella [10.0.40.5]) by mail.denx.de (Postfix) with ESMTP id F2FE3240030 for ; Fri, 4 May 2012 12:58:47 +0200 (CEST) Original-Received: from dzu by lamuella.denx.de with local (Exim 4.77) (envelope-from ) id 1SQGDn-0001EY-Pz for bug-gnu-emacs@gnu.org; Fri, 04 May 2012 12:58:47 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59738 Archived-At: Hi, In GNUS I use threaded reading of mails. Sometimes in a longer thread, I'm only interested in a specific mail "down" the thread, without even reading the thread starting mail. This is especially common with git patch sets of which only one changeset is interesting to me. Having read that individual message (and thus marked it as read), I want to dismiss the whole thread, so I do a 'gnus-summary-top-thread' and 'gnus-summary-kill-thread'. This workflow used to work perfectly fine until some time ago when the 'gnus-summary-kill-thread' command started to throw the message "Hiding the thread moved us backwards, aborting!" and left me at the _bottom_ of the summary. The latter behaviour is especially unnerving if the summary has hundreds of mails in it and the "working position" needs to be recovered manually. Today I actually looked into what is causing this problem and found this commit: http://lists.gnu.org/archive/html/emacs-diffs/2011-05/msg00244.html revno: 104293 author: Teodor Zlatanov committer: Katsumi Yamaoka branch nick: trunk timestamp: Fri 2011-05-20 01:00:46 +0000 message: gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever. modified: lisp/gnus/ChangeLog lisp/gnus/gnus-sum.el For a test I reverted the change manually and sure enough I have my "regular workflow" back, i.e. the thread is killed as expected, no message appears and Emacs keeps working as expected - no endless loop is encountered. So what is this "fix" supposed to fix and can it be changed so that the described workflow wtill works? Thanks Detlev In GNU Emacs 24.1.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-05-03 on lamuella Windowing system distributor `The X.Org Foundation', version 11.0.11104000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t desktop-save-mode: t dynamic-completion-mode: t iswitchb-mode: t auto-insert-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-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 Recent input: [...] Recent messages: Mark set End of message [12 times] Hiding the thread moved us backwards, aborting! Auto-saving... Mark saved where search started [3 times] gnus-summary-hide-thread Mark set Opening nntp server on news.gmane.org...done Hit C-g to stop BBDB from annotating. 5 of 5 addresses processed. Auto-saving...done Load-path shadows: /usr/local/share/emacs/24.1.50/lisp/progmodes/compile hides /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/compile /usr/local/share/emacs/24.1.50/lisp/textmodes/table hides /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/table /usr/local/share/emacs/24.1.50/lisp/cedet/semantic hides /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/semantic /usr/local/share/emacs/24.1.50/lisp/progmodes/cpp hides /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/cpp /usr/local/share/emacs/24.1.50/lisp/loaddefs hides /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/loaddefs /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/texi hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/texi /usr/local/share/emacs/24.1.50/lisp/imenu hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/imenu /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/find hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/find /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/chart hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/chart /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/ctxt hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/ctxt /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/java hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/java /usr/local/share/emacs/24.1.50/lisp/format hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/format /usr/local/share/emacs/24.1.50/lisp/sort hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/sort /usr/local/share/emacs/24.1.50/lisp/loaddefs hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/loaddefs /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/debug hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/debug /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/wisent hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/wisent/wisent /usr/local/share/emacs/24.1.50/lisp/progmodes/python hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/wisent/python /usr/local/share/emacs/24.1.50/lisp/progmodes/grep hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/symref/grep /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/mode hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/decorate/mode /usr/local/share/emacs/24.1.50/lisp/cedet/srecode/el hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/bovine/el /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/debug hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/bovine/debug /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/complete hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/analyze/complete /usr/local/share/emacs/24.1.50/lisp/emacs-lisp/debug hides /usr/local/share/emacs/24.1.50/lisp/cedet/semantic/analyze/debug Features: (shadow emacsbug gnus-html xml url-cache mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf shr-color color shr browse-url flow-fill gnus-dup bbdb-hooks multi-isearch bbdb-gui sort gnus-cite gnus-async gnus-bcklg gnus-kill qp gnus-ml gnus-topic nndraft nnmh nnmairix nnml nnfolder bbdb-gnus bbdb-snarf mail-extr bbdb-com cl netrc gnutls network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader wid-edit sh-script executable footnote message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader info make-mode tex-mode shell parse-time eldoc jka-compr tar-mode dired-aux conf-mode newcomment vc-git face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org warnings ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete org-list org-faces org-compat org-entities org-macs noutline outline easy-mmode format-spec company-autoloads package tabulated-list desktop glimpse dired compile view mule-util cal-julian cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-cvs appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs disp-table cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cmuscheme comint ansi-color ring scheme advice help-fns advice-preload bbdb-autoloads bbdb timezone completion iswitchb autoinsert paren time cus-start cus-load server keypad url-util url-parse auth-source eieio assoc gnus-util password-cache url-vars mm-util mail-prsvr byte-opt bytecomp byte-compile cconv macroexp time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de