From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#6204: vc-dir always splits the frame Date: Sun, 23 May 2010 14:15:00 +0200 Message-ID: <4BF91C44.8090801@gmx.at> References: <4jwrv35d7a.fsf@fencepost.gnu.org> <878w7fa7cr.fsf@mail.jurta.org> <4BF504B4.50408@gmx.at> <4BF5736B.1030605@gmx.at> <4BF79ABA.7080006@gmx.at> <87ljbbv4u4.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274617672 23151 80.91.229.12 (23 May 2010 12:27:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 12:27:52 +0000 (UTC) Cc: 6204@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 23 14:27:48 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 1OGAHT-0005vy-Rt for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 May 2010 14:27:48 +0200 Original-Received: from localhost ([127.0.0.1]:46952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGAHT-0003K5-Bl for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 May 2010 08:27:47 -0400 Original-Received: from [140.186.70.92] (port=59834 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGAGy-0002zo-LK for bug-gnu-emacs@gnu.org; Sun, 23 May 2010 08:27:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGAGv-0004Ny-SL for bug-gnu-emacs@gnu.org; Sun, 23 May 2010 08:27:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57966) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGAGu-0004Nl-7Y for bug-gnu-emacs@gnu.org; Sun, 23 May 2010 08:27:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OGA65-0006d8-OB; Sun, 23 May 2010 08:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics 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 12:16:01 +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.127461691125456 (code B ref 6204); Sun, 23 May 2010 12:16:01 +0000 Original-Received: (at 6204) by debbugs.gnu.org; 23 May 2010 12:15:11 +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 1OGA5G-0006cW-UQ for submit@debbugs.gnu.org; Sun, 23 May 2010 08:15:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OGA5E-0006c5-G6 for 6204@debbugs.gnu.org; Sun, 23 May 2010 08:15:09 -0400 Original-Received: (qmail invoked by alias); 23 May 2010 12:15:02 -0000 Original-Received: from 62-47-45-2.adsl.highway.telekom.at (EHLO [62.47.45.2]) [62.47.45.2] by mail.gmx.net (mp018) with SMTP; 23 May 2010 14:15:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18WWSE9XY0WHXplgLH5i7/fz0dxOr5VLEOCMU2LqA A8f/9XT3U/lnZH User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 23 May 2010 08:16:01 -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:37200 Archived-At: >> There are simpler options `same-window-buffer-names' and >> `same-window-regexps' that are very easy to understand >> (a simple list of window names). > > I hate those for 2 reasons: > - they're very limited (can't be used to say "always in another window", > or "maybe not the same window, but at least the same frame", ...). And this will be our major pain. The prefix "same-" is hardcoded :-( > - they're currently abused by elisp code. > >>> (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]+>\\)") > > This is exactly the kind of evil I don't want: such variables should > only ever be modified by the user. And `add-hook' is an abuse here as > well since same-window-regexps is not a hook. Precisely. martin