From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paolo Gianrossi Newsgroups: gmane.emacs.help Subject: Re: Emacs Lisp question Date: 09 Jan 2004 17:48:15 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073669184 11829 80.91.224.253 (9 Jan 2004 17:26:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2004 17:26:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 09 18:26:18 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Af0On-0007HJ-00 for ; Fri, 09 Jan 2004 18:26:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Af1Bb-0004Qw-Ek for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2004 13:16:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news2.telebyte.nl!newsfeed.stueberl.de!news-FFM2.ecrc.net!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: gnugw.disi.unige.it Original-X-Trace: quimby.gnus.org 1073667083 7410 130.251.61.179 (9 Jan 2004 16:51:23 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Fri, 9 Jan 2004 16:51:23 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:119930 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15862 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15862 GianUberto.Lauri@eng.it (Gian Uberto Lauri) writes: > Could someone give me an explaination of the meaning of the third and > fourth parameter of (put-text-property) ? > > What does it means using the current syntax table for the third > argument and a single number list for the fourth ? don't see what you say in doc... Here's what I get: put-text-property is a built-in function. (put-text-property START END PROPERTY VALUE &optional OBJECT) Set one property of the text from START to END. The third and fourth arguments PROPERTY and VALUE specify the property to add. The optional fifth argument, OBJECT, is the string or buffer containing the text. PROPERTY is the text property you want to put (e.g. intangible, ecc.. see the emacs lisp manual for more), value is to what you want to set it... So, like (put-text-property 0 20 'invisible t) will hide the first 20 chars in buffer.. hope this helps cheers paolino > > Thanks in advance! > > /\ ___ > /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ > //--\ | | \| | Integralista GNUslamico e fancazzista > \/