From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Friendlier dired experience [CODE INCLUDED] Date: Thu, 05 Nov 2020 17:19:07 +0100 Message-ID: References: <20201103104340.q34kqfita55w2u7h@E15-2016.optimum.net> <20201104183228.xf7w4yf3fw3427y5@E15-2016.optimum.net> <20201105092232.fk4r5dexnay3eyln@E15-2016.optimum.net> <20201105143800.7vt5jfr4gg2wigyb@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Boruch Baum , Emacs-Devel List To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 05 17:21:00 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 1kai0O-0004Uv-JJ for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Nov 2020 17:20:56 +0100 Original-Received: from localhost ([::1]:56100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kai0N-0001IE-LU for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Nov 2020 11:20:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kahym-0008VG-Dg for emacs-devel@gnu.org; Thu, 05 Nov 2020 11:19:17 -0500 Original-Received: from mail-am6eur05olkn2088.outbound.protection.outlook.com ([40.92.91.88]:39361 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kahyi-0001L1-9I for emacs-devel@gnu.org; Thu, 05 Nov 2020 11:19:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B/Qy1CR+AFF8jhx3xnVEIABIT/SNzSFfFbBh+jtiDyeFVjcVSwagukKSsQMIeUV1pvFYLJ9rmYCmfnhSZw5fDMWKV+7HxWaNoPfgp5OgdQSDGMAjsZjcZgSoOj0XkMletiLmSpNV3f0XnY97rOXbIBAA+DqYGntgK6J2UrzNicZ6HtVXjP2UusBN11V8m0x/Dq44MmhkFDy9qjRIrOLeaUlKbyhSFnNNlD5cB3RIZnd/FVdEm76UCNfbiD0RuPTnoD7RcK3q8fXLIlI/nLQuM1MHHJet+/f9dD8wFobUo8G3vbUeBzjIox/3PsG60PKp7dy0RpQKNZQsDySc1hwd/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pLyBx3C5qE1B0JniNk5r5YywtWUdvtAR2nHTzWhhmNY=; b=aVdaSYkM4CSyZiJv+10YnDz+AAYshANeRk7lGqhprzLOGOxJwiJ2gmP1qJ8f8yWj2aJ3tHHCvCq/BP47GwNdVixeKFxFCOU7UDi678BGU9oW+R2/CeRMgKPvyCwJMZnGLcUxTRHPsjYwOsUz+MMHEbifV5fQZjVMI2yzHgZtACZ7vh0/d6Y28sc+YYz/Fq9S+juZECu9bW7z9uTFYFyQ63N3bL1PD/jAG+hDViO4BRxdgqj4/HY5Ni/E8lOPGwyY3cEghn0bplJJrgGPL2gkzKOznZbYp/+q0Y2pBdJ5XFabQ+Qg5k+IFN65U9tFWZbXsNEnaDgj4xgBFlEDIrUC2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pLyBx3C5qE1B0JniNk5r5YywtWUdvtAR2nHTzWhhmNY=; b=mU5t8G9AwXatUio8fI/OzIRkeFtJsO5TKYcPLD965TycXJ8uY5oPvKa0QTuL/8wny3W/LbPSe/aoWrKJKHso3AgOXj+vM1lrrvINKw/MIylYQKgJx811e6sRHxdCfjwn0iKwAHouRiSvXVe9u9nxtbwFphmhwmlTGQoxqawU5qk8y7osUQaTIeM2U8G0yOX7RCMFhPU0Dcu/pT3JGvt/eNlbWNbieUTNcboigALKoZy7xj0ZTvov1al28ASUBtnF9y5z55ahEh/uEGPRkjgv00lWtBkgdlXmRPjmJ4Jv6V76kRekUQkmGUo4knjWXm/CqI5bUldRphBOHTYwNE9qeg== Original-Received: from DB8EUR05FT028.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::53) by DB8EUR05HT070.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15; Thu, 5 Nov 2020 16:19:09 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc0f::48) by DB8EUR05FT028.mail.protection.outlook.com (2a01:111:e400:fc0f::130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Thu, 5 Nov 2020 16:19:09 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:63D6EDF1141C0FA1A6D6F2A250BB06BB8C80B8C1CA6063E86AF8ED50984FC15E; UpperCasedChecksum:D2187233DC16F3CB57AE5154E4DE03011D6F810E01AD17BD203B1403C9460E13; SizeAsReceived:8069; Count:46 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1%5]) with mapi id 15.20.3499.032; Thu, 5 Nov 2020 16:19:09 +0000 In-Reply-To: (Stefan Monnier's message of "Thu, 05 Nov 2020 10:45:28 -0500") X-TMN: [QJ5gyOETqL15XwsURfaTeYvAbrbswQkN] X-ClientProxiedBy: AM6PR10CA0067.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::44) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87sg9nhj44.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR10CA0067.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21 via Frontend Transport; Thu, 5 Nov 2020 16:19:08 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: e5ee4fb3-d22a-4d56-4ff7-08d881a68642 X-MS-TrafficTypeDiagnostic: DB8EUR05HT070: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fK3YZFJU4K1xONQ+18eDKpTpIT9dQ2Eo8YocHUtP8aVYBY/cW6N/dOUBaf130ueYVP7OkeUo9j1Nv+nghRJMNs64DuD0XJcLqDacb64pL5d/7NJV6OsyVZAqpqAKcaguQzpI3+sI6mydcmqUzFDNuPtNfoK2wtYnDjcejHR1V6ZrQ1cW/E18t4evJQ7wOOHwQT4nrh+gt6N9DG1oyGU8lQ== X-MS-Exchange-AntiSpam-MessageData: 0OXVFUBPFLZjx+qLPHcB5ux2VYVfGVGsn/xkUNGqV2aa16IbYYT2pmUG+qu6oJ8Ia4UAd/iGsz9OXI25xo0z87oHxosrY8DDzn85pywb47BlQsnluF9tVt/HCqATbnPk1uEkOr0IW2watWc3btdwig== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5ee4fb3-d22a-4d56-4ff7-08d881a68642 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2020 16:19:09.3750 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR05FT028.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT070 Received-SPF: pass client-ip=40.92.91.88; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 11:19:10 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:258734 Archived-At: Stefan Monnier writes: >>> You'd still have the downside that the general bookmarks include all the >>> other non-directory bookmarks, so maybe it's not a good idea anyway. >>> [ I'm not using bookmarks very much, so my intuition here is poor. ] >> Why would that be a downside? > > That you can have name conflicts between the diredc and other bookmarks, I don't know; usually we are asked to give a name for the bookmark so user can choose a name that does not conflict. Otherwise some generic enumeration, or prefix/suffix etc could be used; but I don't think it would be needed if users is anyway giving it a name. > and that when selecting a diredc bookmark you'd have to see all those > other bookmarks which might make it more timeconsuming to find the > bookmark you're after. That is why we have completers like Helm. I never look at bookmarks. I use Helm which completes them with a key or two. To be honest I don't use bookmarks much either; I have just few places that would otherwise require me to navigate through path completion. > For the first problem, I don't have a good solution. We are asked for the bookmark name, so user choice? > For the second, I think this actually hints at a need for the generic > bookmark-selection functionality to offer a way to first select a *type* > of bookmark and only then pick a name among the remaining candidates. I think we already have that. Helm for example is one such. > [ And of course, in the absence of such generic support in bookmark.el, > diredc could do it on its own by offer a command which pre-filters > the list of bookmarks to only include those which refer to > directories. ] Drew's Bookmark+ can bookmark pretty much anything. I never really found use for it because I don't have such advanced needs, but it could probably be used with diredc. I am affraid I am not the best person to answer that, it is just my guess. Pesonally I think that searching is much better than bookmarking since search is cognitively less demanding (I'm getting old :-)). In principle I use bookmarks just as a shortcuts for some long paths, and I search those bookmarks with Helm. Bookmarks are one way of indexing things for searching. For that reason I wouldn't see it as a downside to mix all "kind" of bookmarks. A fuzzy search in a completion does not care much where data comes from; for ex in helm-mini I can fuzzy complete recentf list, bookmarks and list of live buffers all lumped into one source. It is subjective of course. I understand your consideration and the way you think as well as Boruch's consideration.