From unknown Sat Sep 06 04:31:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7798: gnus-summary-next-article selects the nil window Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jan 2011 04:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7798 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7798@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129437292518912 (code B ref -1); Fri, 07 Jan 2011 04:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2011 04:02:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3We-0004uz-Ke for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:02:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3Wc-0004uW-0l for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:02:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3dc-0000gB-90 for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:09:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:54899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3dc-0000fT-1h for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:09:16 -0500 Received: from [140.186.70.92] (port=46783 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3ah-0005Ya-6x for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3af-0000HI-Bi for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:14 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:50696 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3af-0000HE-4i for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPYfJk1MCpdc/2dsb2JhbACWDgGOD3S9BoMUgjgEhGc8jWQ X-IronPort-AV: E=Sophos;i="4.60,286,1291611600"; d="scan'208";a="87278545" Received: from 76-10-151-92.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.92]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2011 23:06:12 -0500 Received: by pastel.home (Postfix, from userid 20848) id 4209D58B92; Thu, 6 Jan 2011 23:06:12 -0500 (EST) From: Stefan Monnier Message-ID: Date: Thu, 06 Jan 2011 23:06:12 -0500 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Package: Emacs Version: 24.0.50 When I reach the end of a group in Gnus, if I have the *Group* buffer displayed in a separate frame, pressing `n' signals an error about select-window being called with a nil argument. This is because of the following piece of code in gnus-summary-next-article: ;; For some reason, the group window gets selected. We change ;; it back. (select-window (get-buffer-window (current-buffer))) At this point the selected frame is the one displaying the *Group* buffer, and the current-buffer is the *Summary...* buffer, which is not displayed in this frame. I added a 0 argument to get-buffer-window which seems to work around the problem, but fundamentally I'm not sure it's right for this code to assume that *Summary...* is displayed somewhere. Stefan In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-01-05 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-maintainer-mode' 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--with-x-toolkit=lucid'' 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: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: outline-minor-mode: t flyspell-mode: t eldoc-mode: t checkdoc-minor-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: l SPC l k k n n n N N N n n n n SPC n n n n n n n q C-e C-M-x n n C-s s e l e c t - w i n C-a e ( c u r r e n t - b u f f e r ) e M-p ( g e t - b u f f e r - w i n d o w SPC C-e ) e M-p C-e SPC 0 C-e q M-x r e p - e m - b u g C-g M-x M-p C-g C-M-SPC M-w M-x M-p Recent messages: Add PUSH documentation to end of doc string? (y or n) n checkdoc-defun: Argument `push' should appear (as PUSH) in the doc string Entering debugger... Mark saved where search started # nil # Back to top level. Quit [3 times] Mark set Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (vc-dispatcher gnus-dup browse-url emacsbug woman tutorial help-macro man assoc info-look info help-at-pt ehelp apropos multi-isearch cl-specs xscheme warnings trace testcover scheme unsafep re-builder shadow inf-lisp ielm pp comint ring elp edebug cust-print vc-bzr sha1 hex-util filecache find-func debug nnfolder gnus-topic cus-edit cus-start cus-load nnagent nnml flow-fill supercite regi mule-util sort smiley ansi-color gnus-cite mail-extr gnus-async gnus-bcklg qp byte-opt bytecomp byte-compile gnus-ml disp-table nndraft nnmh nnimap parse-time utf7 executable copyright gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nntp proto-stream starttls tls gnus-cache nnir gnus-sum macroexp nnoo gnus-group time-date gnus-undo nnmail mail-source format-spec server gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode electric url-handlers url-parse auth-source netrc gnus-util url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 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 x-toolkit x multi-tty emacs) From unknown Sat Sep 06 04:31:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Monnier Subject: bug#7798: closed (Re: bug#7798: gnus-summary-next-article selects the nil window) Message-ID: References: X-Gnu-PR-Message: they-closed 7798 X-Gnu-PR-Package: emacs,gnus Reply-To: 7798@debbugs.gnu.org Date: Tue, 11 Jan 2011 18:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1294770902-14718-1" This is a multi-part message in MIME format... ------------=_1294770902-14718-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7798: gnus-summary-next-article selects the nil window which was filed against the emacs,gnus package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7798@debbugs.gnu.org. --=20 7798: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7798 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1294770902-14718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7798-close) by debbugs.gnu.org; 11 Jan 2011 18:34:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcj3a-0003p9-Dj for submit@debbugs.gnu.org; Tue, 11 Jan 2011 13:34:58 -0500 Received: from smtp.getmail.no ([84.208.15.66]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcj3Y-0003ox-LR for 7798-close@debbugs.gnu.org; Tue, 11 Jan 2011 13:34:57 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from get-mta-scan04.get.basefarm.net ([10.5.16.4]) by get-mta-out01.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEV002FXFYNSF20@get-mta-out01.get.basefarm.net> for 7798-close@debbugs.gnu.org; Tue, 11 Jan 2011 19:42:23 +0100 (MET) Received: from get-mta-scan04.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 43AAF1EEF0BC_D2CA48FB for <7798-close@debbugs.gnu.org>; Tue, 11 Jan 2011 18:42:23 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan04.get.basefarm.net (Sophos Email Appliance) with ESMTP id 08D451EEED4F_D2CA48FF for <7798-close@debbugs.gnu.org>; Tue, 11 Jan 2011 18:42:23 +0000 (GMT) Received: from quimbies.gnus.org ([84.215.51.58]) by get-mta-in03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LEV00FCUFYM3930@get-mta-in03.get.basefarm.net> for 7798-close@debbugs.gnu.org; Tue, 11 Jan 2011 19:42:23 +0100 (MET) Received: from larsi by quimbies.gnus.org with local (Exim 4.72) (envelope-from ) id 1PcjAk-00014Y-P3; Tue, 11 Jan 2011 19:42:22 +0100 From: Lars Magne Ingebrigtsen To: Stefan Monnier Subject: Re: bug#7798: gnus-summary-next-article selects the nil window In-reply-to: Date: Tue, 11 Jan 2011 19:40:42 +0100 Message-id: References: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWUj5gCAgSzrbVXVV4b Gx+Df4igaHiuAAACTklEQVQ4jW3TS5LjIAwGYBUOB6DM7ClS3scj2IdC2RNj3f8q82On0+mpZpXw WeiBTe5Y4rzzmTtzU2u5hU4nOC/l3olUAdQpvsGJbzZQs6pKSlE/IIdGjSDW2kgH+OK8r7oQtWYJ i6M5AbmlZhoQYlweHNsBM4tIbeMcEwFzZaF1RHQINwqAQJZ9TYVkgDJL1jwyo5XkhStVcUUY/xh1 TgOqFIdwEY/zK3NlNIeFZ6RopFLECZeELPU2IPfkSwZgg1VkHoWNmKYsJQeUWwBJfJG9ouvWNKUR gQcl2wsyVWsxwZElFaZxlM90WWu9YbhjvtoPQIBXAGdMyVpCjs4rwEkSQMGoDIUxQe15wKhp573M R0Qb0nWtSr5mfQoAMwzHPtKswiQ4/Ol39wAYY1/gKo2JpLy7uRl6LQuYURXXpBfnxzE4C6O0ZwR3 dHYV2cYdxaC4K+qAyrba6eLcYwso13bOqsk9ELHULVxWtD8Com23RsnfDzAI8R2vQSBANjHxDQ1e ATYfEE1UgNmPzq81LkvFiHFQiNcbmy2dMNPU3bhmiiEQ4/LPiKVOfXKYejAjexhQLfl5qhNP7ijq WB3gp6Nzu0+Cl9acsDTdXScvfV54yTG89vGDLm7C2Nl31B0w2Bfh1sfYpQtesQ0QXiHM6wzwVjDT LehXACLWOZHz1mnvf+N7Py559S/Y6RMsr3/2L9jiuw9AeTzxig5onzDV9b5+w/dKvObyG6BcPSHv Lf4E636BgG9qGqD/wYLP7g3bT3jsA7pLu/mAK/Pt6f4BPO+9GNvCnP0AAAAASUVORK5CYII= X-Now-Playing: Akira Rabelais's _Caduceus_: "a door opens backwards" X-Hashcash: 1:23:110111:monnier@iro.umontreal.ca::gkv/vNN+haZi1G3/:00000000000000000000000000000000000000saC X-Hashcash: 1:23:110111:7798@debbugs.gnu.org::PBED6B1yap/AZgkT:00000000000000000000000000000000000000001aKz2 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7798-close Cc: 7798-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: > This is because of the following piece of code in gnus-summary-next-article: > > ;; For some reason, the group window gets selected. We change > ;; it back. > (select-window (get-buffer-window (current-buffer))) > > At this point the selected frame is the one displaying the *Group* > buffer, and the current-buffer is the *Summary...* buffer, which is not > displayed in this frame. I added a 0 argument to get-buffer-window > which seems to work around the problem, but fundamentally I'm not sure > it's right for this code to assume that *Summary...* is > displayed somewhere. It seems to work OK with the kludge removed, so I just removed it. We'll see if anybody complains. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ------------=_1294770902-14718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Jan 2011 04:02:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3We-0004uz-Ke for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:02:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3Wc-0004uW-0l for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:02:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3dc-0000gB-90 for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:09:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:54899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3dc-0000fT-1h for submit@debbugs.gnu.org; Thu, 06 Jan 2011 23:09:16 -0500 Received: from [140.186.70.92] (port=46783 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3ah-0005Ya-6x for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3af-0000HI-Bi for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:14 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:50696 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3af-0000HE-4i for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 23:06:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPYfJk1MCpdc/2dsb2JhbACWDgGOD3S9BoMUgjgEhGc8jWQ X-IronPort-AV: E=Sophos;i="4.60,286,1291611600"; d="scan'208";a="87278545" Received: from 76-10-151-92.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.92]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2011 23:06:12 -0500 Received: by pastel.home (Postfix, from userid 20848) id 4209D58B92; Thu, 6 Jan 2011 23:06:12 -0500 (EST) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: gnus-summary-next-article selects the nil window Message-ID: Date: Thu, 06 Jan 2011 23:06:12 -0500 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Package: Emacs Version: 24.0.50 When I reach the end of a group in Gnus, if I have the *Group* buffer displayed in a separate frame, pressing `n' signals an error about select-window being called with a nil argument. This is because of the following piece of code in gnus-summary-next-article: ;; For some reason, the group window gets selected. We change ;; it back. (select-window (get-buffer-window (current-buffer))) At this point the selected frame is the one displaying the *Group* buffer, and the current-buffer is the *Summary...* buffer, which is not displayed in this frame. I added a 0 argument to get-buffer-window which seems to work around the problem, but fundamentally I'm not sure it's right for this code to assume that *Summary...* is displayed somewhere. Stefan In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-01-05 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-maintainer-mode' 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--with-x-toolkit=lucid'' 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: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: outline-minor-mode: t flyspell-mode: t eldoc-mode: t checkdoc-minor-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: l SPC l k k n n n N N N n n n n SPC n n n n n n n q C-e C-M-x n n C-s s e l e c t - w i n C-a e ( c u r r e n t - b u f f e r ) e M-p ( g e t - b u f f e r - w i n d o w SPC C-e ) e M-p C-e SPC 0 C-e q M-x r e p - e m - b u g C-g M-x M-p C-g C-M-SPC M-w M-x M-p Recent messages: Add PUSH documentation to end of doc string? (y or n) n checkdoc-defun: Argument `push' should appear (as PUSH) in the doc string Entering debugger... Mark saved where search started # nil # Back to top level. Quit [3 times] Mark set Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (vc-dispatcher gnus-dup browse-url emacsbug woman tutorial help-macro man assoc info-look info help-at-pt ehelp apropos multi-isearch cl-specs xscheme warnings trace testcover scheme unsafep re-builder shadow inf-lisp ielm pp comint ring elp edebug cust-print vc-bzr sha1 hex-util filecache find-func debug nnfolder gnus-topic cus-edit cus-start cus-load nnagent nnml flow-fill supercite regi mule-util sort smiley ansi-color gnus-cite mail-extr gnus-async gnus-bcklg qp byte-opt bytecomp byte-compile gnus-ml disp-table nndraft nnmh nnimap parse-time utf7 executable copyright gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nntp proto-stream starttls tls gnus-cache nnir gnus-sum macroexp nnoo gnus-group time-date gnus-undo nnmail mail-source format-spec server gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode electric url-handlers url-parse auth-source netrc gnus-util url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 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 x-toolkit x multi-tty emacs) ------------=_1294770902-14718-1--