emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Nathan Neff <nathan.neff@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Basic Q: Display specific property in custom agenda view
Date: Thu, 26 Sep 2019 05:27:25 +0000	[thread overview]
Message-ID: <87a7armxtw.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAC=HedD5mauRFDk6SWH2xRchMFm222JAetSbvHr8kPs1k4-T7A@mail.gmail.com>	(Nathan Neff's message of "Thu, 26 Sep 2019 00:06:20 -0500")

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

  reply	other threads:[~2019-09-26  5:27 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 [this message]
2019-09-27  8:30       ` Nathan Neff

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=87a7armxtw.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=nathan.neff@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).