emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda add item, move point
@ 2015-02-04 12:45 Tory S. Anderson
  2015-02-04 14:12 ` John Kitchin
  2015-02-04 17:52 ` e.fraga
  0 siblings, 2 replies; 10+ messages in thread
From: Tory S. Anderson @ 2015-02-04 12:45 UTC (permalink / raw)
  To: orgmode list

I plan out my days in the agenda using `i d` (org-agenda-diary-entry). I then move to the newly added entry to edit todo status, the hour of the item, deadlines, tags, and schedules. This would be tremendously facilitated if point automatically moved to the newly created item, rather than my having to search through my lengthy list of items to find the new entry. How can I implement this, and shouldn't it be a default? 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 12:45 Agenda add item, move point Tory S. Anderson
@ 2015-02-04 14:12 ` John Kitchin
  2015-02-04 14:52   ` Tory S. Anderson
  2015-02-04 17:52 ` e.fraga
  1 sibling, 1 reply; 10+ messages in thread
From: John Kitchin @ 2015-02-04 14:12 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

This sounds interesting, but I don't understand what you are trying to
do.

In my agenda, when I press `i d` i get a new diary entry, and the point
is on that entry. But it is a diary entry with no todo, and no new org
entry. Do you do something else for that?

Tory S. Anderson writes:

> I plan out my days in the agenda using `i d` (org-agenda-diary-entry). I then move to the newly added entry to edit todo status, the hour of the item, deadlines, tags, and schedules. This would be tremendously facilitated if point automatically moved to the newly created item, rather than my having to search through my lengthy list of items to find the new entry. How can I implement this, and shouldn't it be a default?

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 14:12 ` John Kitchin
@ 2015-02-04 14:52   ` Tory S. Anderson
  0 siblings, 0 replies; 10+ messages in thread
From: Tory S. Anderson @ 2015-02-04 14:52 UTC (permalink / raw)
  To: John Kitchin; +Cc: orgmode list

Your point is on the created entry? When I do `i d` the entry is created somewhere down in the midst of my big list, and I have to use C-s to search for it and then I add things (such as with `t` for todo, `C-d` for deadline, `>` for additional time details). The trouble is finding it in the list, which seems to require something like `C-s` and searching for some of the text I just entered. 

I'm using Org-mode version 8.2.10 (8.2.10-30-gca21b7-elpa). I'm also not using regular diary, but the following (perhaps relevant?). I would LOVE to have my point automatically go to the newly created item, as yours seems to. 

--8<---------------cut here---------------start------------->8---
(setq org-agenda-include-diary nil)
;; org-agenda
(setq org-agenda-diary-file "~/emacs/agenda.org"
      org-special-ctrl-o nil
      org-agenda-span 'day)
--8<---------------cut here---------------end--------------->8---


John Kitchin <jkitchin@andrew.cmu.edu> writes:

> This sounds interesting, but I don't understand what you are trying to
> do.
>
> In my agenda, when I press `i d` i get a new diary entry, and the point
> is on that entry. But it is a diary entry with no todo, and no new org
> entry. Do you do something else for that?
>
> Tory S. Anderson writes:
>
>> I plan out my days in the agenda using `i d` (org-agenda-diary-entry). I then move to the newly added entry to edit todo status, the hour of the item, deadlines, tags, and schedules. This would be tremendously facilitated if point automatically moved to the newly created item, rather than my having to search through my lengthy list of items to find the new entry. How can I implement this, and shouldn't it be a default?
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 12:45 Agenda add item, move point Tory S. Anderson
  2015-02-04 14:12 ` John Kitchin
@ 2015-02-04 17:52 ` e.fraga
  2015-02-04 18:27   ` Tory S. Anderson
  1 sibling, 1 reply; 10+ messages in thread
From: e.fraga @ 2015-02-04 17:52 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

