GNU bug report logs - #33648
25.2; feature request: configurable position of strike-through line

Previous Next

Package: emacs;

Reported by: Robert Samal <samal <at> iuuk.mff.cuni.cz>

Date: Thu, 6 Dec 2018 15:29:02 UTC

Severity: wishlist

Found in version 25.2

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Robert Samal <samal <at> iuuk.mff.cuni.cz>
Cc: 33648 <at> debbugs.gnu.org
Subject: bug#33648: 25.2; feature request: configurable position of strike-through line
Date: Mon, 31 Aug 2020 11:21:09 +0000
[Message part 1 (text/plain, inline)]
tags 33648 + confirmed
thanks

Robert Samal <samal <at> iuuk.mff.cuni.cz> writes:

> When I use set-face-attribute to give some text a strike-through
> attribute, I see that emacs behaves differently from other pieces of
> software: Apparently, the line is drawn at the level of half the glyph's
> height -- which causes the line to be just touching letters like "a",
> "c", "e", ... and it isn't perceived as striking the text out (at least
> not by me).
>
> In comparison, web browsers interpreting html strike tag make the
> line at the level of half of the "small lowercase letters" -- basically
> at the level of the line in lowercase "e". The same is done by Libre
> Office ... and others.
>
> My suggestion is to make this configurable in some way. I'm not sure,
> if it would be better to have a global option for all files, or
> if "(set-face-attribute ... :strike-through" should accept more choices
> to make each line configurable. (I personally would change all of my
> striking lines, if possible.)
>
> Thanks in advance for considering this, for some uses (in particular
> org-mode) this would help a lot.

This is what I see on current master:
[Message part 2 (text/plain, attachment)]
[bug-33648-emacs-orig.png (image/png, attachment)]
[bug-33648-libreoffice.png (image/png, attachment)]
[Message part 5 (text/plain, attachment)]
[bug-33648-with-patch.png (image/png, attachment)]
[Message part 7 (text/plain, attachment)]

This bug report was last modified 4 years and 346 days ago.

Previous Next


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