From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Re: Editting from the agenda view Date: Wed, 27 Nov 2019 02:55:06 +0000 Message-ID: <87o8wy6nat.fsf@gmail.com> References: <20191122152521.GA26438@om.localdomain> <87o8x3t3g0.fsf@svictor.net> <20191126142133.GA9789@om.localdomain> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54847) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZnU0-0001X5-OT for emacs-orgmode@gnu.org; Tue, 26 Nov 2019 21:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZnTz-0000MZ-4O for emacs-orgmode@gnu.org; Tue, 26 Nov 2019 21:55:12 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:34619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZnTy-0000JE-P7 for emacs-orgmode@gnu.org; Tue, 26 Nov 2019 21:55:11 -0500 Received: by mail-wr1-x42a.google.com with SMTP id t2so24883273wrr.1 for ; Tue, 26 Nov 2019 18:55:09 -0800 (PST) Received: from tisch ([2a02:908:175c:4260:5ffc:7882:6024:ca5b]) by smtp.gmail.com with ESMTPSA id v9sm16183171wrs.95.2019.11.26.18.55.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 18:55:07 -0800 (PST) In-reply-to: <20191126142133.GA9789@om.localdomain> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi Sh=C3=A9rab, Sh=C3=A9rab writes: > Dear Victor, > > Many thanks for your response and sorry for the delay of mine! > > Victor A. Stoichita (2019/11/23 09:14 +0100): >> >> Le 22 Nov 2019, Sh=C3=A9rab a =C3=A9cr= it : >> > When I am in an agenda view, say the weekly view, how can I edit one of >> > the listed entries? I may want to do that either because I notice I ha= ve >> > made a typo that I would like to fix, or because I would like to >> > re-schedule the entry for another date. >> >> To reschedule an entry remotely from the agenda view, you can press S-ri= ght >> (org-agenda-do-date-later) or S-left (org-agenda-do-date-earlier). > > I indeed remember having seen these commands! > The thing is that I am using emacs in the Linux console where these > bindings do not work, so I couldn't try them. Is there a way to bind > them to different key bindings? I am asking becuase I assume the > bindings you mention are specific to the agenda view and the way to > modify them is thus different from ordinary, global bindings. Am I > correct? After opening the agenda, inspection of the buffer-local variable major-mode (e.g. by C-h v) reveals that the major mode in the agenda buffer is org-agenda-mode. A search for a variable containing "org-agenda", and "map" reveals that most probably org-agenda-mode-map is the keymap used there. It follows the usual naming scheme for major mode maps. After (require 'org-agenda) it will be possible to (define-key org-agenda-mode-map KEY BINDING) in an init file. Best wishes Sebastian