emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)


From: Sebastien Vauban
Subject: Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)
Date: Thu, 07 Feb 2013 23:27:43 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt)

Hello,

"Sebastien Vauban" wrote:
> With a recent pull (of today, 15:45), I now have the following error when
> generating the agenda views:
>
> Debugger entered--Lisp error: (args-out-of-range 0 0)
>   get-text-property(0 extra-space nil)
>   (concat effort "" (get-text-property 0 (quote extra-space) effort))
>   (if (equal effort "") "" (concat effort "" (get-text-property 0 (quote 
> extra-space) effort)))
>   (format "%7s" (if (equal effort "") "" (concat effort "" (get-text-property 
> 0 (quote extra-space) effort))))
>   (format " %s%s %s%s%s " (format "%-11s" (if (equal extra "") "" (concat 
> extra "" (get-text-property 0 (quote extra-space) extra)))) (format "%s" (if 
> (equal category-icon "") "" (concat category-icon "" (get-text-property 0 
> (quote extra-space) category-icon)))) (format "%-12s" (if (equal category "") 
> "" (concat category ":" (get-text-property 0 (quote extra-space) category)))) 
> (if (equal "" time) "" (format "%-12s" (if (equal "" time) "" (concat time 
> "")))) (format "%7s" (if (equal effort "") "" (concat effort "" 
> (get-text-property 0 (quote extra-space) effort)))))
>   [...]
>
> As I see a format "%7s" and the `effort' property, this could help reproducing
> the problem:
>
>   (setq org-agenda-prefix-format
>         '((agenda . " %-11s%i %-12:c%?-12t%7e ")))

BTW, I've got a question: I'd like to add different faces with the agenda
line, for example to get the effort property highlighted differently (more, or
less, than the task description).

I've seen that there is some mechanism to compute a "compiled" version of the
info to be displayed (see `org-prefix-format-compiled'). From what I
understand, looking at the real value of that var for my agenda, I have the
impression I can't stuff face info in there.

Would it be still possible, I'd really appreciate a hint on what to look at in
order for me to go farer in that direction... Is it?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]