From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shynur Xie Newsgroups: gmane.emacs.bugs Subject: bug#65621: [PATCH] `dired-next-line' go to meaningful line Date: Fri, 1 Sep 2023 20:51:16 +0000 Message-ID: References: <834jkghcu1.fsf@gnu.org> <83y1hsfw83.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "65621@debbugs.gnu.org" <65621@debbugs.gnu.org> To: Drew Adams , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 01 22:52:02 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 1qcB7Z-0009YA-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Sep 2023 22:52:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcB7S-0003VZ-V5; Fri, 01 Sep 2023 16:51:55 -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 1qcB7R-0003VP-KA for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 16:51:53 -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 1qcB7Q-0005XP-HF for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 16:51:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcB7Z-0005XV-RO for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shynur Xie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 20:52:01 +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.169360149621257 (code B ref 65621); Fri, 01 Sep 2023 20:52:01 +0000 Original-Received: (at 65621) by debbugs.gnu.org; 1 Sep 2023 20:51:36 +0000 Original-Received: from localhost ([127.0.0.1]:34210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcB79-0005Wn-P9 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 16:51:36 -0400 Original-Received: from mail-mw2nam12olkn2089.outbound.protection.outlook.com ([40.92.23.89]:38016 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcB78-0005Wa-MK for 65621@debbugs.gnu.org; Fri, 01 Sep 2023 16:51:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dsV1OfuH6sq+2k5FbboMCcon77oEfU1ajEWMzhlxIpfa1+L/7vEEQ/1lIrhe5qoslF9f+qQrgLRE2MBNDKrSKvM91GCyGoXiHnY1CweetVL4arz5i2O2gPi4vNY4eL/Wk2CCzSpF+SsjaX51IN9P570cqMG+rXo0KC5ps9YF2tCooSbOB7qnmSfOtgcM+t5bB3izdRVxZI34zYJnvCUGVARRAaGP2/48B9gZ+Ju0GdO26YlFFRkznHydHmMp0kqVXBURQrVifjvxox+fM1s4tLa8RsvlpjdC9vdeLsPXRVTs+WOhyjCKat1GUWUjkfPNQoWk9zaHR5ecOfSr1Si3JA== 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=3lOlnK3dnbkKwUTgIqHA1Q0u5YqVVZzoKKsPzWKIBFE=; b=gC4eRqZgZUbAOr2nv5VAXGteloiVRFdQU2hK+nZQSIhUQ4GDeUi3JlD7OI4tup4XgVtbHpFg2wzajseis9S1zAhK4osf7N/VQ2oK4rGQb5PDIMdbW4KkkT0ARpplhrOgwXVDlcFTVvaTJfkHVSGM7WLYKuJLPFHpyrzR2vG1fIh1W8dlW7v0fs5xBvZaTRTXs2pshB4PtM7nlyj4hVjty4OJXzYzqZalYS1hfy84vx4tzemL4ERk+D57mPY0bHoWrp6P8Umx5jIPpPX4guveOZzsfjF0erj6OcrPPNXWWBGT7Iyd7X1eCode2+OGAfCi2IRLhInWlcLztl0AEaufZw== 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=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3lOlnK3dnbkKwUTgIqHA1Q0u5YqVVZzoKKsPzWKIBFE=; b=aYu06VHaHG/F93c1K820lq+cQH8RsJgFKNu+6/pEXBxwi6ZuFFIVIA0FgyUCMJOxtxTXpH4SW5P74hLC+wJo7pqbbvM/5rX15uOsK4eywrGgLfFPzbkTv9+firB50oebbzSx9ed0Lmo01OPE6gj1OVyOJ5oIPBkBBwwcrv7fZSJjISPLVxmuvIoZuQpLvCloBiXDrZPk2z2FGtTTUNg2c/nZ691xbtP79mUgCBnJKHEHP9gC/ALnLLvslinqAWVmvnPNEfQlOjzNoXQoJLDqlTmpYHsoAh44U9B4MDqm2Xs63eqb8zo9xLuItcnkOMFeDMP9RQt6w9cuw4ADiNG3Kw== Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com (2603:10b6:510:288::7) by BL1PR11MB5493.namprd11.prod.outlook.com (2603:10b6:208:31f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.23; Fri, 1 Sep 2023 20:51:16 +0000 Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::d0b8:54f7:2a45:2983]) by PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::d0b8:54f7:2a45:2983%5]) with mapi id 15.20.6745.023; Fri, 1 Sep 2023 20:51:16 +0000 Thread-Topic: bug#65621: [PATCH] `dired-next-line' go to meaningful line Thread-Index: AQHZ20HT/8wr5daoKU60WYHNTQV+4bAC13cNgAABd6SAAArZcIAAUhkAgACwII+AAKD/oIAABN5EgAADr2CAACeyeIAAOFoAgAFNWDWAABBaMIAAKCs5 In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [OiDfv/WpK7Pmzjcsg7DfhKxBbXMvh6mp] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB7470:EE_|BL1PR11MB5493:EE_ x-ms-office365-filtering-correlation-id: 17d40716-2d82-474f-1079-08dbab2d2f94 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ogNmDQsjK+j3+Nb/2K6nOimbxtsEsHsjgoO0s3V1SBBcwE62X7VZseOIghf2xbqtQmCx3L1834kQ8RmLjAO62WipHhFVcpJSSI2XyDXrENCXG0WYg8P3Ce7POtnyOe8SpamPCnX9BkgNFsYIZ6Q9WRdhOeHD60dxESbvbE6HYZ+2vd3/3ynERb0AL2eHqd9kTAWPBrmvHAQFpJE4eQBmYSVgJiUI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9/1m0AJyONiraFiRpvfPmLfKFu9IyJMuZ5rxY9cU761SsrGzkpU0UTEv5s3SrtqYylM3BLteGD/ysQWYwhGJ+qBK +yjCKkKDsUkN55x7uF4SgYDyD1nHY/RyMVn2gjQ/QGCvlEEfqlK3WdKbWeLxRR1sXbvZBWAvMNoWe1B1RbiXsnhqNPhdoBiOE1 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB7470.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 17d40716-2d82-474f-1079-08dbab2d2f94 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2023 20:51:16.2932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5493 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:268925 Archived-At: Let's use this option to settle our differences:=0A= =0A= (defcustom dired-movement-style '((move . bounded)=0A= (skip-pathname=0A= . (empty-line ...=0A= "regexp1" "regexp2" ...)))=0A= "..."=0A= ...)=0A= ;; 1. change `bounded' to `cycle' to use the 'wrap-around'.=0A= ;; 2. symbol (empty-line or hearder) appears in the second CDR=0A= ;; means skip the corresponding lines.=0A= ;; 3. if the pathname matches any regexp, that line will be=0A= ;; skipped.=0A= =0A= Drew wants to skip the current directory and the parent directory;=0A= someone (one of my classmates) said I should make it skip LICENSE=0A= because this file won't be touched again in the subsequent development=0A= process;=0A= I speculate that some people will also suggest that ".git" should be=0A= skipped. They may say most people will never delve into this folder,=0A= though it needs to be displayed to indicate that the current directory=0A= is a Git repository (although there are other ways to remind of this).=0A= =0A= So I decided to withdraw from the argument. Making decisions for=0A= users has no benefits for me. People have their own thoughts; just=0A= let them set the option themselves.=0A= =0A= Any suggestion, Stefan and Drew?=