From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: same-window-buffer-names and -regexps Date: Mon, 19 Aug 2002 21:43:23 -0500 (CDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208200243.VAA04929@eel.dms.auburn.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029811466 4646 127.0.0.1 (20 Aug 2002 02:44:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 02:44:26 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gz0I-0001Cf-00 for ; Tue, 20 Aug 2002 04:44:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17gzS0-0005xB-00 for ; Tue, 20 Aug 2002 05:13:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gz1M-0005lX-00; Mon, 19 Aug 2002 22:45:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gyzR-0005a6-00 for emacs-devel@gnu.org; Mon, 19 Aug 2002 22:43:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gyzO-0005ZA-00 for emacs-devel@gnu.org; Mon, 19 Aug 2002 22:43:28 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gyzO-0005YE-00 for emacs-devel@gnu.org; Mon, 19 Aug 2002 22:43:26 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id VAA13055 for ; Mon, 19 Aug 2002 21:43:25 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id VAA04929; Mon, 19 Aug 2002 21:43:23 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6666 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6666 There seems to be an obvious anomaly in the behavior of the display-buffer - same-window-buffer-names (-regexps) mechanism. It works fine for commands such as M-x shell and the like, but what sense does it make for C-x 4 C-o to behave specially for the buffers in question? For these buffers, C-x 4 C-o behaves like C-x b. If that were the behavior the user wanted, (s)he would clearly use the easier and more logical command C-x b. Same thing for the command C-o in the buffer menu, which for these buffers is identical to f. The effect on C-c C-f in ielm is even worse. I guess there must be several other additional situations like this. This behavior is both inconvenient and extremely confusing. Somebody who does not know about these two variables does not stand the slightest chance of figuring out the cause of all this strange behavior. Setting the two variables to nil is no solution, because then M-x shell and friends malfunction. One solution would be to have M-x shell and friends check these variables (instead of having display-buffer do that directly) and then have these functions pass an appropriate flag to display-buffer. Sincerely, Luc.