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.bugs Subject: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line Date: Wed, 29 Jul 2020 17:59:07 +0200 Message-ID: References: <10690330-0a37-4a5e-b270-15a39ce1e737@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28167"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , 42578@debbugs.gnu.org, Marco Wahl To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 29 18:00:47 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k0oVa-000709-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 18:00:46 +0200 Original-Received: from localhost ([::1]:34434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0oVZ-00055s-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 12:00:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0oUs-00055h-G3 for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 12:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0oUs-0000Uj-4a for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 12:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0oUs-0000Oh-1t for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 12:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jul 2020 16:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42578 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 42578-submit@debbugs.gnu.org id=B42578.15960383611451 (code B ref 42578); Wed, 29 Jul 2020 16:00:01 +0000 Original-Received: (at 42578) by debbugs.gnu.org; 29 Jul 2020 15:59:21 +0000 Original-Received: from localhost ([127.0.0.1]:33525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0oUC-0000NK-Ic for submit@debbugs.gnu.org; Wed, 29 Jul 2020 11:59:20 -0400 Original-Received: from mail-oln040092067091.outbound.protection.outlook.com ([40.92.67.91]:45473 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0oU7-0000N3-RJ for 42578@debbugs.gnu.org; Wed, 29 Jul 2020 11:59:19 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ReX+RzIKT8bQzh/9bZD3FyTwK8DnMlJcyaDB+NyWsYU+Nj3esK1pZVtryyTImCsFDjvQdiI6SeRp8jaVMduM7AsxYDjIvmd4YO+dYr7kXLV7nademiVSmQifcRhsT5OmXgQcmZ1ClGHLQEcFV0ObAexWjzUYAEpb8vxe7/qb2KZCT4K4CbbRB+HwmzEpkJ4YtSNBpoiUO8KHft1yu1if5Mzc7XI9HXRgoh1KBgwClNtAOs0b2QjonJyHEs81SaHXnXHorhhCF2tPhJ1D5/AmWXwQXmQjFgvlIvT3oxiyKsGuDFWjef0AQDDH9c9P3bYKg6YKXP6Hje4gyBo3TEEtug== 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=HvhURPEpRUt8vKMm/zh+sQvYPcWR2KYBJ/AoGR0csXk=; b=NOmfCJE62A9FmBvecPI4jxtlPwXbYtVG4dCIDn7A+dVnJSQiKllCEz06xeLvmuCE+/EF7b90KyAiJeIlrqc4lzKLItjL3fOpEleBEazdSoSXmEtT6PDTYelxjnPhc/pGbqj72bE6qr+3S65k516LJqnnlMwKj+F6UuMjyTKC+QaqAxDGU0Gb8dnpffh3bSf/dy8Ic1R1aUBa8dU2VeJFKsXvydb+mZCX1uCcVT/t+v7kVhUi3U4UhXMMvCWpttdl6Tk+tMtkXmO+MyUa7ImFi3Zcrygx/cj7wQP0kZQ0D55vDOG910JPIuWF9uZ5Exjszyvtzws/iKRwJTjgJ/E1Cg== 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=HvhURPEpRUt8vKMm/zh+sQvYPcWR2KYBJ/AoGR0csXk=; b=qPcX76E8PY8Y5i8Z1Ut0cKZb6TT+Ag9tojqRhvtN+bPT+95FUXOxuo3aDUdWDnm+iUuYSp5YlmM64hkF+GJ7gTkF9gvjVT1hn09O4Iy+qsU4nh+Xt/J3gW0r26mbjI6aCOQ8hnNhNmjwG24STtqfUzhZmSwPVDAfZxRqwvD13awCHKkfiW2syH6gdHP2hF0iVJfEr5ddxlyQ4InisI16I9bvUxDkiS2afutuFl3nvaS1jlmP+N3/wu5FeIwmNmC8JrlpVSf+l4c7daQG8LMQ0mDqCqeMqp0di37I/lyyXfupf2dphijXUbIw3ppbA3gPusmLrUr+XNDzwZYLvFfeIw== Original-Received: from VE1EUR02FT018.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::4b) by VE1EUR02HT040.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::503) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18; Wed, 29 Jul 2020 15:59:08 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e1e::4d) by VE1EUR02FT018.mail.protection.outlook.com (2a01:111:e400:7e1e::67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Wed, 29 Jul 2020 15:59:08 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:707B178C62F211F618DE0EDE7DB24124525EB10712BE24DAA03D73F83E058A44; UpperCasedChecksum:91C3BBE7BABE644D034B983E205768C01099848B4009F63970BE9F38A4CC40D3; SizeAsReceived:7697; Count:47 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::2586:b9d4:2047:27b8]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::2586:b9d4:2047:27b8%7]) with mapi id 15.20.3216.033; Wed, 29 Jul 2020 15:59:08 +0000 In-Reply-To: <10690330-0a37-4a5e-b270-15a39ce1e737@default> (Drew Adams's message of "Wed, 29 Jul 2020 08:31:46 -0700 (PDT)") X-ClientProxiedBy: AM5PR0502CA0020.eurprd05.prod.outlook.com (2603:10a6:203:91::30) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <877duml3ck.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR0502CA0020.eurprd05.prod.outlook.com (2603:10a6:203:91::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Wed, 29 Jul 2020 15:59:07 +0000 X-Microsoft-Original-Message-ID: <877duml3ck.fsf@live.com> X-TMN: [q2Jm/giS1CWe/+jEzrJ0jfvVBE2AN1mp] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: bdab9245-15d9-43a2-d281-08d833d85384 X-MS-TrafficTypeDiagnostic: VE1EUR02HT040: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y+v385ucIFvkuGtI3pTXdXJnndbT8uMSt9KeAQfbLuj6eDmzuLAUHMWhZNIPj4OIIXOZBWE1SXbqeNBblfbwiwRuhCUUlAQ1fkyCUODEat7sTG6kuuCD/OeRznDU4Mg9DA/gZBYopZKV3e6r279OPinck6G5CPjLBilqiJdV68xDmaRWxTiKxjaWxJBLSnLQvNTOEDqiFYy2Q+sxBX3qzA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: enceIScF6jChz2lSp3dlXDyJ2fXzeP1MV24kRsGFnPu/F52Ny5W7d7+oI742KIut6BqQuwIcnpSHMkxrUvbzKnwftxSgVoRt4LaaG5gDeNFdEbUVb8UU+7o9jwM9SiaG/KdX4ccdRgCp/2fYcoMn9Q== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdab9245-15d9-43a2-d281-08d833d85384 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 15:59:08.6138 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR02FT018.eop-EUR02.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: VE1EUR02HT040 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183664 Archived-At: Drew Adams writes: >>>> I'm talking about those dired headlines here. >>> >>> Dired headlines are not file or directory lines. >>> They're not acted on by ! or (most) other >>> commands. >> >> Unfortunately some commands, like go to start of >> buffer (or what is the name) put cursor on first >> line (header) in dired which is a bit annoying >> since it is useless. > > It's not at all useless. Dired offers many features, > including many that many or most users never use or > are even unaware of. I don't know Drew. For all this years I have been using Dired I have never found a use-case where I wanted my cursor on a header. Maybe I am not advanced enough. What can I do with the headline? If I move cursor to the top? What useful things can I perform? Maybe I am missing some good functionality I am not aware of? >> In dired it makes more sense to move cursor/point >> to start of the first line after the header (first >> file). > > It may make sense for you, but it doesn't necessarily > make more sense for other Dired users or Emacs in > general. Maybe it is just me, but for me it is always sense to have default be the most used case, and haveing cursor on a header is not one. > Luckily for you, you can bind keys to any > commands you like: > >> I have bound a key to move it so and use that key >> instead of ordinary move to the beginning of a >> buffer (C- by default I think). Yes indeed, and that is what I have done and never complained about before either :-). I also do understand though that entire Dired is just an artefact in a text editor, so one should not expect the most optimal performance/usability etc. But I brought it up now just because you already talked about those things and in case someone might be interested to look at it. No idea though if it is worth, I haven't cared much about myself either. But it is annoying when some actions put cursor at the begining of the buffer, or go back one line when cursor is already at first line in buffer so it ends up at the header. > There are, for examples keys to navigate among dir > listings, that specifically move to dir headlines. > `C-M-n', `C-M-p', `C-M-d', `C-M-u'. Well maybe it should *only* be an explicit action (to more cursor to headline), and not something different commans do per auto behaviour. > Not to mention > `i', which inserts the listing for the subdir on the > current line. (And in Dired+ `i' on a subdir listing > takes you back to the parent dir listing.) I am not sure inserting subdirs really fits into this discussion. We don't insert under the headline directly, do we? Anyway, I just wanted to get attention that Dired interactin needs some polishing (in my eyes :-). cheers