emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FEATURE SUGGESTED] Re: [BUG] ov property line height failed on lone


From: Eli Zaretskii
Subject: Re: [FEATURE SUGGESTED] Re: [BUG] ov property line height failed on lone length line when exceeded window width
Date: Sat, 30 Jan 2021 11:08:12 +0200

> 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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]