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: Redisplay issues with 'space' display properties on overlays Date: Sat, 16 Apr 2022 22:02:43 +0300 Message-ID: <83h76szwa4.fsf@gnu.org> References: <83pmlhynw9.fsf@gnu.org> <83lew4zxny.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38783"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: dalanicolai Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 16 21:03:33 2022 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 1nfnhl-0009xe-Ax for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 21:03:33 +0200 Original-Received: from localhost ([::1]:59398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfnhk-0002Lr-9P for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 15:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfnh6-0001f9-3W for emacs-devel@gnu.org; Sat, 16 Apr 2022 15:02:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfnh5-0000oa-Pg; Sat, 16 Apr 2022 15:02:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rKd17R3AeEbrpMI5mUldabUq9eDMMYzk8ku0YZ7e+V0=; b=EmXkDWufy+vr onyoqDoT0+z1VgQ3B6bDnuAPe+fyuaoQ+qn9d14iBkF+WBtRRhVxHtK/M2YbV5T1hszk0eC5qi3t6 HP5+yObp2+nX87ipjkwtx8xdqdfSaoMdkm3rb5doovGSrq9ZecZ6FLEnkq0u7VwKZZXvm247AnCb8 uO9rM1b60dsT2+Thmq4LWdKukcSeUEr9r8yLgvw/vfgx0vkBmqMYejTjjK5O4BCcLZjMsETi9i8Se wQ5Q4cpAlNqelpPJHgIlbGkLh0d1ri2vSedO9UJRBOFJ4cBjNNWJXQOlbzCulDMrPsP+Z0Fd4G/xR vul9iw0p9XBsvLkC0jvI+w==; Original-Received: from [87.69.77.57] (port=3167 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfnh5-0007eB-9q; Sat, 16 Apr 2022 15:02:51 -0400 In-Reply-To: (message from dalanicolai on Sat, 16 Apr 2022 20:40:47 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:288500 Archived-At: > From: dalanicolai > Date: Sat, 16 Apr 2022 20:40:47 +0200 > Cc: Emacs Devel > > 2. I would expect that a specified space (space display property for the 'gap' > > overlays, i.e. the space between the pages) could be smaller than the default > > 'line-pixel-height`. However, this does not seem possible by just setting a > > smaller :height for the space display property, as the overlay will always have > > a minimum height of the default 'line-pixel-height' > > Here is again my 'second question'. So after when you do `M-x papyrus-demo` > (and scroll using the arrows) the 'gaps', which are the gray 'gaps' between the pages, > have the height of the default `pixel-line-height`. Setting `papyrus-gap-height` larger > will increase the gap size. However, setting `papyrus-gap-height` smaller will not > decrease the gap size because it seems that the `line-pixel-height` is the minimum. > I would expect the size could be smaller, so my question is why the minimum size is > limited to be `line-pixel-height`... I think this is because you have a newline after the overlay, and the newline has the default height. Did you try to put a face with smaller :height on the newline?