From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#6204: vc-dir always splits the frame Date: Sun, 23 May 2010 02:51:51 +0300 Organization: JURTA Message-ID: <87ljbbv4u4.fsf@mail.jurta.org> References: <4jwrv35d7a.fsf@fencepost.gnu.org> <878w7fa7cr.fsf@mail.jurta.org> <4BF504B4.50408@gmx.at> <4BF5736B.1030605@gmx.at> <4BF79ABA.7080006@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274576261 30067 80.91.229.12 (23 May 2010 00:57:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 00:57:41 +0000 (UTC) Cc: 6204@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 23 02:57:40 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFzVb-0004MH-M9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 May 2010 02:57:40 +0200 Original-Received: from localhost ([127.0.0.1]:55685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFzVb-0005JS-2C for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 May 2010 20:57:39 -0400 Original-Received: from [140.186.70.92] (port=33881 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFzVD-00058K-0n for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 20:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFzVA-0006Dh-KE for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 20:57:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37128) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFzVA-0006Db-Gl for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 20:57:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFzEZ-0001Cw-5U; Sat, 22 May 2010 20:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 May 2010 00:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6204 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6204-submit@debbugs.gnu.org id=B6204.12745751474608 (code B ref 6204); Sun, 23 May 2010 00:40:02 +0000 Original-Received: (at 6204) by debbugs.gnu.org; 23 May 2010 00:39:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFzDe-0001CG-0n for submit@debbugs.gnu.org; Sat, 22 May 2010 20:39:06 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFzDa-0001Be-Ra for 6204@debbugs.gnu.org; Sat, 22 May 2010 20:39:04 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.32.67.cable.starman.ee [82.131.32.67]) by mx1.starman.ee (Postfix) with ESMTP id C98A03F40F7; Sun, 23 May 2010 03:38:56 +0300 (EEST) In-Reply-To: <4BF79ABA.7080006@gmx.at> (martin rudalics's message of "Sat, 22 May 2010 10:50:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 22 May 2010 20:40:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37189 Archived-At: >> If the buffer names are sufficiently regular and unique, >> special-display-regexps can already provide the needed customizability >> without any need for a new option. > > What about cases where buffer names are not regular and unique? Then packages should provide separate commands to display the buffer in the same window and in another window, e.g. `Buffer-menu-this-window' and `Buffer-menu-other-window'. > Also, I'm afraid we currently ignore the fact that most users are simple > not prepared to invest their time in studying the semantics of an option > like `special-display-regexps'. There are simpler options `same-window-buffer-names' and `same-window-regexps' that are very easy to understand (a simple list of window names). > Finally, this and `special-display-buffer-names' are user options and we > again have the problem that an application binding that No application should bind user customizable variables unless it's expected by users (e.g. when a function name has the suffix `...-other-window'.) > (or, worse, permanently adding its buffer names to it) This is a legitimate way for an application to define its default behavior. Look for example at: ;;;###autoload (add-hook 'same-window-regexps "\\*info\\*\\(\\|<[0-9]+>\\)") > may conflict with users expectations When the default value conflicts with users expectations, the user should be able to customize it, and user customizations should be respected. -- Juri Linkov http://www.jurta.org/emacs/