From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gKnZBhhpUl9oXQAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 16:19:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oGTLAhhpUl8qOwAA1q6Kng (envelope-from ) for ; Fri, 04 Sep 2020 16:19:36 +0000 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 A9FEA9404D2 for ; Fri, 4 Sep 2020 16:19:35 +0000 (UTC) Received: from localhost ([::1]:52286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEER3-0004hI-KY for larch@yhetil.org; Fri, 04 Sep 2020 12:19:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEEPp-0003si-T6 for emacs-orgmode@gnu.org; Fri, 04 Sep 2020 12:18:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45655) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEEPp-00053x-Hx; Fri, 04 Sep 2020 12:18:17 -0400 Received: from [2a01:e35:2fe1:f780:8527:1161:6222:31b3] (port=49172 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEEPo-0005HJ-Sk; Fri, 04 Sep 2020 12:18:17 -0400 Received: by guerry (Postfix, from userid 1000) id BDF831A60D40; Fri, 4 Sep 2020 18:18:14 +0200 (CEST) From: Bastien To: Matthew Lundin Subject: Re: org-read-date-minibuffer-local-map should use C-n/p/f/b Organization: GNU References: <87h7vyn0dh.fsf@gmail.com> <87tuzyf8hc.fsf@fastmail.fm> Date: Fri, 04 Sep 2020 18:18:14 +0200 In-Reply-To: <87tuzyf8hc.fsf@fastmail.fm> (Matthew Lundin's message of "Fri, 29 May 2020 21:43:27 -0500") Message-ID: <87h7sdh5x5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Branham , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: sscZGtg2wsi7 Hi Alex and Matthew, Matthew Lundin writes: > Alex Branham writes: > >> I find it unintuitive that the usual calendar keys C-n/p/f/b don't work >> when scheduling tasks in org mode (yes, I know about S-right, etc). I've >> something like this to my init file for those four keys (based on their >> setup in org-keys.el) for some time with no negative repercussions (that >> I know about anyway), perhaps the same should be done for org itself? >> >> #+begin_src emacs-lisp >> (define-key org-read-date-minibuffer-local-map (kbd "C-n") (lambda >> () (interactive) (org-eval-in-calendar '(calendar-forward-week 1)))) >> #+end_src > > While I can't think of any obvious conflicts for C-n and C-p in the > context of the read date minibuffer (please correct me if I'm wrong), > C-f and C-b are bound to forward-char and backward-char, which I > frequently use when entering and editing dates. I agree with Matt on this: I also use C-f and C-b here, and adding C-n and C-p only makes sense if we add all four keys. So I suggest not to add these keybindings. Thanks, -- Bastien