From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: compilation-goto-locus, pop-up-windows, same-window-regexps Date: Mon, 17 Mar 2003 19:35:13 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303180035.h2I0ZDdV015515@rum.cs.yale.edu> References: <87vfyjbnhr.fsf@gnu.org> <87d6kqfj72.fsf@gnu.org> <87ptopy1yg.fsf@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047947870 18335 80.91.224.249 (18 Mar 2003 00:37:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 00:37:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 18 01:37:47 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18v56x-0004lP-00 for ; Tue, 18 Mar 2003 01:37:47 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18v56y-0000uq-00 for ; Tue, 18 Mar 2003 01:37:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18v55e-0006aa-0A for emacs-devel@quimby.gnus.org; Mon, 17 Mar 2003 19:36:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18v55D-0006H7-00 for emacs-devel@gnu.org; Mon, 17 Mar 2003 19:35:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18v54g-0005XP-00 for emacs-devel@gnu.org; Mon, 17 Mar 2003 19:35:29 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18v54U-0004rx-00; Mon, 17 Mar 2003 19:35:14 -0500 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h2I0ZDPe015517; Mon, 17 Mar 2003 19:35:14 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h2I0ZDdV015515; Mon, 17 Mar 2003 19:35:13 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Alex Schroeder X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12422 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12422 > > I think there's a better solution: use special-display-buffer-names. > > You can (for example) specify > > At the moment I don't think that would help me. I only use one Emacs > frame (and the doc string says "List of buffer names that should have > their own special frames."). The docstring should be improved, obviously. > The doc string refers me to same-window-regexps, This predates the (same-window . t) parameter which came together with the (same-frame . t) parameter. I actually happen to dislike same-window-(regexps|buffer-names) because: - It is more difficult to remove an element from a list than to add one. So I prefer adding ("*foo*" (same-window . nil)) over removing "*foo*" especially since "\\*fo" or even "." might have caused "*foo*" to be kept on the same window. - it is declared as a defcustom but it is updated by packages, so not only custom gets all confused but it's difficult for a user to change the variable (especially remove entries) since she might have to do it in an eval-after-load. - same-window-* takes precedence over special-display-*, which makes the above two points that much more painful. > and that I have already set to (".") -- but as > described in my first message of this thread, using this setting for > same-window-regexps and pop-up-windows nil still results in some > strange effects. I think the strange effects are due to places that bind pop-up-windows rather than rely on the special-display-* (or same-window-*) functionality. Stefan