From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.devel Subject: Re: Redisplay issues with 'space' display properties on overlays Date: Sat, 16 Apr 2022 20:47:13 +0200 Message-ID: References: <83pmlhynw9.fsf@gnu.org> <83lew4zxny.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003957d205dcc9f585" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10336"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 16 20:48:21 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 1nfnT2-0002Ub-To for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 20:48:21 +0200 Original-Received: from localhost ([::1]:48736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfnT1-0002mG-Po for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 14:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfnSB-00025o-HS for emacs-devel@gnu.org; Sat, 16 Apr 2022 14:47:27 -0400 Original-Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]:42799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfnS9-0006xy-Ml; Sat, 16 Apr 2022 14:47:27 -0400 Original-Received: by mail-yb1-xb2e.google.com with SMTP id p65so19439365ybp.9; Sat, 16 Apr 2022 11:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t+dvV5/JacQjCFQ0tPoNMVQylM3czirFjsL8lT89OB4=; b=Y35GiaSYFq7Yto+wL8Lyi/qt+s7X0GOiIfCMurinBcqjaaey4gI8iQUQZjokD/wUY1 kBPtDQSRqTM97U/iT0+XNfzIwqH7ORKwZ6T0s7DKnw7sV9DH2YGFXw5eveRYevdj1u0s PEpWhZU2Q323fEBcTIEMjFGzxsCHPjXUopVo4+y/U5n1Qczbm5bHfDKcLADgsmfp9Ict s/I0jvjKZdAxyo9GRunhl/OEFUweQU30awZ3N2UWcWosGiI3SC7en4xpVoVqGva36+YP 5XbEyZtuJbBB1hyxfswNdJua+57ttgGLhxampqzRfZnvGOB6qFkuBOEX2uNw+7IQiOIv U1Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t+dvV5/JacQjCFQ0tPoNMVQylM3czirFjsL8lT89OB4=; b=AuW1jWDq1/cgK+FYGh1bk6avmLULJiKBRPJwn/Asu20Yg80q23X9x96UTveqVlw0P4 yilxtGwDSg64IjjObUoJmIFOQrVVptSPBgVanfAO5Jw1LVQx24kTk8i5qpDGZ9EONX/c iGs5oO1JJlAbj9tF1k7YmeBbVWtolOO/UINnHyZEcCXgyCcV6qW6i9eQWXJeWj9YdroW SXFzm92TWBuzDDzUEGdxj9Thept8jAxAzEKhUBdlkxHJU5O0wvh3YJCL+je0Lyfmypn0 MyhBd8mxGU2ldNq78JZwv/o0C85v8zfDsC5rroJ7lSv1jDmDax1abEN+eJabYOujEsMY G7AQ== X-Gm-Message-State: AOAM533QAhGqX6URxhQc9E1HDKkmci1nFz7vXbrts5EkImekZowNmbNF hMh2V/K6WV59XjAT7euoJhxALSMlUxnoY6Qadzs1heBH0O4= X-Google-Smtp-Source: ABdhPJxkTqRXdo9uTQ2kiNQiHsVnrAcDgTiMegRr6mVO/wIAp7Y8p1lruJa9HiDksw1ytwAG+JuXEoqO5aYkTmVv9Cw= X-Received: by 2002:a05:6902:392:b0:633:621f:166f with SMTP id f18-20020a056902039200b00633621f166fmr4163105ybs.166.1650134844265; Sat, 16 Apr 2022 11:47:24 -0700 (PDT) In-Reply-To: <83lew4zxny.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=dalanicolai@gmail.com; helo=mail-yb1-xb2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:288495 Archived-At: --0000000000003957d205dcc9f585 Content-Type: text/plain; charset="UTF-8" Ah yes... you are totally right of course. So for the first question, (pdf-scroll.el is not required indeed), do `M-x papyrus-demo`, maximize the demo window, then scroll down a few pages, and split the buffer horizontally. Now, the page in the other window does not get diplayed. Then do `M-: (print "test")` and hide the echo-area by pressing `esc`. Now the page does get displayed. So my question is how can I achieve this without printing something first. On Sat, 16 Apr 2022 at 20:32, Eli Zaretskii wrote: > > From: dalanicolai > > Date: Sat, 16 Apr 2022 20:17:11 +0200 > > Cc: Emacs Devel > > > > Well, for the second question, just do emacs -q, > > then load papyrus.el and do `M-x papyrus-demo`. > > And then do what? look where? for what issues? > > > For the first question pdf-tools is required to be installed, > > I am not sure how to achieve that from emacs -q > > (well besides building the server manually, after installing > > pdf-tools using `list-packages` I guess). > > I don't understand. It is your code that inserts the overlays which > AFAIU give you the problems, right? So I think it should be possible > to construct a simple test case using some image file instead of what > pdf-tools produce. > > > So maybe you could answer/comment on the second question. > > I don't think I understand the situation well enough to answer, sorry. > --0000000000003957d205dcc9f585 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah yes... you are totally right of course.
=
So for the first question, (pdf-scroll.el is not required in= deed),
do `M-x papyrus-demo`, maximize the demo window,
=
then scroll down a few pages, and split the buffer horizontally.
=
Now, the page in the other window does not get diplayed.
Then do `M-: (print "test")` and hide the echo-area b= y pressing
`esc`. Now the page does get displayed.

=
So my question is how can I achieve this without printing
<= div>something first.

On Sat, 16 Apr 2022 at 20:32, Eli Zaretskii &= lt;eliz@gnu.org> wrote:
> From: dalanicolai <<= a href=3D"mailto:dalanicolai@gmail.com" target=3D"_blank">dalanicolai@gmail= .com>
> Date: Sat, 16 Apr 2022 20:17:11 +0200
> Cc: Emacs Devel <emacs-devel@gnu.org>
>
> Well, for the second question, just do emacs -q,
>=C2=A0 then load papyrus.el and do `M-x papyrus-demo`.

And then do what? look where? for what issues?

> For the first question pdf-tools is required to be installed,
> I am not sure how to achieve that from emacs -q
> (well besides building the server manually, after installing
> pdf-tools using `list-packages` I guess).

I don't understand.=C2=A0 It is your code that inserts the overlays whi= ch
AFAIU give you the problems, right?=C2=A0 So I think it should be possible<= br> to construct a simple test case using some image file instead of what
pdf-tools produce.

> So maybe you could answer/comment on the second question.

I don't think I understand the situation well enough to answer, sorry.<= br>
--0000000000003957d205dcc9f585--