From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: bs-show breaks and get confused about the minibuffer Date: Fri, 29 Aug 2008 15:49:38 +0200 Message-ID: References: <48B7C0E3.3090207@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220017852 23815 80.91.229.12 (29 Aug 2008 13:50:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 13:50:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: martin rudalics Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 15:51:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZ4O9-0003uI-4K for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2008 15:51:45 +0200 Original-Received: from localhost ([127.0.0.1]:53008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ4N9-0002CK-Vc for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2008 09:50:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ4M8-0001w3-Pj for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 09:49:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ4M8-0001vr-8r for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 09:49:40 -0400 Original-Received: from [199.232.76.173] (port=48986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ4M8-0001vk-2T for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 09:49:40 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:37999) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ4M7-00011X-Pf for help-gnu-emacs@gnu.org; Fri, 29 Aug 2008 09:49:40 -0400 Original-Received: from arwen.uni-trier.de (arwen.uni-trier.de [136.199.55.242]) by dd18200.kasserver.com (Postfix) with ESMTP id 8AA3D18079645; Fri, 29 Aug 2008 15:49:42 +0200 (CEST) In-Reply-To: <48B7C0E3.3090207@gmx.at> (martin rudalics's message of "Fri\, 29 Aug 2008 11\:26\:59 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57101 martin rudalics wrote: > err = no_switch_window (selected_window); > if (err) > /* If can't display in current window, let pop-to-buffer > try some other window. */ > return call3 (intern ("pop-to-buffer"), buffer, Qnil, norecord); > > so Emacs should ignore this but God knows what really happens. Hmm. Doesn't `pop-to-buffer' use `display-buffer'? Maybe the error is caused in there. My `display-buffer' starts like this: (defun my-display-buffer (buffer &optional not-this-window) (if (minibufferp) (with-selected-window (minibuffer-selected-window) (my-display-buffer buffer nil)) ...)) So it's conceivable I've worked around the same error, once. regards, Nikolaj Schumacher