From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: [RFC] org-agenda: Jump directly to line in case of a timestamp Date: Sat, 07 Oct 2017 18:05:22 +0200 Message-ID: <84r2uf54fx.fsf@gmail.com> References: <84y3onggp3.fsf@gmail.com> <87mv53gfci.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0rbV-0000Zi-8J for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 12:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0rbS-0007TV-HZ for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 12:05:29 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:56082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0rbS-0007Su-7e for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 12:05:26 -0400 Received: by mail-wm0-x235.google.com with SMTP id u138so13868456wmu.4 for ; Sat, 07 Oct 2017 09:05:25 -0700 (PDT) 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Marco Wahl writes: > >> Let's say in an Org file you have the following plain list. >> >> * test >> >> - <2017-10-07 Sat 16:25> Start writing the RFC. >> - <2017-10-07 Sat 16:29> Thought: "Will somebody notice?" >> - <2017-10-07 Sat 16:30> Sent the RFC to the list. >> >> For each list item a corresponding line appears in the day agenda. >> >> .tmp .:16:25...... test >> .tmp .:16:29...... test >> .tmp .:16:30...... test >> >> Pressing TAB in the agenda would jump to the respective plain list item. >> >> Find the concrete patch below. >> >> WDYT? > > I have the feeling that both behaviours are useful. All things being > equal, this is the entry being displayed in the Agenda, not necessarily > the line containing the timestamp. Moreover this feature could be less > meaningful if `org-agenda-skip-additional-timestamps-same-entry' is > non-nil. > > Maybe an optional argument could allow one to switch from one behaviour > to the other. I have no strong opinion about this, though. Thanks! I just found function `org-agenda-switch-to' which is similar to `org-agenda-goto' but does not the jump to the headline. I personally configure this function to be on shift-tab. (org-defkey org-agenda-mode-map [(backtab)] #'org-agenda-switch-to) So no need for a change. Thanks again and best regards Marco