From: "Drew Adams" <drew.adams@oracle.com>
To: "'Mirko'" <mvukovic@nycap.rr.com>, <help-gnu-emacs@gnu.org>
Subject: RE: elispQ: How can I extract text from #("text" ... )
Date: Fri, 4 Apr 2008 07:11:00 -0700 [thread overview]
Message-ID: <005501c8965d$b645c5d0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <1d8f705b-b39a-44cd-bcfc-cb39d13e5087@a22g2000hsc.googlegroups.com>
> > > values such as:
> > > #("Typically only electric field is assigned" 0 41 (face
> > > font-lock-string-face fontified t)))
> >
> > > Now, these are variables of type string. How can I
> > > extract just the text from it?
> >
> > You can use function `substring-no-properties' to give you
> > a plain string that has no face or other properties.
> >
> > But you might not need to. What do you want to do with the
> ? resulting text (string)?
>
> I compare its contents to some text strings using string= or insert
> them into a buffer. I am converting a freemind mindmap to a latex
> (beamer) file.
AFAIK, string= ignores text properties and should do what you want.
next prev parent reply other threads:[~2008-04-04 14:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-04 2:04 elispQ: How can I extract text from #("text" ... ) Mirko
2008-04-04 4:14 ` Drew Adams
[not found] ` <mailman.9966.1207282652.18990.help-gnu-emacs@gnu.org>
2008-04-04 11:00 ` Mirko
2008-04-04 14:11 ` Drew Adams [this message]
[not found] ` <mailman.9985.1207318373.18990.help-gnu-emacs@gnu.org>
2008-04-04 15:24 ` Mirko
2008-04-04 15:57 ` Drew Adams
[not found] ` <mailman.9990.1207324736.18990.help-gnu-emacs@gnu.org>
2008-04-04 17:15 ` Mirko
2008-04-04 18:28 ` Drew Adams
2008-04-05 15:45 ` Eli Zaretskii
[not found] ` <mailman.10042.1207410333.18990.help-gnu-emacs@gnu.org>
2008-05-04 1:28 ` David Combs
2008-05-04 4:10 ` Eli Zaretskii
2008-05-05 14:17 ` Joel J. Adamson
[not found] ` <mailman.9998.1207333808.18990.help-gnu-emacs@gnu.org>
2008-04-05 1:16 ` Mirko
2008-04-05 3:30 ` Tim X
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005501c8965d$b645c5d0$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mvukovic@nycap.rr.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.