GNU bug report logs - #56388
Overline equivalent of x-underline-at-descent-line

Previous Next

Package: emacs;

Reported by: Hendrik Rommeswinkel <rommeswi <at> proton.me>

Date: Mon, 4 Jul 2022 23:49:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 56388 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56388; Package emacs. (Mon, 04 Jul 2022 23:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hendrik Rommeswinkel <rommeswi <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 04 Jul 2022 23:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hendrik Rommeswinkel <rommeswi <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Overline equivalent of x-underline-at-descent-line
Date: Mon, 04 Jul 2022 18:25:55 +0000
[Message part 1 (text/plain, inline)]
Dear Emacs community,

I noticed that overline text is not as configurable as underline text. Using x-underline-at-descent-line, it is possible to choose between placing the underline at the baseline or the bottom line (I think the naming of this option is not quite right.). However, it is not possible to choose between placing the overline at the ascent line or the top line. Instead it is always at the top line. This makes overline very ugly when the height of faces differs on a line because the overline will appear at the very top of the line instead of on top of the font.

It would be nice if there would be an option x-overline-at-ascent-line which places the overline at the ascent line (instead of the top line).

Ideally, there are variables x-underline-position and x-overline-position which can take values bottom, descent, baseline and top, ascent, respectively.

Cheers,
Hendrik
[Message part 2 (text/html, inline)]
[publickey - rommeswi@proton.me - 0xA02357C6.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56388; Package emacs. (Tue, 05 Jul 2022 01:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 56388 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Hendrik Rommeswinkel <rommeswi <at> proton.me>
Cc: 56388 <at> debbugs.gnu.org
Subject: Re: bug#56388: Overline equivalent of x-underline-at-descent-line
Date: Tue, 05 Jul 2022 09:51:52 +0800
Hendrik Rommeswinkel <rommeswi <at> proton.me> writes:

> I noticed that overline text is not as configurable as underline
> text. Using x-underline-at-descent-line, it is possible to choose
> between placing the underline at the baseline or the bottom line (I
> think the naming of this option is not quite right.). However, it is
> not possible to choose between placing the overline at the ascent line
> or the top line. Instead it is always at the top line. This makes
> overline very ugly when the height of faces differs on a line because
> the overline will appear at the very top of the line instead of on top
> of the font.
>
> It would be nice if there would be an option x-overline-at-ascent-line
> which places the overline at the ascent line (instead of the top
> line).

Instead of making it a user option, how about making it an attribute for
the `:overline' face property?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56388; Package emacs. (Tue, 05 Jul 2022 08:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 56388 <at> debbugs.gnu.org (full text, mbox):

From: Hendrik Rommeswinkel <rommeswi <at> proton.me>
To: "56388 <at> debbugs.gnu.org" <56388 <at> debbugs.gnu.org>
Subject: Re: bug#56388: Overline equivalent of x-underline-at-descent-line
Date: Tue, 05 Jul 2022 03:14:32 +0000
[Message part 1 (text/html, inline)]
[publicKey - rommeswi@proton.me - a02357c6.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56388; Package emacs. (Tue, 05 Jul 2022 11:26:01 GMT) Full text and rfc822 format available.

Message #14 received at 56388 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Hendrik Rommeswinkel <rommeswi <at> proton.me>, 56388 <at> debbugs.gnu.org
Subject: Re: bug#56388: Overline equivalent of x-underline-at-descent-line
Date: Tue, 05 Jul 2022 13:25:28 +0200
Po Lu <luangruo <at> yahoo.com> writes:

> Instead of making it a user option, how about making it an attribute for
> the `:overline' face property?

Yes, sounds like a good idea.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Severity set to 'wishlist' from 'normal' Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 05 Jul 2022 11:26:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56388; Package emacs. (Thu, 07 Jul 2022 16:15:02 GMT) Full text and rfc822 format available.

Message #19 received at 56388 <at> debbugs.gnu.org (full text, mbox):

From: Hendrik Rommeswinkel <rommeswi <at> proton.me>
To: 56388 <at> debbugs.gnu.org
Subject: Re: bug#56388: Overline equivalent of x-underline-at-descent-line
Date: Thu, 07 Jul 2022 16:09:48 +0000
[Message part 1 (text/plain, inline)]
I think the overline and underline face options could be
color, style, position where position is one of "top", "ascent" for overline and one of "base", "descent", "bottom" for underline.



Sent with Proton Mail secure email.

------- Original Message -------
On Tuesday, July 5th, 2022 at 8:25 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:


> Po Lu luangruo <at> yahoo.com writes:
> 

> > Instead of making it a user option, how about making it an attribute for
> > the `:overline' face property?
> 

> 

> Yes, sounds like a good idea.
> 

> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
[publickey - rommeswi@proton.me - 0xA02357C6.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.