Have you defined org-agenda-diary-file?
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-717-gd36bd8.dirty

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 17:52 ` e.fraga
@ 2015-02-04 18:27   ` Tory S. Anderson
  2015-02-04 19:37     ` Eric S Fraga
  0 siblings, 1 reply; 10+ messages in thread
From: Tory S. Anderson @ 2015-02-04 18:27 UTC (permalink / raw)
  To: orgmode list

Yes. I use the following (possibly relevant) code definition, which sets my diary to agenda.org. 

--8<---------------cut here---------------start------------->8---
(setq org-agenda-include-diary nil)
;; org-agenda
(setq org-agenda-diary-file "~/emacs/agenda.org"
      org-special-ctrl-o nil
      org-agenda-span 'day)
--8<---------------cut here---------------end--------------->8---


<e.fraga@ucl.ac.uk> writes:

> Have you defined org-agenda-diary-file?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 18:27   ` Tory S. Anderson
@ 2015-02-04 19:37     ` Eric S Fraga
  2015-02-04 20:23       ` Tory S. Anderson
  0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2015-02-04 19:37 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

On Wednesday,  4 Feb 2015 at 13:27, Tory S. Anderson wrote:
> Yes. I use the following (possibly relevant) code definition, which sets my diary to agenda.org. 
>
> (setq org-agenda-include-diary nil)
> ;; org-agenda
> (setq org-agenda-diary-file "~/emacs/agenda.org"
>       org-special-ctrl-o nil
>       org-agenda-span 'day)

Ah, yes, sorry.  You said this in another response.

Maybe post a snippet from your agenda.org file?

In my case, my diary file is in date-tree format and the entries are
inserted in the current day's section.  More to the point, the entries
appear in my agenda and all I have to do is RET or TAB to go to the
entry in the diary file.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-750-gb6fce5.dirty

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 19:37     ` Eric S Fraga
@ 2015-02-04 20:23       ` Tory S. Anderson
  2015-02-04 20:58         ` John Kitchin
  2015-02-04 21:07         ` Eric S Fraga
  0 siblings, 2 replies; 10+ messages in thread
From: Tory S. Anderson @ 2015-02-04 20:23 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: orgmode list

Fragment from my agenda.org; basically, it's almost completely just what is automatically created when you tell agenda to use an org file. It should be similar to what you have; yes, hitting tab or enter takes me to entries just fine. 

--8<---------------cut here---------------start------------->8---
* 2015
** 2015-02 February
*** 2015-02-01 Sunday
**** DONE Give John ride to church
     <2015-02-01 Sun 09:30>
--8<---------------cut here---------------end--------------->8---

My problem is just trying to find my new entry (e.g. "Give John ride to church") in the actual agenda view after creating the item; rather than going there by default when I create the item, I have to i-search my point to it. 


Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Wednesday,  4 Feb 2015 at 13:27, Tory S. Anderson wrote:
>> Yes. I use the following (possibly relevant) code definition, which sets my diary to agenda.org. 
>>
>> (setq org-agenda-include-diary nil)
>> ;; org-agenda
>> (setq org-agenda-diary-file "~/emacs/agenda.org"
>>       org-special-ctrl-o nil
>>       org-agenda-span 'day)
>
> Ah, yes, sorry.  You said this in another response.
>
> Maybe post a snippet from your agenda.org file?
>
> In my case, my diary file is in date-tree format and the entries are
> inserted in the current day's section.  More to the point, the entries
> appear in my agenda and all I have to do is RET or TAB to go to the
> entry in the diary file.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 20:23       ` Tory S. Anderson
@ 2015-02-04 20:58         ` John Kitchin
  2015-02-04 21:18           ` Tory S. Anderson
  2015-02-04 21:07         ` Eric S Fraga
  1 sibling, 1 reply; 10+ messages in thread
From: John Kitchin @ 2015-02-04 20:58 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

How do you go back to the agenda from the diary file?

Tory S. Anderson writes:

> Fragment from my agenda.org; basically, it's almost completely just what is automatically created when you tell agenda to use an org file. It should be similar to what you have; yes, hitting tab or enter takes me to entries just fine.
>
> --8<---------------cut here---------------start------------->8---
> * 2015
> ** 2015-02 February
> *** 2015-02-01 Sunday
> **** DONE Give John ride to church
>      <2015-02-01 Sun 09:30>
> --8<---------------cut here---------------end--------------->8---
>
> My problem is just trying to find my new entry (e.g. "Give John ride to church") in the actual agenda view after creating the item; rather than going there by default when I create the item, I have to i-search my point to it.
>
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> On Wednesday,  4 Feb 2015 at 13:27, Tory S. Anderson wrote:
>>> Yes. I use the following (possibly relevant) code definition, which sets my diary to agenda.org.
>>>
>>> (setq org-agenda-include-diary nil)
>>> ;; org-agenda
>>> (setq org-agenda-diary-file "~/emacs/agenda.org"
>>>       org-special-ctrl-o nil
>>>       org-agenda-span 'day)
>>
>> Ah, yes, sorry.  You said this in another response.
>>
>> Maybe post a snippet from your agenda.org file?
>>
>> In my case, my diary file is in date-tree format and the entries are
>> inserted in the current day's section.  More to the point, the entries
>> appear in my agenda and all I have to do is RET or TAB to go to the
>> entry in the diary file.

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 20:23       ` Tory S. Anderson
  2015-02-04 20:58         ` John Kitchin
@ 2015-02-04 21:07         ` Eric S Fraga
  1 sibling, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2015-02-04 21:07 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

On Wednesday,  4 Feb 2015 at 15:23, Tory S. Anderson wrote:

[...]

> My problem is just trying to find my new entry (e.g. "Give John ride
> to church") in the actual agenda view after creating the item; rather
> than going there by default when I create the item, I have to i-search
> my point to it.

Ah, I didn't understand before.  Okay, in this case, I don't know the
answer because I use sticky agenda views and so I need to explicitly
refresh to get the new entry to appear and, in that case, the cursor
will be at the top of the view.

Sorry I cannot help any further.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-764-ga1f540.dirty

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Agenda add item, move point
  2015-02-04 20:58         ` John Kitchin
@ 2015-02-04 21:18           ` Tory S. Anderson
  0 siblings, 0 replies; 10+ messages in thread
From: Tory S. Anderson @ 2015-02-04 21:18 UTC (permalink / raw)
  To: John Kitchin; +Cc: orgmode list

I actually rarely visit the diary file; I do everything from the agenda view. In the rare cases I do need to visit the agenda file, I just switch buffers like usual (`C-x b RET`). 

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> How do you go back to the agenda from the diary file?
>
> Tory S. Anderson writes:
>
>> Fragment from my agenda.org; basically, it's almost completely just what is automatically created when you tell agenda to use an org file. It should be similar to what you have; yes, hitting tab or enter takes me to entries just fine.
>>
>> --8<---------------cut here---------------start------------->8---
>> * 2015
>> ** 2015-02 February
>> *** 2015-02-01 Sunday
>> **** DONE Give John ride to church
>>      <2015-02-01 Sun 09:30>
>> --8<---------------cut here---------------end--------------->8---
>>
>> My problem is just trying to find my new entry (e.g. "Give John ride to church") in the actual agenda view after creating the item; rather than going there by default when I create the item, I have to i-search my point to it.
>>
>>
>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>>
>>> On Wednesday,  4 Feb 2015 at 13:27, Tory S. Anderson wrote:
>>>> Yes. I use the following (possibly relevant) code definition, which sets my diary to agenda.org.
>>>>
>>>> (setq org-agenda-include-diary nil)
>>>> ;; org-agenda
>>>> (setq org-agenda-diary-file "~/emacs/agenda.org"
>>>>       org-special-ctrl-o nil
>>>>       org-agenda-span 'day)
>>>
>>> Ah, yes, sorry.  You said this in another response.
>>>
>>> Maybe post a snippet from your agenda.org file?
>>>
>>> In my case, my diary file is in date-tree format and the entries are
>>> inserted in the current day's section.  More to the point, the entries
>>> appear in my agenda and all I have to do is RET or TAB to go to the
>>> entry in the diary file.
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-04 21:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 12:45 Agenda add item, move point Tory S. Anderson
2015-02-04 14:12 ` John Kitchin
2015-02-04 14:52   ` Tory S. Anderson
2015-02-04 17:52 ` e.fraga
2015-02-04 18:27   ` Tory S. Anderson
2015-02-04 19:37     ` Eric S Fraga
2015-02-04 20:23       ` Tory S. Anderson
2015-02-04 20:58         ` John Kitchin
2015-02-04 21:18           ` Tory S. Anderson
2015-02-04 21:07         ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).