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: Sat, 18 Jun 2011 18:10:14 +0200 Message-ID: <4DFCCDE6.30007@gmx.at> References: <87zklhhcys.fsf@gmail.com> <87ei2tzg3o.fsf@gmail.com> <4DFA690A.20205@gmx.at> <87d3iccuqo.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 1308413438 11151 80.91.229.12 (18 Jun 2011 16:10:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2011 16:10:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 18 18:10:34 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 1QXy6T-0000rK-Nh for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2011 18:10:33 +0200 Original-Received: from localhost ([::1]:56475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXy6S-0006cO-Tw for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2011 12:10:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXy6E-0006cE-Rn for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:10:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXy6D-0000K3-Tf for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:10:18 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:56986) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QXy6D-0000Jo-BR for emacs-devel@gnu.org; Sat, 18 Jun 2011 12:10:17 -0400 Original-Received: (qmail invoked by alias); 18 Jun 2011 16:10:16 -0000 Original-Received: from 62-47-44-55.adsl.highway.telekom.at (EHLO [62.47.44.55]) [62.47.44.55] by mail.gmx.net (mp040) with SMTP; 18 Jun 2011 18:10:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19A6ARN5xxA/D68YTQFIYNqUJ0h5nj9Ca/AdPMEjJ aTHyD/2ugKuah/ User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87d3iccuqo.fsf@gmail.com> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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:140647 Archived-At: > That is ok now, except it doesn't honor > (setq split-width-threshold nil) > The window is splitted | (vertically?) I checked in a fix for this. With `display-buffer-alist' you can inhibit splitting by adding a (pop-up-window-min-width . 1.0) specifier (this is currently overriden when `split-width-threshold' is nil). >>> but not for code that use switch-to-buffer-other-window. >> That's bad. `switch-to-buffer-other-window' does call >> >> (pop-to-buffer buffer 'other-window norecord) > `switch-to-buffer-other-window' still not working as expected. > Maybe you can try ioccur.el and see what happen. > It is working as expected as it is, you will have to uncomment the line > with switch-to-buffer...(L964) and comment the next one > pop-to-buffer...(L965) In the function `ioccur'. If the effect was that you got a new frame instead, then this should be fixed now. There was a silly bug inverting the value of `pop-up-frames' in `display-buffer-normalize-specifiers-1'. If you see another effect, please tell me which one. Thanks, martin