help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elispQ: How can I extract text from #("text" ... )


From: Mirko
Subject: Re: elispQ: How can I extract text from #("text" ... )
Date: Fri, 4 Apr 2008 04:00:25 -0700 (PDT)
User-agent: G2/1.0

On Apr 4, 12:14 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > 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)?

Thanks,

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.

Mirko


reply via email to

[Prev in Thread] Current Thread [Next in Thread]