From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: elispQ: How can I extract text from #("text" ... ) Date: Fri, 4 Apr 2008 07:11:00 -0700 Message-ID: <005501c8965d$b645c5d0$0200a8c0@us.oracle.com> References: <1d8f705b-b39a-44cd-bcfc-cb39d13e5087@a22g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207318407 1921 80.91.229.12 (4 Apr 2008 14:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 14:13:27 +0000 (UTC) To: "'Mirko'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 04 16:13:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jhmfp-0003h9-Ik for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2008 16:13:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhmfC-00086W-QO for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2008 10:13:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jhmew-00085Y-QT for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 10:12:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jhmeu-00084V-3P for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 10:12:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhmet-00084S-TI for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 10:12:47 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jhmet-0007Uz-L6 for help-gnu-emacs@gnu.org; Fri, 04 Apr 2008 10:12:47 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m34ECiTF016732; Fri, 4 Apr 2008 09:12:44 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m32G43Fh003303; Fri, 4 Apr 2008 08:12:44 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3638445991207318260; Fri, 04 Apr 2008 07:11:00 -0700 Original-Received: from dradamslap1 (/141.144.82.71) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 Apr 2008 07:11:00 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1d8f705b-b39a-44cd-bcfc-cb39d13e5087@a22g2000hsc.googlegroups.com> Thread-Index: AciWSQm5r5fPyfS3SwK+oXAMIN+IGgAFCUIA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53045 Archived-At: > > > 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.