From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.devel Subject: Re: Friendlier dired experience [CODE INCLUDED] Date: Fri, 6 Nov 2020 04:42:14 -0500 Message-ID: <20201106094214.cnw3lzf5bklps73y@E15-2016.optimum.net> References: <20201103104340.q34kqfita55w2u7h@E15-2016.optimum.net> <20201104183228.xf7w4yf3fw3427y5@E15-2016.optimum.net> <20201105092232.fk4r5dexnay3eyln@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26380"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: Stefan Monnier , Emacs-Devel List To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 06 10:47:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kayKs-0006k6-FU for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 10:47:10 +0100 Original-Received: from localhost ([::1]:49728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kayKr-0004uK-02 for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 04:47:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kayGL-0003GG-D2 for emacs-devel@gnu.org; Fri, 06 Nov 2020 04:42:29 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:53433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kayGI-0000YW-V7 for emacs-devel@gnu.org; Fri, 06 Nov 2020 04:42:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604655738; bh=/u7jsAjHELyc7YuJZtL6kcXm9lgAIZy/a7ldgJeKFUg=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=TX7gj+fuvg/DeKlTDtPoRSvcTsHCXmgVwjL95/prcptM3dEGPfqDmTeFzjip6sZow eCZVzERuXMx+Y6WeluMaZnYtjSW79W0Tcd3+nGO8ci5Stuy/f6rJOzRIAf9LfHMmcz Hv3pesX5wksMFnl4qMv4ax7I0W+lP+3Z/PH3XAYc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MTRR0-1kky7Z3Fwy-00TlQA; Fri, 06 Nov 2020 10:42:18 +0100 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:KmWv3IeNMz/eac64v97GDKLEd6LBQH5r9oei9cdEXYp94hNdY5l IUMXPZyT4sn0VPupizSKXiKQZb1Zsy5dXgxRcL1OM7O8F3zwDxWt12ajq0PdYt+LkhPtoJp DJnSpTwcvtVSAS/dLJ/K90tgKbTH4NfzUiLFlIdHPsL2TWhpb8X+vvEYHFadSCqK/aFOnsA q5HDPOirKOuibZMIesNjA== X-UI-Out-Filterresults: notjunk:1;V03:K0:d3Mr+Wgmtq4=:WVkrwtIAJUeRefSkkI3oMU XEWoq3P20mE+8nhdnOsPlxslCu6ymggGBEPPz3jtTJmxMxdYPi77qX3ApNByye7Av+JOqNNDW 7lHVdr10nNQBGwQ0bOUvydlAk+x9sJxFKYvzjvuIZAv9o03B02bq3iIk7E/E5+FdjEteFGgzl FcPDVwEMl/fhBC1kfc43Dl4dQ5O7Fk9SVVDQyYUkQF6euQ6YlJseW6nApJ/4PJTfzD/0vePb9 XTLCaLRkdaiQnAim1f+n6AiZDuJoQonFk03lRMZM6eqTH4DOAur6WicGEx0Wh4zm/VeErwih4 Y+k6K2fEJ0zO7Nd/6kPjPurhyDZepHiPDeNtSse80ZzQJAfGUU4QzDZWEuIhFGj3ygavcP0LN wMuGTkdS5IvKVEcOnKR9FC926paaMN0H1qfroTpXicbLJKJt0Pwxaw/0Sv3yx6XudySEP8zx5 ntzhI+/Qsdl2pEFjAwksuyTiYqeupNa1ohO1mX4vuI6Qhi//N1e9Jt7sm/mZn0RfBfntMywjo CohIo6LFNR/hjBUzgCQN7mKfeAPhVHyUCFDP0sP0Vh6NfcwQJxdOvABUYOjQDDKTGRbfqaqUw lTrBq0qN8QwtsuDpdYdfFLyqJxZLK7qgDkHawmQPkmVCUbLsGGYkU1ts5OQ/+gknZWe8YbJGC bVx71S9QI9OSsn5gS1pd2TiIvR/+6r+UbizlF5TqYhTfKZOMn4WUJpDLfsjkuPZJKdNq/2BCE 1p8rVgK9OpJhMrmXGtq7jdxNGojrzmlSN0TX9d3mWqp/FlwK9oO31BO3DhK5uLjcFwLQ9eh5 Received-SPF: pass client-ip=212.227.15.19; envelope-from=boruch_baum@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/06 04:42:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258793 Archived-At: On 2020-11-05 13:54, Arthur Miller wrote: > Boruch Baum writes: > > My memory from looking at it years ago was that it was non-functioning > > abandon-ware. > No idea if it is abandon-ware; I don't use it; I used some year ago and it > was quite competent. > > Looking at github, it seems like last commit was ~6 month ago: > > https://github.com/sunrise-commander/sunrise-commander Thanks! > How do you do bookmarks? I just bookmarked a folder with your shortcut > C-c b a; and the bookmark does not show in bookmarks list. That's right. It's a separate diredc-only bookmark list. > furthermore, when I use C-c b j; it seems to show some byte code, you > can see it in the attached screenshot. That *is* weird. I can't reproduce it. Any hints? > opening new frame in the bacgkround is not really the best feel. It > didn't got neither raised nor focused. Fixed. > Also my original frame got resized and centered on the screen, and > diredc took place of the original frame (but in background and not focused). Wait a second. This email sounds familiar. Did I already respond to this? > The dual pane wasn't so resilient; at least not to Gnus (nothing is > :-)). After switching to Gnus and back I was left with a single window. > I am not sure if I understand the docs correctly: is it supposed to > restore window layout and buffers automatically or do I need to take an > action? It didn't happened automatically so I tried diredc-restore. I > was than ask a question to choose between starting a new or choosing two > panes or something else. I choose two-pane, but I wasn't left with same > buffers after it executed. > > After I switched to the mail to continue writing it again switched to > just one window. When I switched back it was still just one window. I > then tried running again diredc (C-x 5 d); it just moved my cursor back > to old frame. Running again diredc moved cursor back to second frame but > it never switched back to dual pane nor to original buffers I had in > diredc. I am sure I am using it wrong, but I don't see in the > accompanying docs how to switch between buffers and go back to dual-pane > and original buffers. > > In connection to this, looking at those predefined variables; I am not > sure I find it really useful; you can see below what diredc exported > when I run it for the first time: > > export d1="~/repos/emacs-related/emacs-diredc/" d2="" f1="~/repos/emacs-related/emacs-diredc/README.md" f2="" t1="(/home/arthur/repos/emacs-related/emacs-diredc/README.md)" t2="nil" > > sh-5.0$ sh-5.0$ sh-5.0$ > > Documentation says they are useful dired values - but in which way are they > useful? Do I really need to export a shortcut to a README file if I am > already using Emacs? Am I supposed to open current file from the shell > in new Eamcs instance, or what was the intended workflow? > > Sorry if I am obnoxious; these are just questions I was left with after > tryimg it. > > Something positive: > > I like your C-c C-k and '; I'll steal it for my own hack of term-toggle, > thanks! :-). I have eshell on F2 and term on F1, but ' was really nice; > I think I'll use it instead of F2. > > >> History handling: can it not be handled by recentf/winner modes already? > > > > I've been a long-time happy user of winner, and found the answer to be > > no. Winner operates on all windows of a frame, not just the current > > dired buffer. Thus, if you had in your window configuration history > > temporary quick-shell buffer-windows or quick-file-view buffer-windows, > > they would pop in and out if you were using winner-undo to navigate > > sequentially in your dired history. Also, does winner-mode have a > > quick-jump to a specific history element? > > > >> I am not particulary against custom history handling, but recentf > >> already does it and winner has undo/redo stack maybe they can be reused? > > > > When I had tried recentf years ago, I was disappointed that its only > > interface was the ncurses menu. Is that still the case? In any event, > > a recentf menu will include ALL recently visited items, so that list > > will be a mixture of emacs files and dired buffers and who knows what > > else; a user would need to visually filter out the path-names ending > > with a file from those ending with a directory ... > We have Helm + fuzzy search to filter those out ... > > >> Other functionality I would like to see is some from dired-hacks: toggle > >> and filters. > > > > What do you mean by "toggles and filters"? > https://github.com/Fuco1/dired-hacks#dired-subtree > https://github.com/Fuco1/dired-hacks#dired-filter -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0