unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: lisp question
Date: Thu, 4 Aug 2011 08:49:33 +0200	[thread overview]
Message-ID: <CAMXnza1gYUbLBgrv8rD9KGBUC05-CBX1th1afHuhfmtN7AtwrQ@mail.gmail.com> (raw)
In-Reply-To: <814o1x4w3s.fsf@gmail.com>

Hi Jambunathan,

On Thu, Aug 4, 2011 at 6:52 AM, Jambunathan K <kjambunathan@gmail.com> wrote:
> Return value is a text with properties. You can use
>
> (substring-no-properties (org-get-category (point)))
>
> to get just the text part.
>
> I think you will be better off using the property APIs. You can use
> (org-entry-get (point) "CATEGORY")
>
> to extract the desired information.
>
> See "Using the property API" section of the manual.

Thanks a lot for both the pointers! :)

-- 
Suvayu

Open source is the future. It sets us free.



  reply	other threads:[~2011-08-04  6:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  2:25 lisp question suvayu ali
2011-08-04  4:52 ` Jambunathan K
2011-08-04  6:49   ` suvayu ali [this message]
     [not found] <mailman.55.1178045196.32220.help-gnu-emacs@gnu.org>
2007-05-01 19:21 ` Maarten Bergvelt
2007-05-01 20:32 ` Scott Frazer
  -- strict thread matches above, loose matches on Subject: below --
2007-05-01 18:39 A Soare
2007-05-01 19:10 ` Jesper Harder
2007-05-01 21:11   ` Marco Almeida
     [not found] <mailman.5.1177957929.32220.help-gnu-emacs@gnu.org>
2007-05-01  8:23 ` Brendan Halpin
2007-05-01 11:41   ` Hartmut Figge
2007-05-01 13:24     ` Malte Spiess
2007-04-30 18:25 A Soare
2007-04-30 19:09 ` Peter Dyballa
2007-04-29 17:14 Hadron
2007-04-29 17:32 ` Barry Margolin
2007-04-29 23:06   ` Hadron

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMXnza1gYUbLBgrv8rD9KGBUC05-CBX1th1afHuhfmtN7AtwrQ@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kjambunathan@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.
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).