From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Patch request - menu modifications Date: Tue, 02 Feb 2021 15:52:54 -0800 Message-ID: References: <874kixlfmp.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23650"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 03 01:08:48 2021 Return-path: Envelope-to: geh-help-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 1l75iy-000644-Af for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 01:08:48 +0100 Original-Received: from localhost ([::1]:55650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l75ix-00032P-DF for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 02 Feb 2021 19:08:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l75iW-00031w-0r for help-gnu-emacs@gnu.org; Tue, 02 Feb 2021 19:08:20 -0500 Original-Received: from mail-mw2nam10olkn2082.outbound.protection.outlook.com ([40.92.42.82]:61396 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l75iS-0001cM-5j for help-gnu-emacs@gnu.org; Tue, 02 Feb 2021 19:08:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i4l8Xh0vK23sgWwZ+7CFGFltSse4welKwrhhbDSVDnIdH5FkR2/vC1NWtaCxbFwwviFOvGXUlo9vJk2en2LHny5HI+LHZORWlMGt3OpZUDuFHn6SBt78xbkSi6IYrDcsHGPY8NInZzYuZ1wjUCvsFtIpohY3FHHD8NbJNC+lGaMnYOcgb0OyYXyQK/uRgK5PWDTB/dEvJVWdIYrFIUaE+0/loEy+/R2tTpOPkBpsMtxhvYiYy2be9Oqdb+B/VTohf80Akn3+VUKzPnQgEuDgNCuMw7YAko6xzCbCP2+XMDz+bon8kTbkR07+Yau4QRhwh2d/kq0NB1zf50IdKV86oQ== 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-SenderADCheck; bh=vJs1RyhWmf27IrjR3MbdzML+ZLAvSEQWB52hvMpaH8Y=; b=NQKmE55tcx9NFro2j0OZWhaKQ8RTs8p02y7jTi2T10DHcZhHRjTUXEGYXFJwtbYuZW25ABm/+09Q3ynonfxWU/IIGuaymd8fIx21K0wDMonQ/pypr8T5nL5stz5f24/hk055DawU/a40bDrrtGdIPW7BPrch16x4efNszilZlFngfCghnrVfTYsP1iXr7SmfDMaGLm+S/BL2Afg+Eh69zZJqUspCtY1uijqwrGLqExUsv91WbTJEbG1T96xbFOWCVVQLymNs+N68yf+qYFKPu5w7FEt30ig56Kau/UQHPniAqoVqrSpMcpC8PrG1Ap+K0QD50ZEOTpWDVC0kvpA9eQ== 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=vJs1RyhWmf27IrjR3MbdzML+ZLAvSEQWB52hvMpaH8Y=; b=CBXZDLbTttyM8RPWhCS6gBSSEshkmIBP+mQQ1p3ybsbK/d0gekrqplMyikD/BiiY2hjFykWrFPqSiEsIe8Rjtv+UU09/En2smMAtRdzqmqGLZTvUltpy5HgQB1sbvC2v1bjHoVHVmdmDpOAnVWbRmRbavGhU9qkStlfjyivqwt9diFeDvULU1OaHcaM1kswOHvWCFQOQgOEKUVsmVZHX8PWyCJ3BFLz38nXQW943zQi3vGlgUiG8fsjQ5BRaWNBKiDg8pNB3LZllTeILtPIXUu6QzNUQdOokHBRKwbUw7xuJqmNCiQjLg++QiNazepk8lgmTwxnu5HYIQRFdo96xug== Original-Received: from DM6NAM10FT046.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::4e) by DM6NAM10HT038.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::448) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Tue, 2 Feb 2021 23:53:10 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:7e86::40) by DM6NAM10FT046.mail.protection.outlook.com (2a01:111:e400:7e86::300) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Tue, 2 Feb 2021 23:53:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:5CC8C049D1A0C87A849507E7ECFC853BF910360ADC012553296CCA7131F0C37E; UpperCasedChecksum:DD8684BED3803679A74DFD81BDDDFD6A2ADD9C3FA639DBD0AAA92F571C3E2F22; SizeAsReceived:7537; Count:45 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107%5]) with mapi id 15.20.3805.028; Tue, 2 Feb 2021 23:53:10 +0000 In-Reply-To: <874kixlfmp.fsf@zoho.eu> (moasenwood's message of "Sun, 31 Jan 2021 08:39:10 +0100") X-TMN: [NkUE3VmedZl3r3FdXoCFe+ocFxjDDIfUntJzh7bop7f6CyDfZjcjnmQNA0VTWqRS] X-ClientProxiedBy: SJ0PR13CA0078.namprd13.prod.outlook.com (2603:10b6:a03:2c4::23) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87eehyvxgp.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from penguin (2600:8802:509:fa00:216:3eff:fee7:3d5d) by SJ0PR13CA0078.namprd13.prod.outlook.com (2603:10b6:a03:2c4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.10 via Frontend Transport; Tue, 2 Feb 2021 23:53:09 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 40d6f56d-75f2-487a-0405-08d8c7d5b1f4 X-MS-TrafficTypeDiagnostic: DM6NAM10HT038: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bM3p8moqwOKoBo/11fPJ7O3GZBc9gXJKwE1rwQoVmp8AFSnbp4uNbFVo0W3HJpC3xZ50QZzT+XyKpTUZXj2RuwL+s8z5zVp9fmjB8Q9S5KG7cAcbRvW2fU/CdRJu6u+6pN3Xu/u19HpasJqawbLXzuseV0mUKr199DfgdRP4S+m8k7hvq2vnPEAzQBEGbYBmsyNdWwgg/uwBx1NF9aYGigrRB6hLL2a0ndZVIvg8/nz8HmIuu6KreqNvZ3Dvjh9N1Jiq2w0faLu2/0URDsR0M4013/LlDQfJGgu/PuIQaG1Hd7f5zAumVNb7wTc7QERQAcS8qXuG4CMkD6rkQPTkryyjz7AASmkAOeJFPrB6WGVC9MzelAy+vlYnncs8/hnipnT3tVsJtwABvZ5ww5i2jw== X-MS-Exchange-AntiSpam-MessageData: 9GDXEFBcVwYNoFJ4+qPYYBZ7MnGrddvyWxUVWyT5LXdizj4nC9Km6vAPN09hqirZ/YVeLqLmdoohZKfIMOpncu1n/sz7mfTCW058afnu7zt30++4P7QsbYUeiyMtSY1sWWtsMi/QovYkKh+ZISprr1VBphYRE3TFZ38Up1n4iyu8XkA/8kbDKpqxfoDfjgzWPYcPFm6TfxMPWXART/B2Kg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40d6f56d-75f2-487a-0405-08d8c7d5b1f4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2021 23:53:10.3502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DM6NAM10FT046.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM10HT038 Received-SPF: pass client-ip=40.92.42.82; envelope-from=dsmasterson92630@outlook.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127569 Archived-At: moasenwood--- via Users list for the GNU Emacs text editor writes: > David Masterson wrote: > >> I'd like to request two simple changes to the basic Emacs >> menus: >> >> 1. Add dired-quit ('q') to the dired menus. It would make it >> easier to traverse a directory tree using just the mouse >> (click directory to descend and click dired-quit to return >> up). To me, it is not obvious which menu to put it in. > > Interesting ... I don't even have "dired-quit", q meanwhile is > `quit-window', which isn't dired specific ... certainly it > doesn't help you "descend", it buries the buffer! You're right -- I got it wrong! (Could've swore it was dired-quit...) > Maybe you look for `dired-up-directory'? Didn't know that one, but that might work. > (Here, it depends how you visualize the file system hierarchy, > I think ./ is _downmost_, like the basic element [1], but some > people think it it is the top node in a tree-like > data structure.) My goal is to 'f' into a directory and 'q' to exit a directory using only the menu. That would make the menu complete for walking the directory tree. (I'm considering changing to dired-find-file) >> 2. Add kill-this-buffer to the "Buffers" menu. The funny >> thing is that where-is reports it as " >> ", but I don't see it there. > > `C-x k' `kill-buffer' ... so the menu has its own functions, now? > > kill-this-buffer: > > This command can be reliably invoked only from the menu bar, > otherwise it could decide to silently do nothing. > > "it could decide"? ??? Okay? kill-this-buffer seems better so it doesn't take input. This could be used to clean up buffers from walking the dir tree. -- David Masterson