From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#65621: [PATCH] `dired-next-line' go to meaningful line Date: Thu, 31 Aug 2023 21:51:55 +0000 Message-ID: References: <834jkghcu1.fsf@gnu.org> <83y1hsfw83.fsf@gnu.org> 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="24972"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "65621@debbugs.gnu.org" <65621@debbugs.gnu.org> To: Shynur Xie , Eli Zaretskii , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 31 23:53:30 2023 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 1qbpbV-0006H2-Fp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Aug 2023 23:53:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbpbJ-0001vZ-4Z; Thu, 31 Aug 2023 17:53:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbpaw-0001ss-Jv for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 17:52:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbpaw-0003WY-Bq for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 17:52:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbpb4-0007iT-WE for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 17:53:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Aug 2023 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65621-submit@debbugs.gnu.org id=B65621.169351872929573 (code B ref 65621); Thu, 31 Aug 2023 21:53:02 +0000 Original-Received: (at 65621) by debbugs.gnu.org; 31 Aug 2023 21:52:09 +0000 Original-Received: from localhost ([127.0.0.1]:59393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbpaD-0007gv-7l for submit@debbugs.gnu.org; Thu, 31 Aug 2023 17:52:09 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:10488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbpaB-0007gm-A5 for 65621@debbugs.gnu.org; Thu, 31 Aug 2023 17:52:08 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37VJ4JvG004817; Thu, 31 Aug 2023 21:51:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=bylxVykSttIFo6q1wfkevgwccq8gjtUtCWilDmmWebU=; b=abpjtDrV7yH97NpMl5p3FDTmO+iCJQHi9l5E8G/3Kqf7PBkJPut7dwmvZqYG228bKedM UWZZgxEGlHHm+f0rNKdkqwZ6s9kjRPXg5mSkbg1zYNzOhGQV+s5vyYAz7E65UKTtjmPQ HY77QdbBdhngTYS/NVcNIk6eVUqu6Uy7dAgo0phCCLsSWsP89h4X5BfL/gnyIGWBahyF wIpXzHrnHe4+ocw52kJ1ecmDXrMtupYVOy9BTakgqJAKoqFbzVE0xavkWxIAJLfA0+ru 8KDZ6bUH3LFfk0O/khoxZRvUctAHH2ZsmXw7GAUNA4uArotRHNuZ1BsClQdKRrbiA0ae YA== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3sq9p02n4v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 31 Aug 2023 21:51:57 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 37VLPoC9001304; Thu, 31 Aug 2023 21:51:56 GMT Original-Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2103.outbound.protection.outlook.com [104.47.70.103]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ssyw5r9cn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 31 Aug 2023 21:51:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fLDeoBFKJvQXCLQv2iy8Wmmz5Ux9miEgjiYCWHIKCczdrITbaf+PEASQ0LJTZpAkEFAbhkbM4F+Uozj3rArYk/9EqzIrU4unYqktVWMMZLeDKTUb6LF8FaSP7pLZ3ImnYV9J+kls/55flSHL6bY73bzmCZwCgtm8ogt7BiC4rXuY/jWuX8NyF1Nqw8VK8y3uZ+xM4qSoOynipsOcLNYBdyAKvGnGLPO6hp/dHZiPiGH0G3m8M9GjkeE7ytAa1eAF0iE2f1v354r7/lupHpkmUq2Uqlj5ruFLff6s3ky5Hb3qeKx0/Y8xBYED/khGE9vZiNMLrEn2TBUQA4+ZuY3Z2A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bylxVykSttIFo6q1wfkevgwccq8gjtUtCWilDmmWebU=; b=a5LQIH4BgaPz3zVZXQSKAHiE4uijs0t7n/dy/4UwlzN0MAzz3sXPQZMlFdOt+rh/NpYwoqu3raw2BJqzIIOvR335CZTsrijPNsJkkgZLj+6UUre9eriAu0Yi5rm1nGy32U8Wm7z3BRe4nF5Zkgkd1l/WpeEHWzAGAM5KyXI60sZbkAwpGbnOlw6ucA2hZDIMdB1GHAKWJzwPCTaNto6cAItGNyyuyXW1i1md0uX0d+v0TjFanmVMKKtT2Bwff8Q4Br+gD+J8vnnzJOBzfDZ3tSAiQxxpA1OzV5AxyutWjmCuo2vuFGtwAx3pP2hOH4zFpCSGHPtXPfCyQT+R7elUYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bylxVykSttIFo6q1wfkevgwccq8gjtUtCWilDmmWebU=; b=ZcnnQFOOdQ80r4zUC0nyQ95UC55RGWP+vpuRDgLvsvQFnv76fFgdO8Ko/LugllE8kmIBem4wMhU9NtUik84CtVjVp1P4xNfAFNMq4j5DhVF9VNzY78y9JgY18xpfPD6HfCp1ca2rnSKvgQc1T1ejGrXgvkDIqQX6tk9yuI9Bzx0= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SJ2PR10MB7760.namprd10.prod.outlook.com (2603:10b6:a03:574::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Thu, 31 Aug 2023 21:51:55 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4%6]) with mapi id 15.20.6745.021; Thu, 31 Aug 2023 21:51:55 +0000 Thread-Topic: bug#65621: [PATCH] `dired-next-line' go to meaningful line Thread-Index: AQHZ20HT/8wr5daoKU60WYHNTQV+4bAC13cNgAABd6SAAArZcIAAUhkAgACwII+AAKD/oIAABN5EgAADr2CAACeyeIAADBAQgAANFrOAAB/AQA== In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SJ2PR10MB7760:EE_ x-ms-office365-filtering-correlation-id: 72c5daea-e8e4-4488-c524-08dbaa6c7e0d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4wJm63fzXM14iUpv7htd+/W1NAWAWLoKHCTFF8hW936Ut5RPtT2bXblkvAPdDsTBtkmc01EMmNcALt1iOk5BqC9Vw1fLLA2Y7R65kYJfwaRxjkNN31HafXCDmCmjGwqsvINJ35+t2fJNk2DZ4h+SKlAzCF1hrIZOktkPGC6irQoTy8AcAEFbdMVrzVO+AG3+QgzizKKdj92u7JPo8HM6Ltv7uHTYmc/22MU9K5FpSpVEqdt5jCedRUzYOyRombwLh7Cm5H0m12SlfuZe4x1B+o9QiB0IBbOVtCUpgRbXqFDj9Qrm923cx7tNGpWzAKuttozyT8gJ5VyayJARtQDbqQ+19woBgQU3InhNohGBCufAhJvPr6iHhZWd1iIHRBfe0FAvMDGnNBtXVtYvKfPPusoo1VEJg55Keauh3hoNxG1Isp6z6qTxJ0JmwQ8XUYbLFId5CA/PGkwCJt+mwMBytutiSICfC39eCDTmA5y8/zJzC4KSN08xj6lDpjRhe3ByfxBOIL3CRLOLHHEoFylElb+URIgOv/s6JRKenAjQD7478xhuUq+y5qov5aSYXHB78k1bW2Hop4ODKmbA7vFme9izoynRlPqsZt64EMxDXFNYJGGEDe++syuJkNICqUXB5VvHRB61yT0Rp/wuYQ8EKA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(366004)(39860400002)(396003)(186009)(1800799009)(451199024)(41300700001)(38100700002)(478600001)(6506007)(122000001)(86362001)(71200400001)(38070700005)(9686003)(7696005)(26005)(4744005)(55016003)(64756008)(76116006)(66556008)(316002)(66476007)(66446008)(66946007)(33656002)(110136005)(2906002)(5660300002)(8936002)(8676002)(4326008)(44832011)(52536014)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: s92Lad1TafdFwG4MtC7TQD6BiD2yDbNuZtekOSHo2Qo0w2Y67j6wONoTqZcrRFwaaCwylrW+fXN1GZpakLLLFQbLzQj3NfQpM+ZQ/OPCRai30+9i6emgHInA0VpAdYe88tTZO9P0HbVSrCbJryVgD9ac1/JvH+vrMgr1o8koE7qX3Y18Ca2IQPzPN5BWD04LJpg4yWe+riGjiqYONEKsOOHOj6AwLKEiLJZXLdEOsCu2TdrRXm9HAQpCPcgKydlu5W4h0NBJ/Q1Okio9zr7yHB3PjDKyAivgeoY1K/Wd4E3FwCfvL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zCL0ni4KRSt5AFC3FC6AVQnN4NbkdK4HL873S1s/eShiZNwvPjftJL2QXKaz6oZz8RH4YhIOcr8z/8oA5FlDklEa8QgpxEJ+dOh+0EbGuGUZEQ3nVx2w++zJ47BpSYMeqdvfPUNIwCqTsXV33cvbLSY0VYeZO1IVIfBftmGmNKIMxxzlRCGzs6CuVY3eKwbAb6OOOxtaxp8dSE/BglUmxTS7pTXft/2BSxn99GAtPfbEI1lJJ/I40Br7HWJj4n0I0vOQ7Kyq73KZXcXPuENESuZMrnExrVGCYqvXvmdDvasReUfMll4q4l cUn5xCNNWL7QiXuHjOyR7siSIlzJg9NXmula3skWrq6JRiABhuOFIXyTlRxoEOJNaoZTaRuuPMEgb53eOZxjEfwSKSq6uj5s6W X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72c5daea-e8e4-4488-c524-08dbaa6c7e0d X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2023 21:51:55.1043 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hx2ffuIFwB++hp2Wr/HZA02F+Xub1zxsyRS8xITDRoneAraBrBgkXead3TpKwDuw+j1LtqFeI+115ReqN7piCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR10MB7760 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-31_20,2023-08-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 mlxscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2308310196 X-Proofpoint-ORIG-GUID: t_d0WoJtQkxdSoV5yl1u2kgJSkc71YFV X-Proofpoint-GUID: t_d0WoJtQkxdSoV5yl1u2kgJSkc71YFV 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268850 Archived-At: 1. I see now that the default value of `dired-headerline-is-meaningful' is t. For some reason I thought you had it as nil. I thought you were changing the default behavior so it skipped header lines. My bad; sorry. 2. Doc nits: The doc of `dired-headerline-is-meaningful'=20 should say that it affects only commands `dired-(next|previous)-line', instead of giving the impression that it affects navigation in general ("when moving cursor"). There are many ways to move the cursor, and there are even several other Dired-specific ways. The doc of `dired-(next|previous)-line' should refer to the behavior variants or to `dired-cursor-goto-meaningful-line'. 3. FWIW, for vanilla Dired, lines `.' and `..' are generally "meaningless" in your terms: you generally can't act on them. (In Dired+ you can.) Dunno whether you want to include optionally skipping over them with `n'|`p', i.e., via `dired-cursor-goto-meaningful-line.