emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; display property and continuation arrows


From: Stephen Berman
Subject: Re: 23.0.50; display property and continuation arrows
Date: Mon, 07 Jan 2008 09:40:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

On Mon, 07 Jan 2008 08:00:06 +0100 Jan Djärv <address@hidden> wrote:

> Stephen Berman skrev:
>> On Sun, 06 Jan 2008 11:46:30 +0100 Jan Djärv <address@hidden> wrote:
>>
>>> Stephen Berman skrev:
>>>> On Sat, 05 Jan 2008 23:59:07 +0100 Jan Djärv <address@hidden> wrote:
>>>>
>>>>> Stephen Berman skrev:
>>>>>> On Sat, 05 Jan 2008 18:40:43 +0100 Jan Djärv <address@hidden> wrote:
>>>> [...]
>>>>>>> A futher observation.  If the character in the second column is
>>>>>>> a space, the bug does not appear.
>>>>>> I'm not sure what you mean: do you mean the position occupied by
>>>>>> "e" in the last occurrence of "testing" in my screen first shot?
>>>>>> If I make this a space, I see no different behavior.  Also, what
>>>>>> do you mean by the "bug"?
>>>>> The bug == the appearance of an "empty" line.  Yes, the e in your
>>>>> screen shot.
>>>> Ok, but in this case there is no "empty" line only if you apply the
>>>> display property with the cursor over the "s" following the space,
>>>> i.e. the cursor is on the third column.  But that's also so if you
>>>> leave the "e", so the presence of the space is irrelevant.
>>> That is not what I did.  I had the cursor over the space, in the
>>> second column.  Maybe word breaks and/or column width has something
>>> to do with this also.
>>
>> Did you use the same recipe I gave in my OP, aside from the space?
>
> Yes I did.
>
>> With that and the space I still get the "empty" line, so as you say
>> there must be some other difference.  When I do emacs -Q and eval
>> (frame-parameters), I get this:
[...]
>>  (width . 80)
>>  (height . 40)
[...]
>>  (right-fringe . 8)
>>  (left-fringe . 8)
[...]
>>  (font . "-*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16"))
>>
>> Do you have different values for relevant parameters (e.g. font)?
>>
>
> I have width 81, height 50 (from .Xresources) and font is
> "-*-*-medium-*-*-*-12-*-*-*-*-*-fontset-startup".
>
> I also have right-fringe 11 and left-fringe 10.

When I start emacs -Q, then do (create-fontset-from-fontset-spec
"-*-*-medium-*-*-*-12-*-*-*-*-*-fontset-startup"), then (make-frame
'((width . 81) (height . 50) (right-fringe . 11) (left-fringe . 10)
(font . fontset-startup))), this results, with the text I used in my OP,
in the "e" in the last occurrence of "testing" being in the *first*
column of the continued line, not the second, as you reported -- it
cannot be otherwise with that text and frame width 81 instead of 80, at
least if the font used has a fixed width (in my case the font is
-Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1).  But that
is the precisely position in which there is no "empty" line (nor
continuation arrows) after applying the display property, regardless of
whether the character is a space or not.  Are you sure you didn't apply
the display property to the first column instead the second?  Or are you
using a variable width font?

Steve Berman





reply via email to

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