From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: setting text properties for strings (or string variables)? Date: Wed, 04 Jun 2003 22:35:52 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054759323 31096 80.91.224.249 (4 Jun 2003 20:42:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 20:42:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 22:42:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Nf3e-0007y8-00 for ; Wed, 04 Jun 2003 22:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Nf3V-0008QL-Ge for gnu-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2003 16:40:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10631 Florian von Savigny writes: > That kindles me to ask if there is no function to set the text > properties for a (sub)string. The available functions which set text > properties seem to work only on buffers. ,----[ C-h f propertize RET ] | propertize is a built-in function. | (propertize STRING &rest PROPERTIES) | | Return a copy of STRING with text properties added. | First argument is the string to copy. | Remaining arguments form a sequence of PROPERTY VALUE pairs for text | properties to add to the result. | `----