From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: pop-to-buffer and friends new behavior or bug? Date: Tue, 21 Jun 2011 16:41:46 +0200 Message-ID: <4E00ADAA.4040206@gmx.at> References: <87zklhhcys.fsf@gmail.com> <87ei2tzg3o.fsf@gmail.com> <4DFA690A.20205@gmx.at> <87d3iccuqo.fsf@gmail.com> <4DFCCDE6.30007@gmx.at> <87boxu3oic.fsf@gmail.com> <4DFDF921.5090407@gmx.at> <87aadckisk.fsf@gmail.com> <4DFF11E3.5070503@gmx.at> <8739j3gvu8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308668121 15810 80.91.229.12 (21 Jun 2011 14:55:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 14:55:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 16:55:17 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZ2MG-0007yh-UR for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 16:55:17 +0200 Original-Received: from localhost ([::1]:40098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2MG-0004Qv-3S for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 10:55:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ29H-0000rD-1t for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:41:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ29F-0006Mq-Bj for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:41:50 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:53204) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QZ29E-0006M3-Oz for emacs-devel@gnu.org; Tue, 21 Jun 2011 10:41:49 -0400 Original-Received: (qmail invoked by alias); 21 Jun 2011 14:41:46 -0000 Original-Received: from 62-47-41-150.adsl.highway.telekom.at (EHLO [62.47.41.150]) [62.47.41.150] by mail.gmx.net (mp053) with SMTP; 21 Jun 2011 16:41:46 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18JvfBqEckJGRgKtn7f4v+Z5hKk1lxCBEtJ8PFn1q yT1FqCsrYOR+1S User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <8739j3gvu8.fsf@gmail.com> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140777 Archived-At: > I have fixed my problem in anything.el using this: > > --8<---------------cut here---------------start------------->8--- > [...] > (when (boundp 'display-buffer-alist) > (setq not-this-window '((reuse-window same other nil) > (pop-up-window (other))))) > (display-buffer buf not-this-window))) > --8<---------------cut here---------------end--------------->8--- > > It is working fine like this, but i would like to know if that is > correct. I suppose it's reusing another window now because the reuse-window specifier is correct - try the selected window if it shows another buffer. The pop-up-window specifier wants a list of window . side conses like (pop-up-window (largest . below) (selected .right)) to split the largest window with the new window below or the selected window with the new window on the right. But please don't fix this before I found the cause of the bug. Having a sample where it tries to use the minibuffer window is important for me. (Unfortunately, I haven't git installed so I first have to get this from somewhere else. Or you send me the files exposing the bug via private mail?) Thanks, martin