all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27930: 24.5; The underline of hyperlink text is unbounded
@ 2017-08-03 12:43 hw
  2017-08-03 16:33 ` Eli Zaretskii
  2019-09-29  1:58 ` Stefan Kangas
  0 siblings, 2 replies; 8+ messages in thread
From: hw @ 2017-08-03 12:43 UTC (permalink / raw)
  To: 27930


When I reference to Info node with "C-x h handle-switch-frame RET",
I get the *Help* buffer poped up. The first line shows:

handle-switch-frame is an interactive built-in function in `C source
code'

The text "C source code" above is a hyperlink so it is blue with
underline, but the underline extend to the right edge of
the buffer window, which I think should stop at the end line right
after the text "source". So the text above in my text teminal looks
like this:

<left>                 <mid>                   <right>
XXXX function in `____________________________________
___'.
XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXX

The "XXX" above represents the normal text in the *Help* buffer and
<left> <mid> <right> represent the position of the window. I think
the underline should stop right before <mid>. Otherwise it looks ugly.







In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-04-17 on lgw01-04, modified by Debian
System Description:	Ubuntu 16.04.3 LTS

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Important settings:
  value of $LC_MONETARY: zh_CN.UTF-8
  value of $LC_NUMERIC: zh_CN.UTF-8
  value of $LC_TIME: zh_CN.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loading cjk-enc...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Type C-x 1 to delete the help window.
Making completion list...

Load-path shadows:
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.5/lisp/language/thai-word

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-mode easymenu help-fns xterm time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 79864 5925)
 (symbols 48 17875 0)
 (miscs 40 77 138)
 (strings 32 10784 4096)
 (string-bytes 1 269274)
 (vectors 16 7272)
 (vector-slots 8 344042 29978)
 (floats 8 68 452)
 (intervals 56 239 22)
 (buffers 960 14)
 (heap 1024 34011 1898))





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-03 12:43 bug#27930: 24.5; The underline of hyperlink text is unbounded hw
@ 2017-08-03 16:33 ` Eli Zaretskii
  2017-08-03 17:56   ` martin rudalics
  2019-09-29  1:58 ` Stefan Kangas
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2017-08-03 16:33 UTC (permalink / raw)
  To: hw; +Cc: 27930

> From: hw <huwei9527@gmail.com>
> Date: Thu, 03 Aug 2017 20:43:42 +0800
> 
> 
> When I reference to Info node with "C-x h handle-switch-frame RET",
> I get the *Help* buffer poped up. The first line shows:
> 
> handle-switch-frame is an interactive built-in function in `C source
> code'
> 
> The text "C source code" above is a hyperlink so it is blue with
> underline, but the underline extend to the right edge of
> the buffer window, which I think should stop at the end line right
> after the text "source". So the text above in my text teminal looks
> like this:
> 
> <left>                 <mid>                   <right>
> XXXX function in `____________________________________
> ___'.

I think this is expected on a TTY: the face of the last character is
extended all the way to the end of the window.  That's how Emacs was
designed to work in this case.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-03 16:33 ` Eli Zaretskii
@ 2017-08-03 17:56   ` martin rudalics
  2017-08-03 18:33     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: martin rudalics @ 2017-08-03 17:56 UTC (permalink / raw)
  To: Eli Zaretskii, hw; +Cc: 27930

 > I think this is expected on a TTY: the face of the last character is
 > extended all the way to the end of the window.  That's how Emacs was
 > designed to work in this case.

But it works the same way on a GUI frame.

martin





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-03 17:56   ` martin rudalics
@ 2017-08-03 18:33     ` Eli Zaretskii
  2017-08-04  8:55       ` martin rudalics
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2017-08-03 18:33 UTC (permalink / raw)
  To: martin rudalics; +Cc: 27930, huwei9527

> Date: Thu, 03 Aug 2017 19:56:33 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: 27930@debbugs.gnu.org
> 
>  > I think this is expected on a TTY: the face of the last character is
>  > extended all the way to the end of the window.  That's how Emacs was
>  > designed to work in this case.
> 
> But it works the same way on a GUI frame.

Not here, it doesn't.  Maybe there's some kind of misunderstanding.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-03 18:33     ` Eli Zaretskii
@ 2017-08-04  8:55       ` martin rudalics
  2017-08-04 12:47         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: martin rudalics @ 2017-08-04  8:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 27930, huwei9527

 >> But it works the same way on a GUI frame.
 >
 > Not here, it doesn't.  Maybe there's some kind of misunderstanding.

Indeed.  A similar problem on a GUI occurs with the following
customization:

