[Top][All Lists]

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

Re: help on text-properties

From: Kim F. Storm
Subject: Re: help on text-properties
Date: Wed, 06 Jun 2007 10:31:58 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

"Yu,Gang" <address@hidden> writes:

> Hi all:
>  I want to set text properties on a string, however, any time I get a nil
> result after the (set|add)-text-properties call, the text is not properly
> propetied.
> what's wrong??

>          (diag-pr (set-text-properties offset offset '(comment t face
> highlight) show-string))

This part?

It sets the properties from "offset" to "offset" -- which is a no-op.

Kim F. Storm

reply via email to

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