Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-11 Thread Marco Wahl
Detlef Steuer writes: > Am Mon, 09 Oct 2017 10:29:39 +0200 > schrieb Alan Schmitt : > >> On 2017-10-09 09:19, Eric S Fraga writes: >> >> > On Monday, 9 Oct 2017 at 08:54, Alan Schmitt wrote: >> >> One thing I would really like is the timestamp behavior of >> >> org-agenda-goto with the windo

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-11 Thread Detlef Steuer
Am Mon, 09 Oct 2017 10:29:39 +0200 schrieb Alan Schmitt : > On 2017-10-09 09:19, Eric S Fraga writes: > > > On Monday, 9 Oct 2017 at 08:54, Alan Schmitt wrote: > >> One thing I would really like is the timestamp behavior of > >> org-agenda-goto with the windows behavior of > >> org-agenda-swi

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-09 Thread Alan Schmitt
On 2017-10-09 09:19, Eric S Fraga writes: > On Monday, 9 Oct 2017 at 08:54, Alan Schmitt wrote: >> One thing I would really like is the timestamp behavior of >> org-agenda-goto with the windows behavior of org-agenda-switch-to. > > You could "advise" the function? > https://www.gnu.org/software/

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-09 Thread Eric S Fraga
On Monday, 9 Oct 2017 at 08:54, Alan Schmitt wrote: > One thing I would really like is the timestamp behavior of > org-agenda-goto with the windows behavior of org-agenda-switch-to. You could "advise" the function? https://www.gnu.org/software/emacs/manual/html_node/elisp/Advising-Functions.html

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-08 Thread Alan Schmitt
Hello, On 2017-10-07 22:23, Matt Lundin writes: > The only difference, if I remember correctly, is that > org-agenda-switch-to replaces the agenda buffer with the target org > buffer, whereas org-agenda-goto shows the target org buffer in another > window. One thing I would really like is the

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
Matt Lundin writes: >>> 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 hea

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Matt Lundin
Marco Wahl writes: > Nicolas Goaziou writes: > >> Hello, >> >> Marco Wahl writes: >> >>> >>> 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 >

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
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

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Nicolas Goaziou
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 corresp

[O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
Hello, This is a little proposition about changing the behaviour of `org-agenda-goto' which typically gets triggered when pressing TAB on an line in the Org agenda. The proposition affects only the case of an agenda line due to a timestamp outside a planning line (i.e. SCHEDULED or DEADLINE.) Up