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: Wed, 4 Nov 2020 12:28:31 -0500 Message-ID: <20201104172831.qyv3wswtoiuhvyqa@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1549"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 To: Emacs-Devel List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 04 18:36:05 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 1kaMhY-0000GH-UW for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Nov 2020 18:36:05 +0100 Original-Received: from localhost ([::1]:50630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaMhX-00066m-Oo for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Nov 2020 12:36:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaMaM-0006cT-VH for emacs-devel@gnu.org; Wed, 04 Nov 2020 12:28:39 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:54641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaMaK-000073-IN for emacs-devel@gnu.org; Wed, 04 Nov 2020 12:28:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604510914; bh=a0uqGiJqooS6w41DO9IRYJQcglrg5JnXWgFvgX15UCQ=; h=X-UI-Sender-Class:Date:From:To:Subject; b=CJOjyb70SsTYIiYH7I0x5sOLXjJjWstVdXixUGEGvfPZkpV1q7SM/YQ2We8Lx4D6D N0WBytz/XEWD9OhtNKXfB3KmrMG3QQAi65ANwEpKwPT1lBZkiE6/8ondb4nncIkw/7 Hdmd+k9snn+AOYBJb9GZFeQ9S6CxMZ97dUGRlRW8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([71.105.138.177]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MC34X-1kV6rv03fp-00CPmK for ; Wed, 04 Nov 2020 18:28:34 +0100 Content-Disposition: inline X-Provags-ID: V03:K1:3zXkkE0RNWvyimTHoNhUpLD9JawlmjvtP3SY5MgaUYoOsvNcgs9 +tg7iGx4U/Z5Gw2pBd0xNvVqEi/Ri2bbK90WyyZjiA9b6nBf5fyle89OBGJgnprWgyCp8ey xdbkT+2wWJMKJ/USZhOSUCq1Kkol9qES/WpSwLnbNi/tSg5QUve2tH9a3zEkdQsDbljwlFD wBrhAeGVUUgdmaUNkwV5g== X-UI-Out-Filterresults: notjunk:1;V03:K0:WvuPk2HKd2k=:oXKqASstse8fcH8t6yUTu4 xWy5OqrK3YClZZyS70xddj05ZJ3qm7AymOF9U8tR+deIx/2m9aH8gQUCRodc8PVJ0TxQootmE tOEMhtfe4K+NuiTaj6+17nkEZb9H/nJqshoxwjsWgXnU9A87WepkkUR9jAqDndLlhCK0zwYtq SMKn8cFD/1as96fvAmNQfBS3RfYax/pb3+7TpswX5dgAxVRD7qsFhTh/ZqWRCivhSTbN3dXFW maaAUZJm+byn3f5hURZHrK+LNgQtatIFpqazfFFO+6sSKgCO+aNJX6gSlrlnDlDBgK1FciVkZ 1NO3PfzE68k4z4FEx0mX0a/CA2q+v0+udYGq+sAx0ai+0Zo0L+XojFb301O3uYou8Xm5BKyGv YdiptScraQqjODnrPg55VIPSjcnmHvwqSFSwJK3HFrbDHHYjV+L0xmlqgI6saAvCwloyzjHey yMB45ag8UGtIBUh2syKO3HYizPj8jHF1fmojvB4wYjNighrbkcGXwzyKGvxOoTbTIVCqVoBPm YSxUGyMaJFH9kBSjs8F66jbrJI90Z2gDoQflujr7Gf+T0U5l/3nK3VOgol3GYg7H1cOm/Zgk+ r+SAS8jUHhtUfRpja9g7Th5/nQqxD0YDH+ImesD2XOHQ3APg5pgtAbIm+aTEgBppvMCpUebyW q/gnd8yBrixONWwG6HnRaBjS9vP3KqD86ibkCeoSAT9pe7/k/p/hd20F6C/OE7iMyPBbaGSPY brxHp6SpPn80wXVoP67X9H4bOc2lRxc0p9Pq/O6okqJ+dAULvglrJI88ZF+Qg9gKmF1tcvS7 Received-SPF: pass client-ip=212.227.17.20; envelope-from=boruch_baum@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 12:28:34 X-ACL-Warn: Detected OS = Linux 3.11 and newer [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:258687 Archived-At: On Wed, 04 Nov 2020 16:32:19 +0100, Joost Kremers wrote: > Perhaps your presentation is confusing. When I read your original messag= e and > the README.md, I got the impression that diredc is an extension of dired= , which > implies that you can do everything you're used to in dired in the same w= ay it's > done in dired, and that diredc adds new functionality. > > However, the way you describe it now it sounds more like diredc is essen= tially a > different file manager that just happens to use dired under the hood. In= that > case, it would help to present it that way, so that a user knows they ha= ve to > forget their dired habits. I see your point, but I can't bring myself to go so far as to describe it = as "a different file manager that just happens to use dired under the hood". Mostly, the habits that I see needing to be suspended are more 'emacs habi= ts around using dired' than those of using dired itself'. For example, in Jean-Louis's case, he fell back on his habits of calling dired directly an= d of managing windows and buffers externally to diredc. So I think your initial impression was correct that "you can do everything you're used to *in* [my emphasis added] dired in the same way it's done in dired". Clearl= y, if people are getting confused, clarification is called for. Can you point to any 'dired' habit that the package asks be changed? > If it's the former, it might be a good idea to consider whether you need > an extra command, or whether calling `M-x dired` would automatically > activate the extra functionality. I don't want to deny the user from any specific case in which they want to intentionally call dired. Maybe they intentionally want a third dired buff= er for some reason, like a three-way directory sync? > If it's the latter, perhaps a name that doesn't include `dired` would ma= ke > sense? Once a keybinding exists, then the command name isn't so important, is it?= I chose S-F11 as the because it seemed available, but that could be changed. > Of course it's possible that you think of diredc one way, while someone = else > sees it another way. Doesn't make things easier, of course... Honestly, I *was* expecting some push-back from developers related to that= , but what I was expecting was insistence that dired was never meant to be a "file manager", but rather strictly a "file editor" and that I was trying = to make it something it wasn't designed to be. > Mind you, I hardly ever use dired (I occasionally do some bulk renaming = with it, > but otherwise I do most of my file managing in a shell) Then you're exactly the audience I'm targeting: emacs users who find themselves always leaving emacs in order to perform file management operations that they could at least as easily perform within emacs if only dired were a bit more convenient. > > The video shows that you eventually figured out that after performing > > M-x package-install-from-buffer, you need to take the extra step of > > loading the library (you didn't want to follow my simpler instructions > > to just evaluate the buffer, but that's cool; emacs is all about choic= es). > > An autoload cookie on `diredc` might solve that. (At least, I assume tha= t > installing a package from a buffer will install the autoload cookies in = it...) Thanks (also to Stefan Monnier). I just pushed the commit, adding the following lines: =2D-8<--cut here-(start)------------------------------------------- >8 ;;;###autoload (global-set-key (kbd "S-") 'diredc) ;;;###autoload =2D-8<--cut here-(end)--------------------------------------------- >8 Anyone having problems recently using magit/forge? I'm finding it impossible to perform operations. magit/forge is suddenly no longer recognizing my auth tokens and respecting my sshagent settings... =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0