From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel 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 Message-ID: <834kiyaj2b.fsf@gnu.org> References: <8C0A9F18-AF7B-4C50-8625-229456BF40E4@gnu.org> <835zc8ciqb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15891"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Christopher Miles Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 30 10:08:35 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5mF8-00041r-KG for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jan 2021 10:08:34 +0100 Original-Received: from localhost ([::1]:53620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5mF7-00019Y-Ie for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jan 2021 04:08:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5mER-0000kS-NG for emacs-devel@gnu.org; Sat, 30 Jan 2021 04:07:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40745) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5mER-00052R-GN; Sat, 30 Jan 2021 04:07:51 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2178 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l5mEQ-0006iF-QA; Sat, 30 Jan 2021 04:07:51 -0500 In-Reply-To: (message from Christopher Miles on Wed, 27 Jan 2021 14:34:06 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263598 Archived-At: > 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?