emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda question
@ 2009-08-19  2:44 Anthony Fairchild
  2009-08-19  6:34 ` Manish
  2009-08-19  9:34 ` Carsten Dominik
  0 siblings, 2 replies; 23+ messages in thread
From: Anthony Fairchild @ 2009-08-19  2:44 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1423 bytes --]

Hi,

Is there a way to get the text underneath a todo heading to show up in the
agenda screen?  I like to put extra info there, like driving directions, and
it would be nice to have that info when I print out the agenda.

Here is an example:

*** TODO Potluck at Sally's                   :next:
Drive north on 405
Turn left at the barn
Blah blah blah, more stuff I want  to include

And my custom agenda currently looks like this:

(setq org-agenda-custom-commands
      '(("p" "Print List"
     ((tags-todo "NEXT" ((org-agenda-prefix-format "[ ] %T: ")
                             (org-agenda-sorting-strategy '(tag-up
priority-down))
                             (org-agenda-todo-keyword-format "")
                             (org-agenda-overriding-header "\nNext
Actions\n------------------\n")))
          (tags-todo "buy" ((org-agenda-prefix-format "[ ] %T: ")
                            (org-agenda-sorting-strategy '(tag-up
priority-down))
                            (org-agenda-todo-keyword-format "")
                            (org-agenda-overriding-header "\nShopping
List\n------------------\n"))))
     ((org-agenda-sorting-strategy '(priority-down))
          (org-agenda-with-colors nil)
          (org-agenda-todo-keyword-format "")
          (org-agenda-compact-blocks t)
          (org-agenda-remove-tags t)
          (ps-number-of-columns 2)
          (ps-landscape-mode t)))))


Thanks!

Anthony

[-- Attachment #1.2: Type: text/html, Size: 1673 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Custom agenda question
  2009-08-19  2:44 Custom agenda question Anthony Fairchild
@ 2009-08-19  6:34 ` Manish
  2009-08-19  9:34 ` Carsten Dominik
  1 sibling, 0 replies; 23+ messages in thread
From: Manish @ 2009-08-19  6:34 UTC (permalink / raw)
  To: Anthony Fairchild; +Cc: emacs-orgmode

On Wed, Aug 19, 2009 at 8:14 AM, Anthony Fairchild wrote:
> Hi,
>
> Is there a way to get the text underneath a todo heading to show up in the
> agenda screen? I like to put extra info there, like driving directions, and
> it would be nice to have that info when I print out the agenda.

I don't think that's possible.  You can display display information stored in
a drawer by switching to column view while in agenda.  You will need to
customize org-drawers and org-columns-default-format.

-- 
Manish

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

* Re: Custom agenda question
  2009-08-19  2:44 Custom agenda question Anthony Fairchild
  2009-08-19  6:34 ` Manish
@ 2009-08-19  9:34 ` Carsten Dominik
  2009-08-19  9:59   ` Manish
  1 sibling, 1 reply; 23+ messages in thread
From: Carsten Dominik @ 2009-08-19  9:34 UTC (permalink / raw)
  To: Anthony Fairchild, Manish Sharma; +Cc: org-mode Mailinglist


On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:

> Hi,
>
> Is there a way to get the text underneath a todo heading to show up  
> in the agenda screen?

No this is not possible.

> I like to put extra info there, like driving directions, and it  
> would be nice to have that info when I print out the agenda.

This, on the other hand *is* possible.

(setq org-agenda-add-entry-text-maxlines 10)

I believe you can also set this variable in the options section
of the custom command.

- Carsten

>
> Here is an example:
>
> *** TODO Potluck at Sally's                   :next:
> Drive north on 405
> Turn left at the barn
> Blah blah blah, more stuff I want  to include
>
> And my custom agenda currently looks like this:
>
> (setq org-agenda-custom-commands
>       '(("p" "Print List"
>      ((tags-todo "NEXT" ((org-agenda-prefix-format "[ ] %T: ")
>                              (org-agenda-sorting-strategy '(tag-up  
> priority-down))
>                              (org-agenda-todo-keyword-format "")
>                              (org-agenda-overriding-header "\nNext  
> Actions\n------------------\n")))
>           (tags-todo "buy" ((org-agenda-prefix-format "[ ] %T: ")
>                             (org-agenda-sorting-strategy '(tag-up  
> priority-down))
>                             (org-agenda-todo-keyword-format "")
>                             (org-agenda-overriding-header  
> "\nShopping List\n------------------\n"))))
>      ((org-agenda-sorting-strategy '(priority-down))
>           (org-agenda-with-colors nil)
>           (org-agenda-todo-keyword-format "")
>           (org-agenda-compact-blocks t)
>           (org-agenda-remove-tags t)
>           (ps-number-of-columns 2)
>           (ps-landscape-mode t)))))
>
>
> Thanks!
>
> Anthony
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Custom agenda question
  2009-08-19  9:34 ` Carsten Dominik
@ 2009-08-19  9:59   ` Manish
  2009-08-23 16:57     ` Carsten Dominik
  0 siblings, 1 reply; 23+ messages in thread
From: Manish @ 2009-08-19  9:59 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:
>
> On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:
>
>> Hi,
>>
>> Is there a way to get the text underneath a todo heading to show up in the
>> agenda screen?
>
> No this is not possible.

It would be real nice to be able to toggle the effect of
org-agenda-add-entry-text-maxlines even in agenda view.  Follow mode is not
exactly the same thing because when turning it off it leaves the window behind
which has to be killed with C-x 1.  But since we have it already working for
printing agenda and not for screen display, I am sure there are sufficient
reasons behind it.  But then it's Org mode -- anything is possible. :)

-- 
Manish

>
>> I like to put extra info there, like driving directions, and it would be
>> nice to have that info when I print out the agenda.
>
> This, on the other hand *is* possible.
>
> (setq org-agenda-add-entry-text-maxlines 10)
>
> I believe you can also set this variable in the options section
> of the custom command.

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

* Re: Custom agenda question
  2009-08-19  9:59   ` Manish
@ 2009-08-23 16:57     ` Carsten Dominik
  2009-08-24  0:21       ` Manish
  0 siblings, 1 reply; 23+ messages in thread
From: Carsten Dominik @ 2009-08-23 16:57 UTC (permalink / raw)
  To: Manish; +Cc: org-mode Mailinglist


On Aug 19, 2009, at 11:59 AM, Manish wrote:

> On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:
>>
>> On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:
>>
>>> Hi,
>>>
>>> Is there a way to get the text underneath a todo heading to show  
>>> up in the
>>> agenda screen?
>>
>> No this is not possible.
>
> It would be real nice to be able to toggle the effect of
> org-agenda-add-entry-text-maxlines even in agenda view.  Follow mode  
> is not
> exactly the same thing because when turning it off it leaves the  
> window behind
> which has to be killed with C-x 1.

You can also kill the window with "o", a bit easier.

> But since we have it already working for
> printing agenda and not for screen display, I am sure there are  
> sufficient
> reasons behind it.  But then it's Org mode -- anything is possible. :)


For me, the reason is that the agenda should be compact, as
much as possible.

- Carsten

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

* Re: Custom agenda question
  2009-08-23 16:57     ` Carsten Dominik
@ 2009-08-24  0:21       ` Manish
  2009-08-24 18:03         ` Carsten Dominik
  0 siblings, 1 reply; 23+ messages in thread
From: Manish @ 2009-08-24  0:21 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

On Sun, Aug 23, 2009 at 10:27 PM, Carsten Dominik wrote:
>
> On Aug 19, 2009, at 11:59 AM, Manish wrote:
>
>> On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:
>>>
>>> On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there a way to get the text underneath a todo heading to show up in
>>>> the
>>>> agenda screen?
>>>
>>> No this is not possible.
>>
>> It would be real nice to be able to toggle the effect of
>> org-agenda-add-entry-text-maxlines even in agenda view. Follow mode is
>> not
>> exactly the same thing because when turning it off it leaves the window
>> behind
>> which has to be killed with C-x 1.
>
> You can also kill the window with "o", a bit easier.

Oh, yes.  I had forgotten about this.  Thanks.

>
>
>> But since we have it already working for
>> printing agenda and not for screen display, I am sure there are sufficient
>> reasons behind it. But then it's Org mode -- anything is possible. :)
>
>
> For me, the reason is that the agenda should be compact, as
> much as possible.

Once you've got your agenda organized right with todo's in order etc. then
it's just a little disruptive to go anywhere else for a little extra detail to
get some more context.  But I agree agenda should be as compact as
possible.. may be the extra lines could be a toggle switch?

-- 
Manish>

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

* Re: Custom agenda question
  2009-08-24  0:21       ` Manish
@ 2009-08-24 18:03         ` Carsten Dominik
  2009-08-25  8:40           ` Manish
                             ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-24 18:03 UTC (permalink / raw)
  To: Manish; +Cc: org-mode Mailinglist


On Aug 24, 2009, at 2:21 AM, Manish wrote:
> Once you've got your agenda organized right with todo's in order  
> etc. then
> it's just a little disruptive to go anywhere else for a little extra  
> detail to
> get some more context.  But I agree agenda should be as compact as
> possible.. may be the extra lines could be a toggle switch?

Hmmmm.

I am not yet convinced, but I have made a little toy implementation
for you and others to try out and commet on.

Please get the latest version and press `E' in the agenda to
toggle the display of a small amount (see variable
`org-agenda-entry-text-maxlines') of text from the entry in
the agenda.

- Carsten

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

* Re: Custom agenda question
  2009-08-24 18:03         ` Carsten Dominik
@ 2009-08-25  8:40           ` Manish
  2009-08-25  8:55             ` Carsten Dominik
  2009-08-25 13:57             ` Bernt Hansen
  2009-08-25 12:36           ` Peter Westlake
  2009-08-26 12:04           ` Daniel Clemente
  2 siblings, 2 replies; 23+ messages in thread
From: Manish @ 2009-08-25  8:40 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:
>
> On Aug 24, 2009, at 2:21 AM, Manish wrote:
>>
>> Once you've got your agenda organized right with todo's in order etc. then
>> it's just a little disruptive to go anywhere else for a little extra
>> detail to
>> get some more context. But I agree agenda should be as compact as
>> possible.. may be the extra lines could be a toggle switch?
>
> Hmmmm.
>
> I am not yet convinced, but I have made a little toy implementation
> for you and others to try out and commet on.
>
> Please get the latest version and press `E' in the agenda to
> toggle the display of a small amount (see variable
> `org-agenda-entry-text-maxlines') of text from the entry in
> the agenda.

Thanks!  I like it very much so far.  Refreshing the agenda removes the
snippets/excerpts though.  Will use it for a few days and report back.

-- 
Manish

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

* Re: Custom agenda question
  2009-08-25  8:40           ` Manish
@ 2009-08-25  8:55             ` Carsten Dominik
  2009-08-25 13:57             ` Bernt Hansen
  1 sibling, 0 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-25  8:55 UTC (permalink / raw)
  To: Manish; +Cc: org-mode Mailinglist


On Aug 25, 2009, at 10:40 AM, Manish wrote:

> On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:
>>
>> On Aug 24, 2009, at 2:21 AM, Manish wrote:
>>>
>>> Once you've got your agenda organized right with todo's in order  
>>> etc. then
>>> it's just a little disruptive to go anywhere else for a little extra
>>> detail to
>>> get some more context. But I agree agenda should be as compact as
>>> possible.. may be the extra lines could be a toggle switch?
>>
>> Hmmmm.
>>
>> I am not yet convinced, but I have made a little toy implementation
>> for you and others to try out and commet on.
>>
>> Please get the latest version and press `E' in the agenda to
>> toggle the display of a small amount (see variable
>> `org-agenda-entry-text-maxlines') of text from the entry in
>> the agenda.
>
> Thanks!  I like it very much so far.  Refreshing the agenda removes  
> the
> snippets/excerpts though.

Yes, so far it is a 10 minute hack, not a fully implemented feature :-)

>  Will use it for a few days and report back.

Good.

- Carsten

>
> -- 
> Manish

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

* Re: Custom agenda question
  2009-08-24 18:03         ` Carsten Dominik
  2009-08-25  8:40           ` Manish
@ 2009-08-25 12:36           ` Peter Westlake
  2009-08-26 12:04           ` Daniel Clemente
  2 siblings, 0 replies; 23+ messages in thread
From: Peter Westlake @ 2009-08-25 12:36 UTC (permalink / raw)
  To: org-mode Mailinglist

On Mon, 24 Aug 2009 20:03 +0200, "Carsten Dominik"
<carsten.dominik@gmail.com> wrote:
> 
> On Aug 24, 2009, at 2:21 AM, Manish wrote:
> > Once you've got your agenda organized right with todo's in order  
> > etc. then
> > it's just a little disruptive to go anywhere else for a little extra  
> > detail to
> > get some more context.  But I agree agenda should be as compact as
> > possible.. may be the extra lines could be a toggle switch?
> 
> Hmmmm.
> 
> I am not yet convinced, but I have made a little toy implementation
> for you and others to try out and commet on.
> 
> Please get the latest version and press `E' in the agenda to
> toggle the display of a small amount (see variable
> `org-agenda-entry-text-maxlines') of text from the entry in
> the agenda.

This is a very nice feature! Once it is fully implemented,
it will have a benefit that you may not have anticipated,
as explained below:

Many of my TODO items include links to the online places
where the task is to be done. I also use Org id links to
the tasks whenever I write about them in my work log, and
org-insert-link expands the link in the task to give
something like "Headline Text {{link address}{link text}}".
Because the link address is visible, it's very cluttered.

With the new feature, I can put the links in the extra text
and avoid cluttering up the headline. Hmm, but then they won't
show up as links in the agenda view. Regardless of that, it's
a good feature, and much appreciated!

Peter.

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

* Re: Custom agenda question
  2009-08-25  8:40           ` Manish
  2009-08-25  8:55             ` Carsten Dominik
@ 2009-08-25 13:57             ` Bernt Hansen
  2009-08-25 16:06               ` Carsten Dominik
  2009-08-26 11:12               ` Carsten Dominik
  1 sibling, 2 replies; 23+ messages in thread
From: Bernt Hansen @ 2009-08-25 13:57 UTC (permalink / raw)
  To: Manish; +Cc: org-mode Mailinglist, Carsten Dominik

Manish <mailtomanish.sharma@gmail.com> writes:

> On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:
>>
>> On Aug 24, 2009, at 2:21 AM, Manish wrote:
>>>
>>> Once you've got your agenda organized right with todo's in order etc. then
>>> it's just a little disruptive to go anywhere else for a little extra
>>> detail to
>>> get some more context. But I agree agenda should be as compact as
>>> possible.. may be the extra lines could be a toggle switch?
>>
>> Hmmmm.
>>
>> I am not yet convinced, but I have made a little toy implementation
>> for you and others to try out and commet on.
>>
>> Please get the latest version and press `E' in the agenda to
>> toggle the display of a small amount (see variable
>> `org-agenda-entry-text-maxlines') of text from the entry in
>> the agenda.
>
> Thanks!  I like it very much so far.  Refreshing the agenda removes the
> snippets/excerpts though.  Will use it for a few days and report back.

Me too!  I just tried it for the first time this morning and I think
this is going to be very useful.

Lots of my tasks have website links which are exposed by this.  It would
be even more useful if I can click on the links to go there as in the
regular org file.

Even without that this hack looks like a keeper to me :)

Thanks,
Bernt

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

* Re: Custom agenda question
  2009-08-25 13:57             ` Bernt Hansen
@ 2009-08-25 16:06               ` Carsten Dominik
  2009-08-26 11:12               ` Carsten Dominik
  1 sibling, 0 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-25 16:06 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: org-mode Mailinglist


On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:

> Manish <mailtomanish.sharma@gmail.com> writes:
>
>> On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:
>>>
>>> On Aug 24, 2009, at 2:21 AM, Manish wrote:
>>>>
>>>> Once you've got your agenda organized right with todo's in order  
>>>> etc. then
>>>> it's just a little disruptive to go anywhere else for a little  
>>>> extra
>>>> detail to
>>>> get some more context. But I agree agenda should be as compact as
>>>> possible.. may be the extra lines could be a toggle switch?
>>>
>>> Hmmmm.
>>>
>>> I am not yet convinced, but I have made a little toy implementation
>>> for you and others to try out and commet on.
>>>
>>> Please get the latest version and press `E' in the agenda to
>>> toggle the display of a small amount (see variable
>>> `org-agenda-entry-text-maxlines') of text from the entry in
>>> the agenda.
>>
>> Thanks!  I like it very much so far.  Refreshing the agenda removes  
>> the
>> snippets/excerpts though.  Will use it for a few days and report  
>> back.
>
> Me too!  I just tried it for the first time this morning and I think
> this is going to be very useful.
>
> Lots of my tasks have website links which are exposed by this.  It  
> would
> be even more useful if I can click on the links to go there as in the
> regular org file.

I am using an overlay after-string property to display the text.
I don't want to move a way from the one-real-line-is-one-entry
paradigm, so this is as far as I'd like to go, and I do not
wnat to really "insert" this text.

We could make C-c C-o follow links also in the extra text,
and offer a link selection if there are several links, maybe.

- Carsten

>
> Even without that this hack looks like a keeper to me :)
>
> Thanks,
> Bernt
>
>

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

* Re: Custom agenda question
  2009-08-25 13:57             ` Bernt Hansen
  2009-08-25 16:06               ` Carsten Dominik
@ 2009-08-26 11:12               ` Carsten Dominik
  2009-08-26 11:32                 ` Bernt Hansen
  2009-08-27 16:38                 ` Bernt Hansen
  1 sibling, 2 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-26 11:12 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: org-mode Mailinglist


On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:

> Manish <mailtomanish.sharma@gmail.com> writes:
>
>> On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:
>>>
>>> On Aug 24, 2009, at 2:21 AM, Manish wrote:
>>>>
>>>> Once you've got your agenda organized right with todo's in order  
>>>> etc. then
>>>> it's just a little disruptive to go anywhere else for a little  
>>>> extra
>>>> detail to
>>>> get some more context. But I agree agenda should be as compact as
>>>> possible.. may be the extra lines could be a toggle switch?
>>>
>>> Hmmmm.
>>>
>>> I am not yet convinced, but I have made a little toy implementation
>>> for you and others to try out and commet on.
>>>
>>> Please get the latest version and press `E' in the agenda to
>>> toggle the display of a small amount (see variable
>>> `org-agenda-entry-text-maxlines') of text from the entry in
>>> the agenda.
>>
>> Thanks!  I like it very much so far.  Refreshing the agenda removes  
>> the
>> snippets/excerpts though.  Will use it for a few days and report  
>> back.
>
> Me too!  I just tried it for the first time this morning and I think
> this is going to be very useful.
>
> Lots of my tasks have website links which are exposed by this.  It  
> would
> be even more useful if I can click on the links to go there as in the
> regular org file.
>
> Even without that this hack looks like a keeper to me :)

As a first step, `C-c C-o' now opens links from the entire text of an  
entry, not just of the headline visible in the agenda.  So this works  
even without using E to show entry text in the agenda, but of course  
it will also when when the extra text is visible.

- Carsten

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

* Re: Custom agenda question
  2009-08-26 11:12               ` Carsten Dominik
@ 2009-08-26 11:32                 ` Bernt Hansen
  2009-08-27 16:38                 ` Bernt Hansen
  1 sibling, 0 replies; 23+ messages in thread
From: Bernt Hansen @ 2009-08-26 11:32 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:
>
>> Manish <mailtomanish.sharma@gmail.com> writes:
>>
>>> Thanks!  I like it very much so far.  Refreshing the agenda removes
>>> the
>>> snippets/excerpts though.  Will use it for a few days and report
>>> back.
>>
>> Me too!  I just tried it for the first time this morning and I think
>> this is going to be very useful.
>>
>> Lots of my tasks have website links which are exposed by this.  It
>> would
>> be even more useful if I can click on the links to go there as in the
>> regular org file.
>>
>> Even without that this hack looks like a keeper to me :)
>
> As a first step, `C-c C-o' now opens links from the entire text of an
> entry, not just of the headline visible in the agenda.  So this works
> even without using E to show entry text in the agenda, but of course
> it will also when when the extra text is visible.

Thanks!

-Bernt

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

* Re: Custom agenda question
  2009-08-24 18:03         ` Carsten Dominik
  2009-08-25  8:40           ` Manish
  2009-08-25 12:36           ` Peter Westlake
@ 2009-08-26 12:04           ` Daniel Clemente
  2009-08-26 12:28             ` Carsten Dominik
  2 siblings, 1 reply; 23+ messages in thread
From: Daniel Clemente @ 2009-08-26 12:04 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

El dl, ago 24 2009 a les 20:03, Carsten Dominik va escriure:
>
> Please get the latest version and press `E' in the agenda to
> toggle the display of a small amount (see variable
> `org-agenda-entry-text-maxlines') of text from the entry in
> the agenda.
>

I value this because I have some trees like:

**** a big bug: The file id "None" is not present in the tree <Inventory object…
***** TODO try to reproduce
***** fix it

  And the TODO would show in the agenda as just „try to reproduce“, which isn't enough context as to remember what is it about.
  Now with 1 key I can get rid of the confusion; thanks.


  I saw something strange: Emacs seems to beep with each C-n on that view. Not with C-p.

  The following (ding) is being run on next-line due to the condition end-of-buffer, I don't know why:

    (if (interactive-p)
	(condition-case nil
	    (line-move arg nil nil try-vscroll)
	  ((beginning-of-buffer end-of-buffer) (ding)))
      (line-move arg nil nil try-vscroll)))
  nil)

The call was:
(line-move 1 nil nil 1)



-- Daniel

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

* Re: Custom agenda question
  2009-08-26 12:04           ` Daniel Clemente
@ 2009-08-26 12:28             ` Carsten Dominik
  2009-08-26 16:11               ` Daniel Clemente
  2009-08-26 17:09               ` Phil Rooke
  0 siblings, 2 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-26 12:28 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: org-mode Mailinglist


On Aug 26, 2009, at 2:04 PM, Daniel Clemente wrote:

> El dl, ago 24 2009 a les 20:03, Carsten Dominik va escriure:
>>
>> Please get the latest version and press `E' in the agenda to
>> toggle the display of a small amount (see variable
>> `org-agenda-entry-text-maxlines') of text from the entry in
>> the agenda.
>>
>
> I value this because I have some trees like:
>
> **** a big bug: The file id "None" is not present in the tree  
> <Inventory object…
> ***** TODO try to reproduce
> ***** fix it
>
>  And the TODO would show in the agenda as just „try to reproduce“,  
> which isn't enough context as to remember what is it about.
>  Now with 1 key I can get rid of the confusion; thanks.
>
>
>  I saw something strange: Emacs seems to beep with each C-n on that  
> view. Not with C-p.
>
>  The following (ding) is being run on next-line due to the condition  
> end-of-buffer, I don't know why:
>
>    (if (interactive-p)
> 	(condition-case nil
> 	    (line-move arg nil nil try-vscroll)
> 	  ((beginning-of-buffer end-of-buffer) (ding)))
>      (line-move arg nil nil try-vscroll)))
>  nil)
>
> The call was:
> (line-move 1 nil nil 1)

Interesting.  But I cannot reproduce it.

- Carsten

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

* Re: Custom agenda question
  2009-08-26 12:28             ` Carsten Dominik
@ 2009-08-26 16:11               ` Daniel Clemente
  2009-08-26 17:09               ` Phil Rooke
  1 sibling, 0 replies; 23+ messages in thread
From: Daniel Clemente @ 2009-08-26 16:11 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

El dc, ago 26 2009 a les 14:28, Carsten Dominik va escriure:
>>
>>  The following (ding) is being run on next-line due to the condition
>> end-of-buffer, I don't know why:
>>
>
> Interesting.  But I cannot reproduce it.
>

  Strange. It happens even with emacs -Q in Ubuntu's emacs-snapshot package:
GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-05 on palmer, modified by Debian

  Maybe in Emacs' CVS it is fixed…

  The end-of-buffer is signaled by (line-move-visual 1 nil):

	(signal (if (< arg 0)
		    'beginning-of-buffer
		  'end-of-buffer)
		nil))))



-- Daniel

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

* Re: Custom agenda question
  2009-08-26 12:28             ` Carsten Dominik
  2009-08-26 16:11               ` Daniel Clemente
@ 2009-08-26 17:09               ` Phil Rooke
  2009-08-27  8:08                 ` Carsten Dominik
  1 sibling, 1 reply; 23+ messages in thread
From: Phil Rooke @ 2009-08-26 17:09 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 26, 2009, at 2:04 PM, Daniel Clemente wrote:
>
>>  I saw something strange: Emacs seems to beep with each C-n on that
>> view. Not with C-p.
>>
>>  The following (ding) is being run on next-line due to the condition
>> end-of-buffer, I don't know why:
>>
>>    (if (interactive-p)
>> 	(condition-case nil
>> 	    (line-move arg nil nil try-vscroll)
>> 	  ((beginning-of-buffer end-of-buffer) (ding)))
>>      (line-move arg nil nil try-vscroll)))
>>  nil)
>>
>> The call was:
>> (line-move 1 nil nil 1)
>
> Interesting.  But I cannot reproduce it.

I too am having the exact same (minor) problem as Daniel. Additionally,
in the 'E' expanded view the 'p' command will move to the end of the
line containing the previous agenda entry as opposed to hugging the
leftmost column as it does in the non-expanded view.

Phil

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

* Re: Custom agenda question
  2009-08-26 17:09               ` Phil Rooke
@ 2009-08-27  8:08                 ` Carsten Dominik
  0 siblings, 0 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-27  8:08 UTC (permalink / raw)
  To: Phil Rooke; +Cc: org-mode Mailinglist


On Aug 26, 2009, at 7:09 PM, Phil Rooke wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 26, 2009, at 2:04 PM, Daniel Clemente wrote:
>>
>>> I saw something strange: Emacs seems to beep with each C-n on that
>>> view. Not with C-p.
>>>
>>> The following (ding) is being run on next-line due to the condition
>>> end-of-buffer, I don't know why:
>>>
>>>   (if (interactive-p)
>>> 	(condition-case nil
>>> 	    (line-move arg nil nil try-vscroll)
>>> 	  ((beginning-of-buffer end-of-buffer) (ding)))
>>>     (line-move arg nil nil try-vscroll)))
>>> nil)
>>>
>>> The call was:
>>> (line-move 1 nil nil 1)
>>
>> Interesting.  But I cannot reproduce it.
>
> I too am having the exact same (minor) problem as Daniel.  
> Additionally,
> in the 'E' expanded view the 'p' command will move to the end of the
> line containing the previous agenda entry as opposed to hugging the
> leftmost column as it does in the non-expanded view.

I cannot believe it, there really *are* people who use Emacs
and accept the new line-move-visual default value?????  This
drives me sooo crazy when editing code and other line-organized
content - which, frankly, is *all* the stuff I do edit in Emacs.
The absolute first line in my .emacs file is

(setq line-move-visual nil)

Anyway, I am now overruling this for the agenda, to get rid
of the beep for now.  I guess this should count as an Emacs
bug, though.

- Carsten

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

* Re: Custom agenda question
  2009-08-26 11:12               ` Carsten Dominik
  2009-08-26 11:32                 ` Bernt Hansen
@ 2009-08-27 16:38                 ` Bernt Hansen
  2009-08-28  8:44                   ` Carsten Dominik
  1 sibling, 1 reply; 23+ messages in thread
From: Bernt Hansen @ 2009-08-27 16:38 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:
>
>> Lots of my tasks have website links which are exposed by this.  It
>> would
>> be even more useful if I can click on the links to go there as in the
>> regular org file.
>>
>> Even without that this hack looks like a keeper to me :)
>
> As a first step, `C-c C-o' now opens links from the entire text of an
> entry, not just of the headline visible in the agenda.  So this works
> even without using E to show entry text in the agenda, but of course
> it will also when when the extra text is visible.

Would it be hard to make C-c C-o on a headline in a regular org-file
also show this link menu?  I find that very convenient but have to
switch to the agenda first to get at my links quickly :)

I think having it behave the same would also feel more consistent - it
doesn't matter if you're in the agenda or on a headline in an org-file
-- C-c C-o on a headline presents the link menu regardless.

-Bernt

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

* Re: Custom agenda question
  2009-08-27 16:38                 ` Bernt Hansen
@ 2009-08-28  8:44                   ` Carsten Dominik
  2009-08-28 12:06                     ` Bernt Hansen
  2009-08-28 12:18                     ` Bernt Hansen
  0 siblings, 2 replies; 23+ messages in thread
From: Carsten Dominik @ 2009-08-28  8:44 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: org-mode Mailinglist


On Aug 27, 2009, at 6:38 PM, Bernt Hansen wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 25, 2009, at 3:57 PM, Bernt Hansen wrote:
>>
>>> Lots of my tasks have website links which are exposed by this.  It
>>> would
>>> be even more useful if I can click on the links to go there as in  
>>> the
>>> regular org file.
>>>
>>> Even without that this hack looks like a keeper to me :)
>>
>> As a first step, `C-c C-o' now opens links from the entire text of an
>> entry, not just of the headline visible in the agenda.  So this works
>> even without using E to show entry text in the agenda, but of course
>> it will also when when the extra text is visible.
>
> Would it be hard to make C-c C-o on a headline in a regular org-file
> also show this link menu?  I find that very convenient but have to
> switch to the agenda first to get at my links quickly :)
>
> I think having it behave the same would also feel more consistent - it
> doesn't matter if you're in the agenda or on a headline in an org-file
> -- C-c C-o on a headline presents the link menu regardless.

That does sound reasonable, please check if it works now like that.

- Carsten

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

* Re: Custom agenda question
  2009-08-28  8:44                   ` Carsten Dominik
@ 2009-08-28 12:06                     ` Bernt Hansen
  2009-08-28 12:18                     ` Bernt Hansen
  1 sibling, 0 replies; 23+ messages in thread
From: Bernt Hansen @ 2009-08-28 12:06 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 27, 2009, at 6:38 PM, Bernt Hansen wrote:
>
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>
>>> As a first step, `C-c C-o' now opens links from the entire text of an
>>> entry, not just of the headline visible in the agenda.  So this works
>>> even without using E to show entry text in the agenda, but of course
>>> it will also when when the extra text is visible.
>>
>> Would it be hard to make C-c C-o on a headline in a regular org-file
>> also show this link menu?  I find that very convenient but have to
>> switch to the agenda first to get at my links quickly :)
>>
>> I think having it behave the same would also feel more consistent - it
>> doesn't matter if you're in the agenda or on a headline in an org-file
>> -- C-c C-o on a headline presents the link menu regardless.
>
> That does sound reasonable, please check if it works now like that.

