From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35385: 27.0.50; Make dired-dwim-target aware of other frames Date: Fri, 15 Nov 2019 01:10:12 +0200 Organization: LINKOV.NET Message-ID: <87imnmawbv.fsf@mail.linkov.net> References: <87k1fl3e6z.fsf@tcd.ie> <87zhj4osjw.fsf@gnus.org> <877e67x6ny.fsf@mail.linkov.net> <87impp1djl.fsf@mail.linkov.net> <138859c1-a7e0-f40d-4623-635826decd90@gmx.at> <87y2yknhja.fsf@mail.linkov.net> <875zkbrt4j.fsf@mail.linkov.net> <87zhhb1n52.fsf@web.de> <8736f29dsv.fsf@mail.linkov.net> <87y2wqrxju.fsf@web.de> <87zhh31u55.fsf@mail.linkov.net> <87mud0kcyv.fsf@mail.linkov.net> <87ftir94l8.fsf@web.de> <87h837jvyb.fsf@mail.linkov.net> <875zjmh4vs.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133551"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: "Basil L. Contovounesios" , Lars Ingebrigtsen , 35385@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 15 00:22:51 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iVORt-000YZA-UV for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2019 00:22:50 +0100 Original-Received: from localhost ([::1]:34483 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVORs-00070x-H1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2019 18:22:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36894) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVORD-0006Ph-DL for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 18:22:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVORC-0000dX-3Z for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 18:22:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVORA-0000cQ-E0 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 18:22:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVORA-00084E-8b for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 18:22:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2019 23:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35385-submit@debbugs.gnu.org id=B35385.157377371830991 (code B ref 35385); Thu, 14 Nov 2019 23:22:04 +0000 Original-Received: (at 35385) by debbugs.gnu.org; 14 Nov 2019 23:21:58 +0000 Original-Received: from localhost ([127.0.0.1]:35416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVOR2-00083l-AM for submit@debbugs.gnu.org; Thu, 14 Nov 2019 18:21:57 -0500 Original-Received: from bumble.birch.relay.mailchannels.net ([23.83.209.25]:44331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVOR0-00083c-IJ for 35385@debbugs.gnu.org; Thu, 14 Nov 2019 18:21:55 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9F3DE5E26C8; Thu, 14 Nov 2019 23:21:53 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a29.g.dreamhost.com (100-96-92-150.trex.outbound.svc.cluster.local [100.96.92.150]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 384E45E235B; Thu, 14 Nov 2019 23:21:53 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a29.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Thu, 14 Nov 2019 23:21:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Callous-Reign: 2fd08dd6465bbe2c_1573773713464_235206782 X-MC-Loop-Signature: 1573773713463:1937922030 X-MC-Ingress-Time: 1573773713463 Original-Received: from pdx1-sub0-mail-a29.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTP id 3D5808462F; Thu, 14 Nov 2019 15:21:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=13BazrAoPIccPa06v/s/gbv5EqU=; b= iCx1mQP7VOcICAaIJhgESz3vOQjaYah2WGuJSG5qT/ulfWhOLVUJ65qn2m+GJEur mudpfKu0JiDU24wY4O0eTbKFR3kxykucvO1Hlu2ueTbjK1EEpL/v5pBJqhlUG8Q6 Wv0QsNZtgcEpbgkhWxb6jegPDJjksWECBG922I5Ecvo= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTPSA id E6ED98462B; Thu, 14 Nov 2019 15:21:47 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a29 In-Reply-To: <875zjmh4vs.fsf@web.de> (Michael Heerdegen's message of "Thu, 14 Nov 2019 16:08:55 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171622 Archived-At: >> Do you think this is good enough? > > Looks quite good so far. An open question is what the behavior of a > non-nil and not functionp value is. Maybe it should default to its previous behavior (i.e. the next window on the selected frame). > BTW, when configuring `dired-dwim-target' to `dired-dwim-target-next' > and when the current dired buffer's window is the only dired window in > the selected frame, then the default target is not the current buffer's > directory but the directory of some other frame's dired. I don't like > that. I would want that always all dired windows in the current frame > are considered, including the current one. I mean, operating on files > in one dired buffer is a quite common need, so defaulting to a directory > of some dired buffer in some other frame can be quite confusing. I'm > accustomed to the old behavior of course but...it made sense to me. Maybe the value 't' should use the old behavior.