From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68363 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Annoying windowp nil error Date: Sat, 21 Mar 2009 20:57:19 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87iqm2d4yo.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1237665538 25471 80.91.229.12 (21 Mar 2009 19:58:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 19:58:58 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16802@lists.math.uh.edu Sat Mar 21 21:00:15 2009 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 1Ll7Ma-0004aA-D8 for ding-account@gmane.org; Sat, 21 Mar 2009 21:00:12 +0100 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 1Ll7K7-0006Fs-TW; Sat, 21 Mar 2009 14:57:39 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ll7K4-0006Fd-UP for ding@lists.math.uh.edu; Sat, 21 Mar 2009 14:57:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Ll7Jy-0007Ml-6q for ding@lists.math.uh.edu; Sat, 21 Mar 2009 14:57:36 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ll7KL-0004mb-00 for ; Sat, 21 Mar 2009 20:57:53 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ll7Jx-0004B6-Hg for ding@gnus.org; Sat, 21 Mar 2009 19:57:29 +0000 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Mar 2009 19:57:29 +0000 Original-Received: from asjo by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Mar 2009 19:57:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68363 Archived-At: Hi. For quite as while I have sometimes gotten an annoying "Wrong type argument: windowp, nil" when finished reading an article. It didn't happen often enough that I bothered to investigate until today; I thought I might just have configured something weirdly. I have found out that it happens when I page through the last article of a group by pressing SPC, when reaching the end of the article, but only if I have a second window opened with gnuclient! It looks like something has changed, making the weird work-around that the patch included below removes not necessary - and now actually detrimental? At least on my machine: XEmacs 21.4 (patch 22) "Instant Classic" [Lucid] (x86_64-linux-gnu, Mule) of Tue Mar 3 2009 on nautilus No Gnus v0.11 Any ideas as to what the correct solution might be? Maybe the real solution is just to guard against calling select-window with nil? Or maybe it is to go through select-window and find out what windowp is being called on and add something there. Hm. Well, now it has been reported! :-) Best regards, Adam Index: gnus-sum.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v retrieving revision 7.238 diff -u -r7.238 gnus-sum.el --- gnus-sum.el 5 Feb 2009 09:04:09 -0000 7.238 +++ gnus-sum.el 21 Mar 2009 19:44:47 -0000 @@ -7635,9 +7635,6 @@ (if (eq gnus-keep-same-level 'best) (gnus-summary-best-group gnus-newsgroup-name) (gnus-summary-search-group backward gnus-keep-same-level)))) - ;; For some reason, the group window gets selected. We change - ;; it back. - (select-window (get-buffer-window (current-buffer))) ;; Select next unread newsgroup automagically. (cond ((or (not gnus-auto-select-next) -- "We get our thursdays from a banana." Adam Sjøgren asjo@koldfront.dk