Thanks!  I'll check it out today :)

-Bernt

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

* Re: Custom agenda question
  2009-08-28  8:44                   ` Carsten Dominik
  2009-08-28 12:06                     ` Bernt Hansen
@ 2009-08-28 12:18                     ` Bernt Hansen
  1 sibling, 0 replies; 23+ messages in thread
From: Bernt Hansen @ 2009-08-28 12:18 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode Mailinglist

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 27, 2009, at 6:38 PM, Bernt Hansen wrote:
>
>> Would it be hard to make C-c C-o on a headline in a regular org-file
>> also show this link menu?  I find that very convenient but have to
>> switch to the agenda first to get at my links quickly :)
>>
>> I think having it behave the same would also feel more consistent - it
>> doesn't matter if you're in the agenda or on a headline in an org-file
>> -- C-c C-o on a headline presents the link menu regardless.
>
> That does sound reasonable, please check if it works now like that.

It works but not exactly the same.  C-c C-o on a headline in an org file
also picks up links in my LOGBOOK drawer (which isn't bad) but the
agenda doesn't do that.

They should probably be consistent.

-Bernt

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

end of thread, other threads:[~2009-08-28 12:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19  2:44 Custom agenda question Anthony Fairchild
2009-08-19  6:34 ` Manish
2009-08-19  9:34 ` Carsten Dominik
2009-08-19  9:59   ` Manish
2009-08-23 16:57     ` Carsten Dominik
2009-08-24  0:21       ` Manish
2009-08-24 18:03         ` Carsten Dominik
2009-08-25  8:40           ` Manish
2009-08-25  8:55             ` Carsten Dominik
2009-08-25 13:57             ` Bernt Hansen
2009-08-25 16:06               ` Carsten Dominik
2009-08-26 11:12               ` Carsten Dominik
2009-08-26 11:32                 ` Bernt Hansen
2009-08-27 16:38                 ` Bernt Hansen
2009-08-28  8:44                   ` Carsten Dominik
2009-08-28 12:06                     ` Bernt Hansen
2009-08-28 12:18                     ` Bernt Hansen
2009-08-25 12:36           ` Peter Westlake
2009-08-26 12:04           ` Daniel Clemente
2009-08-26 12:28             ` Carsten Dominik
2009-08-26 16:11               ` Daniel Clemente
2009-08-26 17:09               ` Phil Rooke
2009-08-27  8:08                 ` Carsten Dominik

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).