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: Fri, 1 Sep 2023 21:06:06 +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="35287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "65621@debbugs.gnu.org" <65621@debbugs.gnu.org> To: Shynur Xie , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 01 23:07:13 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 1qcBMH-00090e-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Sep 2023 23:07:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcBLz-0004aY-JN; Fri, 01 Sep 2023 17:06: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 1qcBLx-0004a4-0J for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 17:06: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 1qcBLw-0002tG-OS for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 17:06:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcBM6-00007v-2K for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 17:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 21:07: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.1693602382423 (code B ref 65621); Fri, 01 Sep 2023 21:07:02 +0000 Original-Received: (at 65621) by debbugs.gnu.org; 1 Sep 2023 21:06:22 +0000 Original-Received: from localhost ([127.0.0.1]:34231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcBLS-00006k-6E for submit@debbugs.gnu.org; Fri, 01 Sep 2023 17:06:22 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:29428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcBLQ-00006b-1y for 65621@debbugs.gnu.org; Fri, 01 Sep 2023 17:06:21 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 381CAMUA027021; Fri, 1 Sep 2023 21:06:09 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=Q8tEQrUVIw/gUK2lkmaWxkvHmLWNu8bur79C9XB+VM4=; b=GZSZ/Hy2uhiCqWKU3eVwFF9d/p3y8uwVqIEoLBeQ3ThZp7B7s6VgvBwMq0LCLe/N+WcM T4JQRsfLkVQWtr1XBNQjJ0d07iAkc7Du4SY4DkrMIAADn0lQ1ADXYgumn2obm8aYcSz7 848yVDhn43pa8zRs+FzzYkyezcXTBk+LrgRwAq8VW9DrA9vMv+mShGozjlVFEcl89xdQ CtBJm1Y8koL6HnZ7k2O3lTwlXgJbpiuM3Z2jCk3iEqTupl7yuAuw9IdK/re90InphyZP BpwnZQN1xgq3WbJ2m/8NkKMqO3LHhY3wDT8ogLYFw7MYXV0nN+JHL0sD8gTbW/WX9KJE Pw== Original-Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3sq9mcvsew-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Sep 2023 21:06:09 +0000 Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 381KEEKq014235; Fri, 1 Sep 2023 21:06:08 GMT Original-Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2044.outbound.protection.outlook.com [104.47.51.44]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3sr6hssq7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Sep 2023 21:06:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W4F4M2dyEZqZkzTiAiGBxGtr69XSjWf9yfbJxNP5zgOtsKMGpzPLlZzpPO66sdTvVoU+o8M66LIiNVoRySWczTblz+pVtOn6OfBcdaApopbQAESMzIkHml94+mvvkG9BYr1vnzkBXOWUBcmegSOtBKmP0r2NwLDCvCN+Mdc1JhIhBwxP9Vp3cgTShjNoKsihy95pEFr1tVU/WK1HYCxeszA4FO6CatAxJPFNPq04UJqsdcfihOYp0BzJJPwfUBnTz9vob0f42sKrXveRfkoJ/wExuRhTS3KUhVtRcbxVwnqrM4a+5/bFzn/q51YbVVpC3D1RfUb606GXeeyQ3cO/rQ== 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=Q8tEQrUVIw/gUK2lkmaWxkvHmLWNu8bur79C9XB+VM4=; b=AMJeDzygddzsSc6ANcIir5WksSsb8h2t7+Let3UPJD3+Cs/wGqKWfnQD7whfDgnXVRaBziYezkOxWRZr3YlixTlIDzCoK5kTKpa5kiSuM9tHwJsguJtYsc/1BTdESzA5tBimBIcFoUuOf/YT0ObKMqFv6d5Pq1OfYsnZdrRrSTgrstGyG729l3r2KFYxCaGOL9O+bF34Rx/NIt/MZMJ5QvvuSlkMWyZXI1zWlnnFWuEnli8i5QJvXNp4ITk8yVn1hO6CJPoCfiYToVQ6YNMe4SxoYFoxRoaVy5a4HwALybmop4zV0j8OSoJZM/MNECG21g0LZ+9pFGwb7E48kXtEBg== 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=Q8tEQrUVIw/gUK2lkmaWxkvHmLWNu8bur79C9XB+VM4=; b=HJL5do11wOe/47DJdmDz4gApoJhCjiYQYvfSPXFviDJ4QltWbv08p+0aZOrSlJ06KpXcNn041ZYkyfeyTN73U2870mcDOBWEMPk5KGdJP0ydJMyW1Txakgn/njlEGXm6Xsdltyis86jwdhHHHRtzdioGyasyuSJy86U7G5GP4kI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CY5PR10MB6120.namprd10.prod.outlook.com (2603:10b6:930:34::8) 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 21:06:06 +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; Fri, 1 Sep 2023 21:06:06 +0000 Thread-Topic: bug#65621: [PATCH] `dired-next-line' go to meaningful line Thread-Index: AQHZ20HT/8wr5daoKU60WYHNTQV+4bAC13cNgAABd6SAAArZcIAAUhkAgACwII+AAKD/oIAABN5EgAADr2CAACeyeIAAOFoAgAFNWDWAABBaMIAAKCs5gAABgNA= In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|CY5PR10MB6120:EE_ x-ms-office365-filtering-correlation-id: bd765e80-8a6b-46c5-59de-08dbab2f420f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sSCzyCmXVFi3nkrfqIZ/5w2zDhC9YSpX2A4qwlYVkMsUCQilwiZStx//0D0QCqCm/A26ggEPNyiWIuKtrS/uE4cfKsg/gwen6RtIvcJ0WyUf2JqwhQuv+kLsar0uSF+FjZpBoTUkTuUFYoXZ8/LXQkWezqV8EHhBFUget1iK3tqKhfYu5u+4NgyWH5VZzIED600IE6ZaDFOEDgy3W+hz2Y+aREn0Xt0KcC+rWHZWmge56WJIwj9LTUeUu8CgWElDhvWzs91/A4/hLWNz5GFcyuFrwRTcHirMdmdQEUel1kcljDD9VDIa1rv9/tzhHb51K2n51O5hW6361tUIQ2uZze08r0xCpkV+GoxlXm9Gk2frmttAhMLo/Z8IjRtNbD4Q36olgUiPPgfs85tEsJBnwJKW5wpAFz3bPvazX+LRHNuEffkC0tzbnaWAFWlvQpegt2uVC8yWL8p9bBkJrjKQPPXRopTuigF2cevP10TCy+b6APOwgbRJgJcNe2PD/+un0Wzgr8fpyvVokiugiL1Vu5SJb4gypEdZFSKmfilSe+7CJNGguvE95PBt6Z+5ZhrasxCnBa9JkP1bIllx7FjVhWbGs0a3lfZjPYr+N7sAu1LJ0sDFuCKkhgIBc7ur6YbdxMP3r/e+SEfVU7gOOPMAuw== 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)(396003)(136003)(39860400002)(346002)(366004)(376002)(451199024)(186009)(1800799009)(122000001)(66899024)(110136005)(9686003)(7696005)(71200400001)(6506007)(38100700002)(86362001)(38070700005)(5660300002)(55016003)(33656002)(2906002)(26005)(83380400001)(478600001)(66556008)(52536014)(76116006)(66476007)(8936002)(66946007)(4326008)(8676002)(64756008)(44832011)(41300700001)(316002)(66446008)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: DALxee0cV1VxeU76Ren0hU09+dprM1dR7u5AN5iTb5gDrW31iOk+3/h9rcCq8L9okWeyFfOTYtqt0+8CzjCxTTOFRXYPeKbEgF9f6/9BB10QCRKY17tcnWWe+kLhFPqwrfOVSAGcehtTFNB/zUVohXGOLWvzOKcMy93B+cCKsB1/WS3DdRUANMQM/hfx4Pedfh397nQm9MBW5dpEnpTdRZwG+xg3+B8PRQV4di1n6enmhM26H8oJEnwxq66iN4LIdqpCQLJex+IBqETQ0avfr5IGMv7T4dZYiXAYzChsT+8DAf6BK5QMZ3me20oE18bk0LlExMs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DlH5wfNzk++DjGsF7LcCA+XBni8bg6qBWFLTFZTphSQFwt6rrUlN+EpSh1RwAJ4psMnaRKpkIhkJNOpEt1Kb5j8TzgqXhNJ4ulpVfJqzcfRHn3aWilhd0UFFYzmLmQdbTTUCn+tVca2ugeZPnbA8iDrYn5r6xM2ztEO5vGH/bA1gVPbgLFj3FHUXlDmAB2mvoUeNfLSTZUwyYVRKp6ZlC/KB2Kd4K7ghU29mOc35RKPbWeKNotR4rECwNEe7wAMe5xXEZ7fzwc6eiV9P05Ka36c7O+tMHh 917YSge7GZuxvGI08RHzGEvJgltsCd+4hY9KPW6Kip39uj9+ba7y6TpL/2JtEdvLOsoArPHlSbyGDQ8lan 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: bd765e80-8a6b-46c5-59de-08dbab2f420f X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2023 21:06:06.2928 (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: pbzuqbNwH3ORwOrUz45BnbNyYf7hN9+anv+cuiIK9A15Ws4lTFszz17lup8rXSV9tb+jSsMObSvatfQqK73QgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR10MB6120 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-09-01_18,2023-08-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309010197 X-Proofpoint-ORIG-GUID: __FCLYX3KpIRYm-1MD59yvx3uzjZbKoo X-Proofpoint-GUID: __FCLYX3KpIRYm-1MD59yvx3uzjZbKoo 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:268927 Archived-At: > Drew wants to skip the current directory and the parent directory; No, he doesn't. Not at all. Definitely not. I think maybe you misread what I wrote. What I said was that for _vanilla_ Emacs some actions aren't allowed on `.' and `..'. And so based on that, you or someone else (NOT I), might want those lines, in addition to blank lines, to be skipped over as "meaningless". My main point in this thread is that directory header lines (main dir and subdirs) are _not_ meaningless. You _can_ perform actions on them, so they should not be skipped when navigating. (If you must make it possible to skip them as an option, so be it. But they shouldn't be skipped by default, IMO.) FWIW, Dired+ doesn't skip any lines, except the final empty line at eob. > someone (one of my classmates) said I should make it skip LICENSE > because this file won't be touched again in the subsequent development > process; > I speculate that some people will also suggest that ".git" should be > skipped. They may say most people will never delve into this folder, > though it needs to be displayed to indicate that the current directory > is a Git repository (although there are other ways to remind of this). >=20 > So I decided to withdraw from the argument. Making decisions for > users has no benefits for me. People have their own thoughts; just > let them set the option themselves. >=20 > Any suggestion, Stefan and Drew? In addition to the clarification I offered above, I'd say that none of the complications you've offered with this latest suggestion are helpful. Let's keep it simple. If users file enhancement requests to allow other behaviors those can be considered later. I'd suggest that skipping over blank lines, if you want to do that, is enough. And offering cycling is a nice-to-have, but is orthogonal to the bug report.