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#48883: dired marking bugs Date: Tue, 08 Jun 2021 06:15:34 +0200 Message-ID: References: <20210606203356.muhmgel5m2jwmzpj@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9302"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48883@debbugs.gnu.org, Boruch Baum To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 06:16:14 2021 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 1lqT9x-0002Bl-Qn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 06:16:13 +0200 Original-Received: from localhost ([::1]:44862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqT9w-0002yB-Lu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 00:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqT9n-0002y1-1P for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 00:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqT9m-00053l-Py for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 00:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqT9m-00051d-Cf for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 00:16: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: Tue, 08 Jun 2021 04:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48883 X-GNU-PR-Package: emacs Original-Received: via spool by 48883-submit@debbugs.gnu.org id=B48883.162312574519291 (code B ref 48883); Tue, 08 Jun 2021 04:16:02 +0000 Original-Received: (at 48883) by debbugs.gnu.org; 8 Jun 2021 04:15:45 +0000 Original-Received: from localhost ([127.0.0.1]:57193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqT9V-000513-JP for submit@debbugs.gnu.org; Tue, 08 Jun 2021 00:15:45 -0400 Original-Received: from mail-oln040092071059.outbound.protection.outlook.com ([40.92.71.59]:3150 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqT9S-00050p-SS for 48883@debbugs.gnu.org; Tue, 08 Jun 2021 00:15:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WpB3OjK4ikh+iGG2WqEeBzsoT0pJWmP1mJ+9wKvdAYPcHVOcNmgH+L4DltfLjK3t+F4S8jlLGTJJ3zErNo5a0ILldG34pl5kt4hkVlJ692RQQI+lszrs8WjJmvPdIX+rpiWvn3wkjml8NgsJvOBTW/7aHivxJtAzNkltlkac3sDBZreyQKs/8PZYnWsuVd+Lvr9qDkjvbHFymswH68dP3pJsFLkOxruZjlpXxrG5VwmaiPzafPyiSqZsjp3FOlhTap3G4vnjq86glZ/jYr0p1JYIqLdgg9Y2fxuEqW5En8uPn5S7StfS5ZlWMArxY1GyNbW2hOViUVFgS+JtDWUzeQ== 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=dZrLGvyHhfgFFDCSJDySM5oeMs36DFnE4R+Ob0F2tSU=; b=nX+FKU0FzHCGUij/6naD4G2kregOlYvXHv4pnJcao3MAUQs+blZPwvT5tGdU+FxynPMnZetAaZSy6OL/vC9V9Fjn1mm9Ul4BYMUIiMWxE5tKZvCTm/PFmVbzbt+Sv5xI1s8AMXR0SS+NWkWgyz0k+nxxzt+0bYoVuHbP3STStn4kdgswTLeY7LnmfTtKxbhPVevGT9OrZjRTdKduzGtBN5iQ/QAKpTPQZOaA11hMPmIHK2U7Kg8i++lnT24/KQjuAp2jK0BaJkNOeAOxftcuLj3SjBz2rBnQOxJ2wLg0by8rx+qL77wWhH4nNIXSKaYgaF0AEuVa8bhcA5HscnA/4Q== 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=dZrLGvyHhfgFFDCSJDySM5oeMs36DFnE4R+Ob0F2tSU=; b=UbuCKh0u2gLMTgKT+0z8KwymNAk/QPJ8jXmRpSmz/TMMMdv+s8Bez3nIIanD+3b0n7tL8qPVh55gozai+uuqQIvFGxR0DNm2XOW+gK5PidcbFGGYBvl7wPxh+9szbyhnqW1cwh4CGSooW1zKhN1pcgnncDq1i6Ru8MtU9tXbD9mjBDHnuRM5Cc8I1UCZXrJP5IipYX8Ue7JUP07hWYJHuSwxfOcx2Z0lOOV4+JS8251a2vIOmrZGId5ik+YkN8mtCj8h7nkNqwHN3EtudWmKlv9YTeu8u6Xxz/9Si+XyK5CFSBGlhSYQplA7q2XibX/wZbPA3huJq9a5iBVl7IffMA== Original-Received: from VE1EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::47) by VE1EUR03HT161.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::382) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.21; Tue, 8 Jun 2021 04:15:35 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e09::44) by VE1EUR03FT061.mail.protection.outlook.com (2a01:111:e400:7e09::476) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.21 via Frontend Transport; Tue, 8 Jun 2021 04:15:35 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:E190EE273EDCA012E0D8101E7F69860BD6BBF2A4B2175293FA64A351ECA43A63; UpperCasedChecksum:EE1E9DC26DA7601C9D69532DFB6DEC44CAFA2110654E59624CF01E8B341BD3E4; SizeAsReceived:8758; Count:47 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591%7]) with mapi id 15.20.4195.030; Tue, 8 Jun 2021 04:15:35 +0000 In-Reply-To: (Filipp Gunbin's message of "Tue, 08 Jun 2021 03:32:39 +0300") X-TMN: [8+Ljs9oJOd0cy2vtbaD+uAlEQHod4cSB] X-ClientProxiedBy: AM7PR03CA0020.eurprd03.prod.outlook.com (2603:10a6:20b:130::30) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <871r9dhtzt.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM7PR03CA0020.eurprd03.prod.outlook.com (2603:10a6:20b:130::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.20 via Frontend Transport; Tue, 8 Jun 2021 04:15:34 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 8cf1311c-69f3-4e55-9d8c-08d92a341000 X-MS-TrafficTypeDiagnostic: VE1EUR03HT161: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mdvNXv9moZQJBB9LHPmjsZI1tmlECnocyohmEHet/fiCRWkK6fPwYi/1MOSMlMB+0Kx4XTfEgCTeARL908TkzITfFt65TbIRLhOmSWMP/a7xc5GDSi9TE/UWrejfo8bv7DSiu/C5ncKojbwQO9rxcbROAfh+qTJTvuZ88tNDK/lGcCzkj70Kz3OGTvjxqLYZtNUFiD0e21TUatzPKnmB6hV04IFY378d14pFS5iJTUb8evU3tsI2MHnS+PJ0YbN2OBk9wT87Gf2AY0Q9pNJMgLHYzzhNmS/fZESi/i1PvRFkGYWB6ydMwLkzBGC4cF2NZA0HfbeUh16uQadp0Ndm+0t50k+SHId3bRs1q6bOkFGjLSmIo4v/V2BLKo0YxRADqVK9H+YCQK7M7b4EzFJXtQ== X-MS-Exchange-AntiSpam-MessageData: YKIuTD6anv0aZ7SU3aJqAro0oJa/UGmpCGHz0IN1TwvMSghZj4Xm6zK9D/aTGQp2ltQhj0QAY0XfXUc0b/LNicEQMt4S79th80txAQ7wTNdMQM/AI6cSqAFA4o5Ec1j5Mhcwj/ryBY3XyijBf+c91w== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cf1311c-69f3-4e55-9d8c-08d92a341000 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2021 04:15:34.9566 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT061.eop-EUR03.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: VE1EUR03HT161 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:208210 Archived-At: Filipp Gunbin writes: > On 07/06/2021 20:53 +0200, Arthur Miller wrote: > >> Boruch Baum writes: >> >>> In testing my diredc package, I'm coming across the following bugs >>> reproducable in \emacs -Q -nw: >>> >>> 1) Improper marking of directory heading line >>> >>> 1.1) The correct and expected behavior of dired is that when one >>> navigates to a directory heading line (eg. the first line of a >>> simple dired buffer) and presses 'm', all "real" files of that >>> directory are marked, [IMPORTANT] the lines for the "not-real" >>> files '.' and '..' are not marked, and [IMPORTANT] the director= y >>> line itself is not marked. >> I have no idea if that is "correct and expected behaviour", I don't see >> it said in manual, or I missed it, but anyway, the headline in Dired is >> a waste of space since you can see dir name in modeline or frame title, >> [...] > > The headlines are very much needed if you have -R in ls switches=E2=80=A6 Aha, so it would insert a headline for each recursive listing. Ok, that make sense. Thanks for pointing it out. I have never used -R in listing switches. Is it useful in real-world? I can just imagine how long time would take for emacs to list entire /home/user dir. I tried it now just for the test, but I had to press C-g after few seconds. Actually when thinking of it, I don't use 'i' to insert a directory either but I am aware of it, and I guess it also needs a headline as a visual delimiter. Anyway I never really find it pretty or useful to insert a subdir below entire content. Instead I use a package dired-hacks which has a utility dired-subtree which lets me toggle subdir similar to a conventional file manager. It works similar to headlines in outline/org mode which I think is a bit more natural to use= .