From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67473 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: gnus-article-read-summary-keys: can't handle hidden summary buffer? Date: Mon, 29 Sep 2008 13:29:51 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222662683 12667 80.91.229.12 (29 Sep 2008 04:31:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2008 04:31:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15924@lists.math.uh.edu Mon Sep 29 06:32:21 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KkAQg-0001M1-3D for ding-account@gmane.org; Mon, 29 Sep 2008 06:32:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KkAOo-0000Zd-KC; Sun, 28 Sep 2008 23:30:18 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KkAOn-0000ZO-9s for ding@lists.math.uh.edu; Sun, 28 Sep 2008 23:30:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KkAOj-00040K-UI for ding@lists.math.uh.edu; Sun, 28 Sep 2008 23:30:17 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KkAOo-0006Fh-00 for ; Mon, 29 Sep 2008 06:30:18 +0200 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8T4TNCl004483; Mon, 29 Sep 2008 13:29:52 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Mon, 29 Sep 2008 13:29:52 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay11.aps.necel.com with ESMTP; Mon, 29 Sep 2008 13:29:52 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 2B5ED3CB; Mon, 29 Sep 2008 13:29:52 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 44 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67473 Archived-At: If I select the article window, and hide the summary buffer (something I often like to do while reading long threads), then many inter-article movement commands give an error like: gnus-article-read-summary-keys: Wrong type argument: window-live-p, # The commands still seem to pretty much do the right thing (for instance, "n" still moves to the next message), but the constant error messages are annoying (and presumably there are some minor functional differences as well). This used to work properly, with no error messages. I'm not really sure when error messages started showing up, but sometime in the medium-past (at least the last year or so I think?). The stack backtrace is: Debugger entered--Lisp error: (wrong-type-argument window-live-p #) window-buffer(#) (set-buffer (window-buffer win)) (save-current-buffer (set-buffer (window-buffer win)) (eq major-mode (quote gnus-summary-mode))) (with-current-buffer (window-buffer win) (eq major-mode (quote gnus-summary-mode))) (and (not not-restore-window) new-sum-point (with-current-buffer (window-buffer win) (eq major-mode ...))) (if (and (not not-restore-window) new-sum-point (with-current-buffer ... ...)) (progn (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll))) (when (and (not not-restore-window) new-sum-point (with-current-buffer ... ...)) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll)) (progn (setq selected (gnus-summary-select-article)) (set-buffer obuf) (unless not-restore-window (set-window-configuration owin)) (when (and ... new-sum-point) (set-window-start ... 1) (set-window-point ... ...)) (when (and ... new-sum-point ...) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll))) (if (or (eq in-buffer ...) (when ... ... t)) (progn (setq selected ...) (set-buffer obuf) (unless not-restore-window ...) (when ... ... ...) (when ... ... ... ...))) (when (or (eq in-buffer ...) (when ... ... t)) (setq selected (gnus-summary-select-article)) (set-buffer obuf) (unless not-restore-window (set-window-configuration owin)) (when (and ... new-sum-point) (set-window-start ... 1) (set-window-point ... ...)) (when (and ... new-sum-point ...) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll))) (progn (when (eq win ...) (setq new-sum-point ... new-sum-start ... new-sum-hscroll ...)) (when (or ... ...) (setq selected ...) (set-buffer obuf) (unless not-restore-window ...) (when ... ... ...) (when ... ... ... ...))) (if (and (setq func ...) (functionp func) (condition-case code ... ...)) (progn (when ... ...) (when ... ... ... ... ... ...)) (set-window-configuration owin) (if err (signal ... ...) (ding))) (let ((obuf ...) (owin ...) win func in-buffer selected new-sum-start new-sum-hscroll err) (cond (not-restore-window ... ...) (... ...) (t ...)) (setq in-buffer (current-buffer)) (if (and ... ... ...) (progn ... ...) (set-window-configuration owin) (if err ... ...))) (cond ((eq ... 8) (gnus-article-describe-bindings ...)) ((or ... ... ...) (let ... ... ... ...)) (t (let ... ... ... ...))) (let ((nosaves ...) (nosave-but-article ...) (nosave-in-article ...) (up-to-top ...) keys new-sum-point) (with-current-buffer gnus-article-current-summary (let ... ...)) (message "") (cond (... ...) (... ...) (t ...))) gnus-article-read-summary-keys(nil) call-interactively(gnus-article-read-summary-keys nil nil) Thanks, -Miles -- The secret to creativity is knowing how to hide your sources. --Albert Einstein