From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: Re: Basic Q: Display specific property in custom agenda view Date: Thu, 26 Sep 2019 05:27:25 +0000 Message-ID: <87a7armxtw.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36794) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDMJV-0007cZ-T0 for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 01:27:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDMJT-0006ea-8T for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 01:27:37 -0400 Received: from mail-eopbgr80127.outbound.protection.outlook.com ([40.107.8.127]:16007 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDMJN-0006cL-Gn for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 01:27:31 -0400 In-Reply-To: (Nathan Neff's message of "Thu, 26 Sep 2019 00:06:20 -0500") Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nathan Neff Cc: emacs-orgmode 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) --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-401-gfabd6d