From: Bastien <bzg@altern.org>
To: Daniel Clemente <n142857@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] initialize level in org-agenda-format-item
Date: Wed, 26 Sep 2012 11:36:28 +0200 [thread overview]
Message-ID: <871uhp5dnn.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87pq59tabj.wl%n142857@gmail.com> (Daniel Clemente's message of "Wed, 26 Sep 2012 11:14:40 +0200")
Hi Daniel,
Daniel Clemente <n142857@gmail.com> writes:
> When I used %l in org-agenda-prefix-format, my agenda failed with:
>
> Debugger entered--Lisp error: (args-out-of-range 0 0)
> get-text-property(0 extra-space nil)
> (concat level "" (get-text-property 0 (quote extra-space) level))
> (if (equal level "") "" (concat level "" (get-text-property 0 (quote extra-space) level)))
> (format "%s" (if (equal level "") "" (concat level "" (get-text-property 0 (quote extra-space) level))))
> …
>
> It was due to „level“ being nil. The (if (equal level "")) did not run
> because level was nil and not "".
Fixed in master. Thanks for reporting this,
--
Bastien
prev parent reply other threads:[~2012-09-26 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 9:14 [PATCH] initialize level in org-agenda-format-item Daniel Clemente
2012-09-26 9:36 ` Bastien [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871uhp5dnn.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@gmail.com \
/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 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).