From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Dired: with prefix argument, open file in new window; and question about lexical scope Date: Tue, 20 Jan 2015 18:13:20 +0200 Message-ID: <837fwhxwf3.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421770463 6495 80.91.229.3 (20 Jan 2015 16:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 16:14:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: samer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 20 17:14:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDbRY-0000Ol-Cc for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 17:14:16 +0100 Original-Received: from localhost ([::1]:44344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbRX-0005bT-HC for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 11:14:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbRO-0005Zz-G4 for emacs-devel@gnu.org; Tue, 20 Jan 2015 11:14:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDbRK-0007GD-A9 for emacs-devel@gnu.org; Tue, 20 Jan 2015 11:14:06 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbRK-0007G2-25 for emacs-devel@gnu.org; Tue, 20 Jan 2015 11:14:02 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NIH00B00GWJ1D00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 20 Jan 2015 18:13:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIH00ASAH2ENB80@a-mtaout20.012.net.il>; Tue, 20 Jan 2015 18:13:26 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:181472 Archived-At: > Date: Mon, 19 Jan 2015 19:47:21 -0800 > From: samer > > In magit, opens a file in the current window, and C-u > opens the file in a new window for the thing under the point. I think > this is really useful pattern, and I've included a patch that brings > this behavior to dired. IMO, this goes against the "usual" way we derive "the other window" commands -- via the "C-x 4" prefix. Besides, the numeric argument in Dired is mostly used for very different purposes.