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 08:24:36 -0700 (PDT)
User-agent: G2/1.0

On Apr 4, 10:11 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)?
>
> > 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.

It does work, you are right.  It is that all the extra stuff is really
not necessary in my application.  And it obscures debugging.

Thanks


reply via email to

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