From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SPotDXChyGae1AAA62LTzQ:P1 (envelope-from ) for ; Fri, 23 Aug 2024 14:49:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SPotDXChyGae1AAA62LTzQ (envelope-from ) for ; Fri, 23 Aug 2024 16:49:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=bCDdMYmi; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); dmarc=pass (policy=quarantine) header.from=slmails.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724424559; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Tw7QPsLSC5jMJ9LbsVpXIpQIvXeztcRqUdetyTHcXZY=; b=sGTVJ+cUMCy1jh0XjQQMXCp5N7bJ5eaaEL/XqYAEmZN09w7xKF0ybsL3RlGv/OpQpFG/Qi GE/fxbV9PeguhbZSVzi2KHrrRYVoObeGo/0tmfPjZfp2OD/hqW3h7hh2ua9ZBUhCeSRInv 7KxhB6D7xD34j2VxPSHEmUEleRS5kJIwJtFbj5gqo/hFPOlGvzYY98pkFt8v/xHXNhqRZH 6zOgr5a5WItBWAXebk/mtjOA5A8iJdcdcNV+OBN6aq6/k/LzlQpViZFqgciPgYotUQRv5I Jr8bHXy4ODebASBnqpu8zPnnoOJxhzljlMVy98l2F4rMn+ONsZYkiGMsSza+nw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1724424559; a=rsa-sha256; cv=pass; b=CEsWChHfFpNNWmImnRMkjTbyErSu/r0QpImdkNvCI6CcyKcp3w9QlgSzyh1jWC8HwWMzoj b8mmVGP6wapywqbPPqqxoK6lwWDYXxkb5u6zoRkENmacedC071pw1NaEsawxwFVP3sN7Eu 6qIwgcjpHnYMtIMP8j4l/kTN/ubl+VRzrPkuxRMjFN/tYq4lsS8fVj+cvs0OpBMRHxFty4 kL7bp2vHVWxxDTBWPnZP0vd8aoVXiKLiF6OhARnHl6/+kL1kwQh+x5MtAAtqbR5pE7e3uo cbD7l3r7NL1Avwi07eKUrq9ZAGGFl1GK23OSfsxcigMDluYUbdpNOTnfpltlIg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=bCDdMYmi; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); dmarc=pass (policy=quarantine) header.from=slmails.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CEBF974836 for ; Fri, 23 Aug 2024 16:49:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shVaa-00005X-Ah; Fri, 23 Aug 2024 10:48:32 -0400 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 1shVaY-00005J-Mv for emacs-orgmode@gnu.org; Fri, 23 Aug 2024 10:48:30 -0400 Received: from mail-200160.simplelogin.co ([176.119.200.160]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shVaW-00027x-TD for emacs-orgmode@gnu.org; Fri, 23 Aug 2024 10:48:30 -0400 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724424059; cv=none; b=WVk1HHn5UWio6LBv7L/P8PLZd6ZNTfUYblfqlUjiDdanXBEIp7wJud2C1eR/T5iFn9FZwJBR3RjWqrsfnfhyTGu1GMxJE7+02cm1eTArMig1HhFgDmFyz1o3x26xlv2gzNm6mXaY8XNc2yYcXhoNw3l3jzxHUytuxXeAipAfPTOxHphycv7IpaCJa75SimoiRyhIJRa6Lu+wdTuvMY+fpdynSokdEgJNu3Uoj5PCm3umac85KcYj4ficTbIPyZdiJ1J219UTSVi9yXgYrooTFkH5bi5AerTzjWntQV100ccnI1KjLXoUEgXCS5qXTJ2gpCzJngcssazTtl6GHn/yUQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724424059; c=relaxed/simple; bh=nCjTzwuuYaokAsnrzG5Y2LWXML5zGI33/NPd0OmrlAE=; h=Subject:Date:In-Reply-To:From:To:References; b=qA/tTWHXB2niDLXosVmwd2ARPP1Ms0z/bDUPFa23z8/z5md8CyL49fqM/D5qdz26kPBAZUMVWv0jMktNJh3gvRjC6z8tuKwAmqGETzFsNqk/NUS2dwnPLY7BO0mq58NYSawv3Fq4ptwAOumr2qzRQmprT2Vcr62CVyqx+JV/uv1wtuV1GCcGt5Slf3TEECWFUwIk2gnE72EVpIPMCvTENNUf1QJzCj2kyt+hOWhoJRjJQS/UtaoDNKF+YWtAu37W/SdvMYEt5RLUVHE8z6cWbcI/nRPv6e2G/sExq6e8kWcL5eFn2JlY2iPcBqCLnYNlA4G03eXkcEIDwOptnK+npA== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=slmails.com; s=dkim; t=1724424059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tw7QPsLSC5jMJ9LbsVpXIpQIvXeztcRqUdetyTHcXZY=; b=bCDdMYmip+64XDqBW/yLG1RhS6k+eUJ+A/He3eW8Q45Ei4cMlCbXaQRSuG6W3LB33BMMyG OIM2R8680aJYjeVAlNqTYjwdDIn9iu5Dy2fprPf9TTTa9QEFp1m4n/Aqo2Nz+IVN3koV0c 90CEEMGmnazA4iLkkJZgEbNjDuqe0bk= Subject: RE: Orgmode keybindings in Dired? Date: Fri, 23 Aug 2024 14:40:54 +0000 In-Reply-To: <87o75jstll.fsf@mbork.pl> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: Kepa To: mbork@mbork.pl,"emacs-orgmode@gnu.org" Message-ID: <172442405897.8.11906229861250563662.413725813@slmails.com> References: <172435122387.8.18005653358175480560.412959564@slmails.com> <87o75jstll.fsf@mbork.pl> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 413725814 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.160; envelope-from=sl.lmysyibugeztomrvhaytilbageztsmbuhayf2.46pwiysm5mdhs@slmails.com; helo=mail-200160.simplelogin.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.03 X-Spam-Score: -7.03 X-Migadu-Queue-Id: CEBF974836 X-Migadu-Scanner: mx11.migadu.com X-TUID: Ga3j524ya+hU Hi Marcin! Below I shared some ideas > -----Original Message----- > From: mbork at mbork.pl > > Sent: Friday, August 23, 2024 7:21 AM > To: Kepa > Subject: Re: Orgmode keybindings in Dired? >=20 > On 2024-08-22, at 18:27, Kepa wrote: >=20 > > Hi > > > > I'm starting to use Dired and I like it. > > I would like to know your opinion, fellow orgmode users about keybindin= gs > in Dired: > > Is it worth modifying Dired's keybindings to match those of Org-mode? > Could it have any side effect? > > Any specific advice? > > > > Has this configuration already been shared? I assume someone else must > have thought of this before... >=20 > Which keybindings do you mean exactly? Dired's keybindings are usually > consistent with the rest of Emacs (and most of them predate Org mode, I > believe), so one would need to be quite careful not to introduce any > inconsistencies. Examples: w to (dired-do-rename), instead of R, like refile speedkey. o to (browse-url-of-dired-file), instead of W, like org-open-at-point speed= key. M-RET to (dired-create-directory), instead of +. And maybe other org speedkeys. Although I have found that using dired-subtree gives naturally this oportun= ity. Here some examples (I must change "u" keybinding, since it is used to = unmark files, maybe I could use C-g to unmark files, could it be risky? ;; Bind 'TAB' to toggle subtree visibility (cycle through subdirectories) (with-eval-after-load 'dired (define-key dired-mode-map (kbd "TAB") 'dired-subtree-cycle)) ;; (org-speed-move-safe 'outline-up-heading) (similar to 'u' in Org-mode fo= r dired-subtree-up) (define-key dired-mode-map (kbd "u") 'dired-subtree-up) ;; Bind 's' to narrow the view to the current subdirectory (define-key dired-mode-map (kbd "s") 'dired-subtree-narrow) >=20 > Best, >=20 > -- > Marcin Borkowski > https://mbork.pl > https://crimsonelevendelightpetrichor.net/