Article View: gnu.emacs.bug
Article #99672Re: scrolling, selective display bug
From: carroll
Date: Fri, 29 Jun 1990 22:55
Date: Fri, 29 Jun 1990 22:55
21 lines
1398 bytes
1398 bytes
RMS has said that he's working on a fix, but here's a temporary one you could
probably use: it has the effect that if any part of the ellipsis would be off
the left edge, none of it is plotted.
It is done by adding the "&& p1 >= startup" clause to the if. The changed line
is marked by "!" and is around line 1453 in file xdisp.c, function
display_text_line(). (the line number may be off).
{
invis = 1;
pos = find_next_newline (pos + 1, 1);
if (CharAt (pos - 1) == '\n')
pos--;
}
! if (invis && selective_e && p1 >= startp)
{
p1 += 4;
if (p1 - startp > width)
p1 = endp;
strncpy (p1prev, " ...", p1 - p1prev);
}
Technical Details
Message-ID:
<51300010@m.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!carrollReferences:
<51300009@m.cs.uiuc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,c4afe409afbaedc1 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-06-30 10:59:50 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!carroll From: carroll@m.cs.uiuc.edu Newsgroups: gnu.emacs.bug Subject: Re: scrolling, selective display bug Message-ID: <51300010@m.cs.uiuc.edu> Date: 29 Jun 90 22:55:00 GMT References: <51300009@m.cs.uiuc.edu> Lines: 21 Nf-ID: #R:m.cs.uiuc.edu:51300009:m.cs.uiuc.edu:51300010:000:682 Nf-From: m.cs.uiuc.edu!carroll Jun 29 17:55:00 1990 Posted: Fri Jun 29 23:55:00 1990