(custom-set-faces
  '(button ((t (:background "#D8D0C8" :box (:line-width 2 :color "grey72")))))
  '(highlight ((t (:inherit button :box (:line-width 2 :style released-button))))))

martin





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-04  8:55       ` martin rudalics
@ 2017-08-04 12:47         ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2017-08-04 12:47 UTC (permalink / raw)
  To: martin rudalics; +Cc: 27930, huwei9527

> Date: Fri, 04 Aug 2017 10:55:00 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: huwei9527@gmail.com, 27930@debbugs.gnu.org
> 
>  >> But it works the same way on a GUI frame.
>  >
>  > Not here, it doesn't.  Maybe there's some kind of misunderstanding.
> 
> Indeed.  A similar problem on a GUI occurs with the following
> customization:
> 
> (custom-set-faces
>   '(button ((t (:background "#D8D0C8" :box (:line-width 2 :color "grey72")))))
>   '(highlight ((t (:inherit button :box (:line-width 2 :style released-button))))))

Yes, that's the intended behavior of :box.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2017-08-03 12:43 bug#27930: 24.5; The underline of hyperlink text is unbounded hw
  2017-08-03 16:33 ` Eli Zaretskii
@ 2019-09-29  1:58 ` Stefan Kangas
  2019-09-29  7:39   ` Eli Zaretskii
  1 sibling, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2019-09-29  1:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 27930, huwei9527

tags 27930 + notabug
close 27930
quit

Eli Zaretskii <eliz@gnu.org> writes:

>> From: hw <huwei9527@gmail.com>
>> Date: Thu, 03 Aug 2017 20:43:42 +0800
>>
>>
>> When I reference to Info node with "C-x h handle-switch-frame RET",
>> I get the *Help* buffer poped up. The first line shows:
>>
>> handle-switch-frame is an interactive built-in function in `C source
>> code'
>>
>> The text "C source code" above is a hyperlink so it is blue with
>> underline, but the underline extend to the right edge of
>> the buffer window, which I think should stop at the end line right
>> after the text "source". So the text above in my text teminal looks
>> like this:
>>
>> <left>                 <mid>                   <right>
>> XXXX function in `____________________________________
>> ___'.
>
> I think this is expected on a TTY: the face of the last character is
> extended all the way to the end of the window.  That's how Emacs was
> designed to work in this case.

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Fri, 04 Aug 2017 10:55:00 +0200
>> From: martin rudalics <rudalics@gmx.at>
>> CC: huwei9527@gmail.com, 27930@debbugs.gnu.org
>>
>>  >> But it works the same way on a GUI frame.
>>  >
>>  > Not here, it doesn't.  Maybe there's some kind of misunderstanding.
>>
>> Indeed.  A similar problem on a GUI occurs with the following
>> customization:
>>
>> (custom-set-faces
>>   '(button ((t (:background "#D8D0C8" :box (:line-width 2 :color "grey72")))))
>>   '(highlight ((t (:inherit button :box (:line-width 2 :style released-button))))))
>
> Yes, that's the intended behavior of :box.

According to the above, this all works as expected.  I'm therefore
closing this as notabug.

If that's incorrect, please reopen.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#27930: 24.5; The underline of hyperlink text is unbounded
  2019-09-29  1:58 ` Stefan Kangas
@ 2019-09-29  7:39   ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2019-09-29  7:39 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 27930, huwei9527

> From: Stefan Kangas <stefan@marxist.se>
> Date: Sun, 29 Sep 2019 03:58:25 +0200
> Cc: martin rudalics <rudalics@gmx.at>, 27930@debbugs.gnu.org, huwei9527@gmail.com
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: hw <huwei9527@gmail.com>
> >> Date: Thu, 03 Aug 2017 20:43:42 +0800
> >>
> >>
> >> When I reference to Info node with "C-x h handle-switch-frame RET",
> >> I get the *Help* buffer poped up. The first line shows:
> >>
> >> handle-switch-frame is an interactive built-in function in `C source
> >> code'
> >>
> >> The text "C source code" above is a hyperlink so it is blue with
> >> underline, but the underline extend to the right edge of
> >> the buffer window, which I think should stop at the end line right
> >> after the text "source". So the text above in my text teminal looks
> >> like this:
> >>
> >> <left>                 <mid>                   <right>
> >> XXXX function in `____________________________________
> >> ___'.
> >
> > I think this is expected on a TTY: the face of the last character is
> > extended all the way to the end of the window.  That's how Emacs was
> > designed to work in this case.
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Date: Fri, 04 Aug 2017 10:55:00 +0200
> >> From: martin rudalics <rudalics@gmx.at>
> >> CC: huwei9527@gmail.com, 27930@debbugs.gnu.org
> >>
> >>  >> But it works the same way on a GUI frame.
> >>  >
> >>  > Not here, it doesn't.  Maybe there's some kind of misunderstanding.
> >>
> >> Indeed.  A similar problem on a GUI occurs with the following
> >> customization:
> >>
> >> (custom-set-faces
> >>   '(button ((t (:background "#D8D0C8" :box (:line-width 2 :color "grey72")))))
> >>   '(highlight ((t (:inherit button :box (:line-width 2 :style released-button))))))
> >
> > Yes, that's the intended behavior of :box.
> 
> According to the above, this all works as expected.  I'm therefore
> closing this as notabug.

We might be able to do something with this when the "face extension"
branch is merged.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-29  7:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 12:43 bug#27930: 24.5; The underline of hyperlink text is unbounded hw
2017-08-03 16:33 ` Eli Zaretskii
2017-08-03 17:56   ` martin rudalics
2017-08-03 18:33     ` Eli Zaretskii
2017-08-04  8:55       ` martin rudalics
2017-08-04 12:47         ` Eli Zaretskii
2019-09-29  1:58 ` Stefan Kangas
2019-09-29  7:39   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.