emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: part of display property on before-string property i


From: Chong Yidong
Subject: Re: address@hidden: part of display property on before-string property is not displayed]
Date: Fri, 12 Oct 2007 15:59:57 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> `position' points to it->current.string_pos when
> handle_single_display_spec above is called while processing a
> `display' property in a overlay string, and thus line 4240 overrides
> the effect of line 4232.
>
> I guess the reason to pretend as if the `display' property were not
> processed yet at line 4240 is to process overlay strings at the
> start position of the `display' property later.  If this guess is
> correct, then this adjustment would be necessary only when
> processing a `display' property within a buffer text.
>
> Could someone more familiar with redisplay check if the following
> patch DTRT?

I think your reasoning is correct, but instead of

    if (!STRINGP (it->stack[it->sp - 1].string))

could you do

    if (BUFFERP (object))

instead?




reply via email to

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