From: laurent.jucquois@posteo.de
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Several %(expression) in org-agenda-prefix-format
Date: Fri, 15 Apr 2016 10:16:36 +0200 [thread overview]
Message-ID: <e1398b3b84bde4fdd4e2e6b8b249cc6c@posteo.de> (raw)
In-Reply-To: <87d1prevy1.fsf@alphapapa.net>
Hi Adam,
I messed up my example, I meant to write 'org-entry-get'.
Sadly, the problem doesn't come from there.
Like Christophe suggested, I guess I'll satisfy myself with a concat
expression of all the properties I need, which is not ideal for
readability (not all my properties have the same length).
Maybe this could be reported as a bug or maybe the documentation should
be upgraded if one is only allowed to pass 'org-agenda-prefix-format'
one custom %(expression).
Anyway, I'm really far far away from being able to understand what's
going on under the hood of 'org-agenda-prefix-format' to solve this
problem myself.
But I hope someone will (or maybe I will when I've finally learned
enough lisp)!
Cheers,
Laurent
Am 14.04.2016 23:12 schrieb Adam Porter:
> laurent.jucquois@posteo.de writes:
>
>> I've come up with the following (mal-functionning)
>> org-agenda-prefix-format:
>>
>> %(org-get-entry (point) "Case" t) %(org-entry-get (point) "CaseNum" t)
>> %(org-entry-get (point) "FiscalYear" t)
>>
>> But this only gives me :
>>
>> Dupond : My first pleadings
>
> Hi Laurent,
>
> I noticed that you're using both `org-get-entry' and `org-entry-get'.
> According to the docs, only `org-entry-get' should do what you want,
> but
> your output seems to indicate the opposite. I'm not sure what to make
> of that, but maybe this is a clue to the problem...?
>
> Please let us know how you fix it. I've been wanting to try something
> like that myself.
next prev parent reply other threads:[~2016-04-15 8:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 13:02 Several %(expression) in org-agenda-prefix-format laurent.jucquois
2016-04-14 21:12 ` Adam Porter
2016-04-15 8:16 ` laurent.jucquois [this message]
2016-04-14 22:37 ` Christophe Schockaert
2016-04-15 8:10 ` laurent.jucquois
2016-04-15 14:44 ` Nick Dokos
2016-04-15 15:52 ` Christophe Schockaert
2016-04-15 15:56 ` laurent.jucquois
2016-04-15 16:00 ` Ken Mankoff
2016-04-15 17:49 ` laurent.jucquois
2016-04-15 19:55 ` Peter Davis
2016-04-15 21:47 ` Adam Porter
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=e1398b3b84bde4fdd4e2e6b8b249cc6c@posteo.de \
--to=laurent.jucquois@posteo.de \
--cc=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.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 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).