bug#34286: M-x man grep weird lines

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#34286: M-x man grep weird lines

積丹尼 Dan Jacobson
$ emacs -nw -q
M-x man grep

Do you see those weird lines?
(Also test without -nw too.)

d2.jpg (26K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

bug#34286: M-x man grep weird lines

Eli Zaretskii
tags 34286 notabug
thanks

> From: 積丹尼 Dan Jacobson
> <[hidden email]>
> Date: Fri, 01 Feb 2019 07:17:17 +0800
>
> $ emacs -nw -q
> M-x man grep
>
> Do you see those weird lines?

That's normal: faces straddle the newline.  In this case, it's the
underline face, but you will see the same if you use a face with a
non-default background color.



Reply | Threaded
Open this post in threaded view
|

bug#34286: M-x man grep weird lines

積丹尼 Dan Jacobson
In reply to this post by 積丹尼 Dan Jacobson
Well then something else needs to be fixed.

All that hard work to make man pages look good,

but then this obvious error connecting unrelated items,

just because they are in the same face or something.

You must admit it looks terrible.

>>>>> "EZ" == Eli Zaretskii <[hidden email]> writes:
EZ> tags 34286 notabug
EZ> thanks

>> From: 積丹尼 Dan Jacobson
>> <[hidden email]>
>> Date: Fri, 01 Feb 2019 07:17:17 +0800
>>
>> $ emacs -nw -q
>> M-x man grep
>>
>> Do you see those weird lines?

EZ> That's normal: faces straddle the newline.  In this case, it's the
EZ> underline face, but you will see the same if you use a face with a
EZ> non-default background color.




Reply | Threaded
Open this post in threaded view
|

bug#34286: M-x man grep weird lines

Andy Moreton-3
In reply to this post by 積丹尼 Dan Jacobson
On Sat 02 Feb 2019, Eli Zaretskii wrote:

> tags 34286 notabug
> thanks
>
>> From: 積丹尼 Dan Jacobson
>> <[hidden email]>
>> Date: Fri, 01 Feb 2019 07:17:17 +0800
>>
>> $ emacs -nw -q
>> M-x man grep
>>
>> Do you see those weird lines?
>
> That's normal: faces straddle the newline.  In this case, it's the
> underline face, but you will see the same if you use a face with a
> non-default background color.

From looking at this, the man page formatting is ok, but there is a
problem with the buttons added to allow following references.

The first overlay button added by `Man-highlight-references0' uses a
start position in the middle of a subsection heading in the "SEE ALSO"
section, so something is not right with the regexps that locate these
references.

    AndyM




Reply | Threaded
Open this post in threaded view
|

bug#34286: M-x man grep weird lines

Eli Zaretskii
> From: Andy Moreton <[hidden email]>
> Date: Sat, 09 Feb 2019 23:04:29 +0000
>
> > That's normal: faces straddle the newline.  In this case, it's the
> > underline face, but you will see the same if you use a face with a
> > non-default background color.
>
> >From looking at this, the man page formatting is ok, but there is a
> problem with the buttons added to allow following references.
>
> The first overlay button added by `Man-highlight-references0' uses a
> start position in the middle of a subsection heading in the "SEE ALSO"
> section, so something is not right with the regexps that locate these
> references.

Thanks, I fixed that one (and also another problem with handling
references to manpages divided between two lines).  The more general
problem, however, with the underline face straddling a newline, cannot
be helped.