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#16214: [External] : bug#16214: Consistency in dired-, occur-, and grep-mode Date: Thu, 17 Feb 2022 17:12:57 +0000 Message-ID: References: <20131221.224043.270400015.tkk@misasa.okayama-u.ac.jp> <87sitl51un.fsf@mail.jurta.org> <20131222.204850.283027925.tkk@misasa.okayama-u.ac.jp> <87ppoo8srl.fsf@mail.jurta.org> <87sfsr9leb.fsf@gnus.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="2223"; mail-complaints-to="usenet@ciao.gmane.io" To: Howard Melman , "16214@debbugs.gnu.org" <16214@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 17 18:20:04 2022 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 1nKkRn-0000QB-6s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Feb 2022 18:20:03 +0100 Original-Received: from localhost ([::1]:54966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKkRl-0002Ok-Ue for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Feb 2022 12:20:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKkLy-0002BW-5a for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 12:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKkLx-0001wh-QZ for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 12:14:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKkLx-0006al-LO for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 12:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Feb 2022 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16214 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 16214-submit@debbugs.gnu.org id=B16214.164511798725269 (code B ref 16214); Thu, 17 Feb 2022 17:14:01 +0000 Original-Received: (at 16214) by debbugs.gnu.org; 17 Feb 2022 17:13:07 +0000 Original-Received: from localhost ([127.0.0.1]:52616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKkL5-0006ZV-69 for submit@debbugs.gnu.org; Thu, 17 Feb 2022 12:13:07 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:28850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKkL1-0006ZK-Ig for 16214@debbugs.gnu.org; Thu, 17 Feb 2022 12:13:05 -0500 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21HGUh5B021431; Thu, 17 Feb 2022 17:13:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=JRNzmTDXJaliuKSZb+K1NsR1xf5z6EMwsNdcD6PRQNk=; b=F90ElH0eYqH33V9jgAKwndhkmily6a1ZbYHkbjNN6ZHGtO2zsVckqe1AVyFMCC8IhbXs pmZ1kYiNs6P4NDYgWFH/FRe85B4j+bb9OtDUd+O2oJ3tGmdYHLjopLnmTc/2O/2vF+vY gp4mtkpKJ6fnfjNmvJP9FOWeJEOOl6x5QElaj1BGkv/XF3sdBuWUFVemTuARpt0x9xtq 1lKADguWa7ctBrVTRszq7xQi3gO7VGxZbuUOtL7CJ2xF/6GXOhWLhZeAStfACPrHUFIt Uyp0cc7EeIeeQFB4pU6spsxiJ0Uxp3MeT5fLO+1lPpy4ipHctwhpTXz57T+XbdtKhvYc +Q== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3e8n3fe4tk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Feb 2022 17:13:01 +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 21HH6dBd116581; Thu, 17 Feb 2022 17:13:00 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by aserp3030.oracle.com with ESMTP id 3e9brcr0w3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Feb 2022 17:13:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Axs4IfB9dTo8qJlNbTZlxoljlSVT90FfctmmvqdfDk5laniF8A+mm4CXks6/Qgo7/a7H9v28OGatogJgwsgZp2iBYQNkRoW4C5ed8evaXPqBcyfAAvY20wwOVq/hxG4h1U8mbwhU7FsgMNPb/Zw+Y0EhoqhDg1NlphOm3bMNieV/xvu+gJ5+FlJZnFgAqyBVJRRVoJVyzplu/Ovn4I50wbOggnsIxOeK37FPdgt9RT8jAUYmDOLCY/vAdwxK/K/+xYtcO00vneo258wETthmzdWN6Zj6rz2csLOzSO01T8I2Zby3/feOMNxvwE0SeAu1n2WGfroMOorN/QoJ1VAS6w== 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=JRNzmTDXJaliuKSZb+K1NsR1xf5z6EMwsNdcD6PRQNk=; b=I+Mmy4vq8jHVRholQP2TxutkmpWpwaGtBrGVnrT+8pLaj1v7WQDFmXgQwPrRR9vJlqCuzk/j2dXFafR+pQJFDiVozcW2pOpvdTDpIz8DMVXbYxmtksBB7k/+hSvcwGLzV0whFqCgzZbQrA2EBdp7gVPnp9s4CfXU+Cjk0acYu53m5fuKOGwunBjfEu/kuqxQNZN+bT/G5/LBc2XA7mqE+fefFPJ2ajJiGl/EkZ0wbBjjsNbu/O0ZhTNmX9NUfEFisJkaQazvveHNBc2B1m0Tx0sMwqLGFmQY0QQoJaDEjQqOJ+Nms68+TozdHugzi/jo3Dh286HFCl7S9R31rkZEcA== 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=JRNzmTDXJaliuKSZb+K1NsR1xf5z6EMwsNdcD6PRQNk=; b=ikTV19pI3RZsciBK0fwBfqLaq3OARpqWiAehhD4+eAPBTQPIYixS37TxEEraNGaMjdNEdIGlD86F+6HOQc8dT7tMBiyJW39kQ+bxed6tFN3SZzboqXO1xGNHYGGOqsQm81H+86Iqm9wGUVpg+pMKIjlhdjk8KtgLjt0HwhtxT1o= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CH2PR10MB4166.namprd10.prod.outlook.com (2603:10b6:610:78::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 17:12:58 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.016; Thu, 17 Feb 2022 17:12:57 +0000 Thread-Topic: [External] : bug#16214: Consistency in dired-, occur-, and grep-mode Thread-Index: AQHYJBwmV8qA6EIr7U+BqbyPE8ALsKyX9Ciw In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 48a27637-3a8d-47bc-5d15-08d9f238be98 x-ms-traffictypediagnostic: CH2PR10MB4166:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3y8bgqNtbPEKjiIxNOqIh6Dz4z3wyehaR3b8RbchB6ROiVPl78TkGo15h96/M2TNg9Lj2Gdreg42UW2h/zLD+ILH+SbwytC7iHGgduVVuQZKE6Jl4/d+uw4fuDS8CxaLmdNPUAXDO3U2lrKe7HaA1qmWZaL3VrfR5Q6Ha5BpaFwxxtCeTnCuh24PNGEfVUz1FXAL3CVnr6dz/hFhj8raDUm8Hk8w9PNeaPuJn5Zv4Ey9nzqhR67KL3GH71PyX9Os/C3w50Hr/yFX5evN0wKbuXRspRkiU1/xVrvWYZtaiBiILIib88aALFs7jd2wi89kf/XVq1KWOjRnh//F0T7a5TX/kowxWxkqALix5Cq87v8gSdj2M4CCQpZCWFt+nspVEKwGfAB6zP0e9Yvv9kSdCfJ6QzIvOohdS5/QS3z5d0FFAsiDMW85hZUWYcYG6K48Srwam3xdYDxC8Vtxevhz8GUv1dFatxbUC21wpbYvRkIGDsh6AQqRYI+rFhZ6JqHZq9cgV6ymChRmCDzbLDP8T9G/xqbFASuD+45jdRZoD80DXkidkbjE9tolQPjypsUWSfx9Ktlmb+39wFcR6h7Vk1XgdJYzXMTxugUg8t4qYxGsmrCGt3doxu5DtutR3GvUH4ZWOCEZjqUDZPl5Nxhy4SvEK7Z3RPS/Gh9UifiGzUwp3qOGsnrlEyQrV+m5EgN66OR01Tsf1lPk53UUx+9t4Q== 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:(13230001)(366004)(33656002)(44832011)(38100700002)(86362001)(55016003)(52536014)(8936002)(122000001)(316002)(110136005)(5660300002)(83380400001)(76116006)(8676002)(38070700005)(66946007)(186003)(64756008)(66476007)(71200400001)(66556008)(66446008)(26005)(508600001)(7696005)(9686003)(6506007)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: GxeDZ5Tv2h42JPrFKquN50SCFGx5g3tjB1UsLWADmbNiBK9xcoWmchIduPEOQlXrB8YJ5CxWb1Lk/yy5jyjmnIin3p/Hj0wGSrvFk06x8Elufbz0UwW6TwmKdzIcNw/ysAtNGXpWfAK3W8RpPbWPDmx0NKdD9o4s8pceHWw6vt/eEhYhBmEXuDPorJ5E9HHAaLCsz36kZiY2Py4yEjV+yPO7UPj6fTAu368CdjdIhJsDHebSG7SSh4d5Ju3wfCBo327j9WJ9yVajO9WG+A2xeObSJhccVyOK+vUNwmhPSZZ/93lJeCuuMExcKkQ5joPtsbHFcGegndPRgcR1UHDB7ST93LhH7j4MS/kmlv8FVm9bfAJ37OuPPRH/B/bM0v250lMj0hUH4V682lmw7JDHMUg2cUpoDAfk1NWo/mZUalRe+JrsbjUKjO/QE0sML4Q1lZIxd7CA05ru3pqx7JdDbs8qIO3hOOPn2NXiXlCrK+WVM9kpqUcd4npQWDcnclv9z7DVBOiuSEwNtDNQqBJJ5hHLHSX8hllzNT1rkkHfndCRkg7hOmDPXem0gWqNzKRb0dPGfxeocn9U3ZBN1hgJ326TfQRFTfxyEOfFlgXXaxo1xyRyvPekj0NITkqCj3IYqLIlDPCRcQQrsf4xe8oPNg8WP/aJ7bE2Pr7hHsrkajNqqLbzJNMI9EEhXUGR4O3Gc19RxTRyCTGXNfZItHITM3X+ZJCX4RE2qozNgtlrCuhYeq5hONmuMdiAV8 xqDHxtsSla1wydoj6pm8VV8t1wA2tKG2jdPtIwlwlae6jq0W9XvgXi366kLASv2CtIJw0oYE/rknlwubvgqUMWsea0LkUIh2KG 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: 48a27637-3a8d-47bc-5d15-08d9f238be98 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2022 17:12:57.8445 (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: YYDplcw8Bl1t1j7vw7iDUdAtRk51rV+Q53ZCr9tnY8aZMyOM2toWTZ9zJler3q/UJj7bH6Oxbf1M+AgWPItZbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB4166 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10261 signatures=677564 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202170078 X-Proofpoint-GUID: _30TZYIeaOPJkt7-gbdfqqHS61wfp5Xy X-Proofpoint-ORIG-GUID: _30TZYIeaOPJkt7-gbdfqqHS61wfp5Xy 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:227105 Archived-At: > Dired users with existing muscle memory to enter wdired via > C-x C-q are unchanged. Dired users that use f or RET to > edit a file are unchanged; those that use e to edit a file > will have to change or bind this themselves. The emacs > manual already documents using f to find a file from dired > and describes RET and e, in that order, as duplicates of f. > With this, e will change to be a duplicate of C-x C-q. FWIW - I don't think `e' in Dired should do what `C-x C-q' does. I don't think we ever need a duplicate default binding for what `C-x C-q' does. Dired can do lots of things, and can have _lots_ of default key bindings. I don't see a good reason to try to make its bindings correspond to those of `occur' or `grep-mode'. Same thing for those two modes - they can have lots of bindings that are specific to their own features. We gave global key bindings for a reason. That's the place to provide keys we want to be common across modes (by default). ___ FWIW, in Dired+ `e' isn't the same as `f'. `e' is instead a toggle for showing the file: View the file on this line in another window in the same frame. If it was not already shown there then kill the previous buffer visited by a `diredp-visit-*' command. If it was already shown there, and if it and Dired are the only windows there, then delete its window (toggle : show/hide the file). Commands `diredp-visit-(next|previous)-file' are bound to `C-(down|up)'.