From: Nathan Neff <nathan.neff@gmail.com>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Basic Q: Display specific property in custom agenda view
Date: Fri, 27 Sep 2019 03:30:42 -0500 [thread overview]
Message-ID: <CAC=HedDETNHDUY-0pnL_7_gg0cTg9gczby9A-gfhBWOouecd_g@mail.gmail.com> (raw)
In-Reply-To: <87a7armxtw.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
Thanks Eric, this does it!
On Thu, Sep 26, 2019 at 12:27 AM Fraga, Eric <e.fraga@ucl.ac.uk> wrote:
> On Thursday, 26 Sep 2019 at 00:06, Nathan Neff wrote:
> > Got it! Now, all I need to do is add the cool ":" functionality
> > where a ":" is appended to the result if there is a result :-)
>
> Maybe something like
>
> ;; Return PROJ property or category property
> (defun njn-get-proj-property()
> (if (org-entry-get (point) "PROJ" t)
> (concat (org-get-category) ":")
> ""))
>
> (untested)
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-401-gfabd6d
>
[-- Attachment #2: Type: text/html, Size: 1007 bytes --]
prev parent reply other threads:[~2019-09-27 8:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 0:12 Basic Q: Display specific property in custom agenda view Nathan Neff
2019-09-26 4:16 ` Nathan Neff
2019-09-26 5:06 ` Nathan Neff
2019-09-26 5:27 ` Fraga, Eric
2019-09-27 8:30 ` Nathan Neff [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='CAC=HedDETNHDUY-0pnL_7_gg0cTg9gczby9A-gfhBWOouecd_g@mail.gmail.com' \
--to=nathan.neff@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--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).