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#52384: [External] : bug#52384: 26.3; dired buffer navigation tweak Date: Sun, 12 Dec 2021 18:35:22 +0000 Message-ID: References: <69e7c202-8ad6-46c7-800a-f54f0b314d61@provide.net> <86y24rlylf.fsf@mail.linkov.net> <86zgp68c8j.fsf@mail.linkov.net> 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="25934"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Perry , Stefan Kangas , Arthur Miller , "52384@debbugs.gnu.org" <52384@debbugs.gnu.org> To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 12 19:36: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 1mwThj-0006U0-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 19:36:11 +0100 Original-Received: from localhost ([::1]:50590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwThh-0005VE-KW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 13:36:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwTha-0005V5-Fc for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwTha-00019Z-7K for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwTha-0003oI-3w for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52384 X-GNU-PR-Package: emacs Original-Received: via spool by 52384-submit@debbugs.gnu.org id=B52384.163933412914607 (code B ref 52384); Sun, 12 Dec 2021 18:36:02 +0000 Original-Received: (at 52384) by debbugs.gnu.org; 12 Dec 2021 18:35:29 +0000 Original-Received: from localhost ([127.0.0.1]:53094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwTh2-0003nX-Ms for submit@debbugs.gnu.org; Sun, 12 Dec 2021 13:35:29 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:27884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwTh0-0003nN-4r for 52384@debbugs.gnu.org; Sun, 12 Dec 2021 13:35:27 -0500 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BCEnvQf024871; Sun, 12 Dec 2021 18:35:25 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-2021-07-09; bh=7WMZ62WksdDjp3CxXZkxNJD3SuqAx4xXOrT6sXy76vg=; b=a0GsU6cxPQL0h6KdCPFbdy7bNT3ML9nacc+6H638O3dZqLf1lIgeMgwDZeNOZHnET8Oe 3iEiAfj9VUdfjazqjoi+P1bvo8RCG5Hbt1QViAsuyykp8fVi88b2NVwOYVx1BeaZJcKH KMGJrJK1geVDx2sOumCItTTuWO+Fraln6Rd12eMzRNUSuHkfXlZHtt486LMwlqQKXVqy XwzMZQEGpZTsZ8H4fKJojZsbrt/HMNFenh9nAwMw68Jx7i5IAC25eWwkrwj898QvETOO npoVMU0oK1lD2rUprXrpGkcUSbnpQasfI5iyD+o5rLkJZPdv3eThnVmKPcCjH/qlazMM lA== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3cvjdcj12x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 12 Dec 2021 18:35:24 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BCIFv4G038456; Sun, 12 Dec 2021 18:35:24 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2170.outbound.protection.outlook.com [104.47.55.170]) by aserp3030.oracle.com with ESMTP id 3cvj1bc5gn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 12 Dec 2021 18:35:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G2acfhSHMvhvPWclminVCzub1IJrhob9XXKIaLo2hcYGgZkP+OxUjxVFYQpzY/lRquyY/Ij/q5pBsBUbOGPlJB2+4zpXnYhqVr6VFACLV0nLOBGQHM/eHxKyqPUO3kHU58LjZwIs8gXPmSmtmrIJaLSuu+AvG0PIqgu/pTMLYGTMfgQW79OAtaLgVhfsX+7bCS5mj2yYD/98fwFMl0SvYrJY0IWP45YNkmRAuSmPudTtvadoQOqmLfoqiMvDP/Jc0G2IYxvCnmAgoxtNal+X78dt3aQJHE/hfi6jW+P+9BkLZ47PQGG2ngSNYJz8AxjSSelRJnslPBbM+zww02PszA== 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=7WMZ62WksdDjp3CxXZkxNJD3SuqAx4xXOrT6sXy76vg=; b=KUPGrbJ7XkNbv3UJiQ45G6hTRuQH9JlUK0Sh/m+IGXZBVOfUKMsR6qsXkN3BOl1iYk1KfUUhUuFZnjBmH2u+j9KGqxzbYQxezNXigIM38/buW3t9zJTLRSMWJ84GZ9n6R1z4jEdJ41ElbZiN0HAJlACIb2ojxAxwUeDIs+viT3mrjjac1ETuTxyx/xoNm57XBSSNzv/8aNBV8pIMGXvBXa9ScYosfTuebU9MCaT/VbP47R2s8QCXW0fhkzhVeThg6ECuHh8fnVBnfYeaPG9IKe53wjjlRGogBIrhICxZM14R31WTvM/DgpdXbEiWOVKk/6Fpnf7bLRJ3uNVzGlRnqw== 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=7WMZ62WksdDjp3CxXZkxNJD3SuqAx4xXOrT6sXy76vg=; b=JzWlpwrfNqXPJDfHDoWVpYsqlb7o6aiLD5+aR/iTWEmJz1EF/hoIRpDHqgiiGtSpecRyA7xil9n1Vi77jfUh87xPz8VCEPQc/gkMF3wOUaKS1AYJaSsrutquOEN54YN8gGG4ZpwGtbtjcZad3XgxgpUEiBke5tFC3ZWXhzLd0io= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SJ0PR10MB5661.namprd10.prod.outlook.com (2603:10b6:a03:3da::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.17; Sun, 12 Dec 2021 18:35:22 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%8]) with mapi id 15.20.4778.016; Sun, 12 Dec 2021 18:35:22 +0000 Thread-Topic: bug#52384: [External] : bug#52384: 26.3; dired buffer navigation tweak Thread-Index: AQHX7zZ2U3h/UTNjqUGTSGeWqAjDVKwvJRBQ In-Reply-To: <86zgp68c8j.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a2dd44a-6ac2-4b7b-f41d-08d9bd9e27ed x-ms-traffictypediagnostic: SJ0PR10MB5661:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K9n46z1zg0lXl5f8o9cSBMchIZsq6GLdvimcKQfXERqI2PIvl31jz5P/S0gYPfj/RBF5WlAXk52krxP8c9YkqsJaWLauLu37ZGuCkK7h1sRHkIOojSSzj8hwm/m7JIBXApI8qB3lJ5lnJVghWUziUWmN3wwPdo4Ufh8vFkLJ5HQ+5C48YPPOywjA3u3AWrwLb9HHuMHYb1uOX26erEUxDu8TPaqQPKcqDsQZN1lj6Mp+vS9zQdlT43e59bggDiUzeiaCy4pEY6zjjktVmW+hEjIg+09mu+33UlAJ4bAAcAPzpNeA4tjBLKOm8ke7WYuZAxZoZj5aPhKM8PZJtXMA2rmB6pToOOZdOP0Ee4ITbToE5cPIuCZfMo+aAR5pkcV/qq+wX55kznth663SPTHzwpzq+hiGjVBNIO+nfcA+xeBDZbdaCT5JwZlZJCVfirJHGwyUDmg5fLbKjzXJhJuOrAn0DV4cU4KW0MYef0L2U9yTRobhsSlxHVntAK/DBrEyarigRjeS9w3LE6SGr8Zw/xfso9Hs+caTKW20aNPvgR7iqlEh2iiUE2xiA3w9ZNcAn+vFqCPrmAQrNQajQjg1K/TxPCk/NEMwLXdZCyNNfRG0MLvicHrbUAbjImdP0D/Q23qG3lxaxOHFn4OjqP1KXrnUc/kkYOLlrmXQhF4vJfAyff5mwzCXB6HMjnwIysErcHLyVL/A7EV7wU8Sl6V1olgvIaYRYFQvs/clPCGUh3f9xGqxjQJJEouCiHuBs LoKLJX+HEQMxtaDIN8uZxovYqH80jMzVp/Cnzba8/p6EOQ= 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:(366004)(38100700002)(122000001)(38070700005)(966005)(9686003)(2906002)(66446008)(76116006)(66556008)(64756008)(66946007)(66476007)(55016003)(316002)(8676002)(54906003)(186003)(86362001)(8936002)(5660300002)(508600001)(44832011)(4326008)(71200400001)(83380400001)(6916009)(6506007)(7696005)(26005)(52536014)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: EfWLx/wF7vJyClEU9lNupW806KZ4eNXDBehWUA105jF6FD9u0RAlzZsM2Y0LkCfPlTZ44Y9b2PJdl/v82tL/lzCTNGsiQViZKJriHti0cRiOvyHj9dx8b1RZ05W6TsJZW8lsByFnxVMkSgXmD6o0EAVunA6wpSEni9UsWka/iCCwondHbmbbMkD47T6sESoilAJ6GS2dYnnhxHf7ulVCCQAbCJ+8G8l1mS4yM6+SP+u6mWeJZkVf7rg0/hWPim2FHC0dVNg76hk/6bE+RAKTvKWRGJw2qpvorqsCnfDQS8PkVXr5ipZWHakVH7a1iLGCiMx0yVn8U9Ldrt97I7bce5788ci1iCkewem/lqST/yBTYFfHQDZo5AdZ2zRhf+2jCkUN0rDo4fubqBH/RpKB4uP7VSXjEkBiftSNV6ZhJCYNZG2XaQ5u7C2gfRrLz3fggGmjOOcN/brUgnRrL3buC5koKsOuA9Qs7ZpJexpnNg196WscKhB8P9eF/UU038pvwY0pELmCKrOqf8V3+XJtUacxQsti5EU7TeLbvPZcOgeNTCJ9NcNnB9d6D6JZHzjfN3vjhBrxrnrjtRX/hnjaqjOsm0T9umgKQupN93mozUlr2aLPwUR39sLJAffzhaTnrrkpdDhLwwN+OPYF7WNAnAV2g1zZoupCnB0AjPjxP74SJKN04a3NUWSeDrCc4ndtdn8C8KblhZVJZTdUzi8Q9iUbwjFRngNeh/koLUyBwM+gIfnTJuDFEW3K0L otIp9DHLWEt9ULyWNI4Z7aDhYDNA0ZRAm9AEZvJDaEQtToAxdYCqVRLirBByAjA93+x+0ixDHw20BkNbPmP0N2MNo7fp/u7ME3 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: 2a2dd44a-6ac2-4b7b-f41d-08d9bd9e27ed X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2021 18:35:22.0931 (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: BUETQPzsO7m8RTSwvKX6HTi62RC1Uxu9RS/mSAGIdhFnMJk93A/GJhilEb2WmykNlRgnvx0X8roen6oD5iqCgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5661 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10196 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 suspectscore=0 bulkscore=0 mlxscore=0 spamscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112120112 X-Proofpoint-ORIG-GUID: DFH78xbLoD2M9STrwJnwvpXsn6asaWP_ X-Proofpoint-GUID: DFH78xbLoD2M9STrwJnwvpXsn6asaWP_ 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:222247 Archived-At: > >> > (The Dired+ versions of these commands wrap > >> > around, if option `diredp-wrap-around-flag' > >> > has its default value of `t'.) > >> > >> Yet another feature I had already implemented > >> since Emacs 21.1 and sent to you for review in 2007. > > > > Interesting. Or is that tongue in cheek? > > > > I just searched all messages I've received from > > you, including those in 2007, from mailing lists > > and direct mails, and I don't find any such > > suggestion or review request. Could you point > > to it - I'm curious. I expect that if that were > > the case I would most likely have added it to > > Dired+ long before I did (which was not until > > July 12, 2013). >=20 > I don't remember exactly, but the closest is in the > thread "TAB for non-editing modes" on emacs-devel > with the discussion about using TAB in dired > to move between directories. When TAB/S-TAB will go > to the next/previous directory, then `<' and `>' > will be free to use for going to the first/last file. This is that thread: https://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01976.html I see nothing there that resembles anything like an=20 implementation of wraparound navigation for Dired, let alone a request by you to review that. I don't even find any suggestion that such wraparound be added to Dired. I see nothing even vaguely related to a suggestion about wraparound navigation. Checking your and my posts (and others) in that thread, I find nothing about any of this. Could you point to the message(s) you're referring to? A URL would be good. ___ More importantly, `<' and `>' going to the first and last file, respectively, has nothing to do with wraparound. So if that's what you suggested or implemented, it's something else entirely. > >> But I don't use it too much because it's not > >> so useful with --group-directories-first > >> that really should be the default. > > > > I have that as default for my own use. But I > > often change sort orders, especially for date. >=20 > When you change sort orders, directories still > remain at the top? So first are directories > sorted by date, then below files sorted by date? For my own use, I use non-nil `ls-lisp-dirs-first', so directories remain listed first. (But I use `emacs -Q` for some testing and some bug filing.) When `ls-lisp-dirs-first' is non-nil, dirs are listed first. And yes, their order changes when sorting is by date vs name, or some other order. But as a group, yes, they remain listed first, before ordinary files, within any given dir listing. The point is that it can be useful to sometimes see some or all dir lines interspersed with ordinary-file lines. Again, a classic example is when subdir listings are inserted: Directory lines in those listings are separated from those of the main listing and from those of other subdir listings. `>' and `<' let you move among consecutive dir lines throughout the buffer. `<' and `>' have their own raisons d'etre. They are not the same as `p' and `n'. (And yes, it makes sense for both >/< and n/p to optionally wrap around.)