From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] org-agenda: Jump directly to line in case of a timestamp Date: Sat, 07 Oct 2017 17:14:21 +0200 Message-ID: <87mv53gfci.fsf@nicolasgoaziou.fr> References: <84y3onggp3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0qo6-0003vD-1E for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 11:14:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0qo5-0001xp-0q for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 11:14:26 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46851) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0qo4-0001ws-QC for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 11:14:24 -0400 In-Reply-To: <84y3onggp3.fsf@gmail.com> (Marco Wahl's message of "Sat, 07 Oct 2017 16:45:12 +0200") 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: Marco Wahl Cc: emacs-orgmode@gnu.org 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. Regards, -- Nicolas Goaziou