[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] ITEM in column view in the agenda
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] ITEM in column view in the agenda |
Date: |
Thu, 29 May 2008 18:11:26 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
On Thu, May 29, 2008 at 07:49:20AM +0200, Carsten Dominik wrote:
>
> On May 29, 2008, at 1:09 AM, Adam Spiers wrote:
> >
> >Works great! FYI, I have org-columns-default-format set to:
> >
> >%TODO %PRIORITY %40ITEM(Task) %Effort(ETC){:} %CLOCKSUM(Taken){:}
> >%TAGS(Tags)
> >
> >I noticed one tiny thing which could be improved - links are rendered
> >as their raw text. I guess this will be slightly tricky to handle
> >since in many cases the text of the link will end up being truncated
> >by the %40 - but it would be VERY cool if it was handled gracefully,
> >e.g. by truncating with ellipses.
>
> I cannot have links shown with parts hidden, because column view already
> uses display properties, and I don't think you can nest display
> properties.
Hrm :-(
> Ellipses could be done, but so far I opted against is because you
> will loose even more characters. Maybe it is actually better to
> make sure the user knows that some characters have been
> removed...... OK, done.
Hmm, you have a point about losing characters. I'm not sure what's
best here.
But now I get an error when entering column view:
Debugger entered--Lisp error: (wrong-type-argument integerp nil)
substring("Saturday 28 June 2008" nil)
(let* ((org-complex-heading-regexp cphr) (prefix ...) (rest ...) (fake ...)
(cleaned ...)) (if org-agenda-columns-remove-prefix-from-item cleaned (concat
prefix cleaned)))
org-agenda-columns-cleanu-item("Saturday 28 June 2008" nil nil (("TODO"
"TODO" nil nil nil nil) ("PRIORITY" "PRIORITY" nil nil nil nil) ("ITEM" "Task"
40 nil nil nil) ("Effort" "ETC" nil ":" add_times nil) ("CLOCKSUM" "Taken" nil
":" add_times nil) ("TAGS" "Tags" nil nil nil nil)))
org-columns-display-here((("TODO" . "") ("PRIORITY" . "") ("ITEM" .
#("Saturday 28 June 2008" 0 23 ...)) ("Effort" . #("2:15" 0 4 ...))
("CLOCKSUM" . #("0:00" 0 4 ...)) ("TAGS" . "")))
byte-code(" [snipped...]
org-agenda-colview-summarize(((129 ("Effort" . #("1:00" 0 4 ...))
("TIMESTAMP" . "2008-05-31 Sat 12:30-13:30 +1w") ("ID" . [snipped...]