<#multipart type=alternative> <#part type=text/plain> <#secure method=pgpmime mode=sign> Eli Zaretskii writes: From: Christopher Miles CC: Christopher Miles , "emacs-devel@gnu.org" Date: Wed, 27 Jan 2021 14:34:06 +0000 I tried to use text-property to implement this effect, but seems not working. (with-current-buffer (get-buffer org-agenda-buffer) (let ((position 1084) (inhibit-read-only t)) (goto-char position) (put-text-property (point-at-bol) (1+ (point-at-bol)) 'display " ") (let ((ov (make-overlay (point-at-bol) (1+ (point-at-bol))))) (overlay-put ov 'line-height 100)))) Which text-property did you think will have this effect? The only text-property I see in the snippet above is the 'display' property, but you were talking about 'line-height' property, no? Aha, you're right, I confused overlay with text-property. I thought text-property also have this effect. <#part type=text/html>

<#secure method=pgpmime mode=sign>

Eli Zaretskii <eliz@gnu.org> writes:

From: Christopher Miles <numbchild@gmail.com> CC: Christopher Miles <numbchild@gmail.com>, "emacs-devel@gnu.org" <emacs-devel@gnu.org> Date: Wed, 27 Jan 2021 14:34:06 +0000

I tried to use text-property to implement this effect, but seems not working.

(with-current-buffer (get-buffer org-agenda-buffer) (let ((position 1084) (inhibit-read-only t)) (goto-char position) (put-text-property (point-at-bol) (1+ (point-at-bol)) 'display " ") (let ((ov (make-overlay (point-at-bol) (1+ (point-at-bol))))) (overlay-put ov 'line-height 100))))

Which text-property did you think will have this effect? The only text-property I see in the snippet above is the 'display' property, but you were talking about 'line-height' property, no?

Aha, you're right, I confused overlay with text-property. I thought text-property also have this effect.

<#/multipart>