help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: rendering a string as a new line?


From: Kevin Rodgers
Subject: Re: rendering a string as a new line?
Date: Thu, 18 Sep 2003 09:52:10 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Oliver Scholz wrote:

address@hidden (Janusz S. Bień) writes:
On Tue, 16 Sep 2003  "Stefan Monnier" <address@hidden> wrote:
You can put a string "\n" as a `display' property on those tags.

as, if I understand the documentation correctly, "\n" is not a legal
value for `display' property.

[...]

It is not documented (so one could indeed argue, that it is not
legal), but it is valid.
Both valid and documented is '((margin nil) "\n").

The "Other Display Specs" node of the Emacs Lisp manual says:

| `((margin nil) STRING)'
| `STRING'
|      A display specification of this form means to display STRING
|      instead of the text that has the display specification, at the same
|      position as that text.  This is a special case of marginal display
|      (*note Display Margins::).

Note the simple STRING alternative.

--
Kevin Rodgers



reply via email to

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