unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40507: 26.2; truncate-lines does not respect line-height
@ 2020-04-08 13:51 ndame
  2020-04-08 14:16 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: ndame @ 2020-04-08 13:51 UTC (permalink / raw)
  To: 40507

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

The manual says:

‘line-height’
     A newline can have a ‘line-height’ text or overlay property that
     controls the total height of the display line ending in that
     newline.  *Note Line Height::.

If you set this for a bunch of lines then it properly adds spacing to those lines.

But if you have long lines in the buffer and   (setq truncate-lines t) then 
all lines will be properly spaced, except for the long lines, because the 
newline is out of screen.

Even if the newline is not on screen, it should affect the height of the truncated 
line, because that's why the package developer added line-height to the newline,
so the  line has some spacing.
 
 

[-- Attachment #2: Type: text/html, Size: 882 bytes --]

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

end of thread, other threads:[~2020-04-08 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-08 13:51 bug#40507: 26.2; truncate-lines does not respect line-height ndame
2020-04-08 14:16 ` Eli Zaretskii
2020-04-08 14:31   ` ndame

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).