all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [agenda] Lisp error: (args-out-of-range 0 0)
Date: Thu, 07 Feb 2013 23:27:43 +0100	[thread overview]
Message-ID: <86sj577o9s.fsf@somewhere.org> (raw)
In-Reply-To: 86wquj7oov.fsf@somewhere.org

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	other threads:[~2013-02-07 22:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 22:18 [agenda] Lisp error: (args-out-of-range 0 0) Sebastien Vauban
2013-02-07 22:27 ` Sebastien Vauban [this message]
2013-02-08 15:15   ` Bastien
2013-02-08 16:51     ` Sebastien Vauban
2013-02-08 18:34       ` Bastien
2013-02-08 15:18 ` Bastien
2013-02-08 16:53   ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86sj577o9s.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.