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:57:11 +0200 Message-ID: References: <83pmlhynw9.fsf@gnu.org> <83lew4zxny.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e2ccea05dcca1805" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15515"; 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:58:22 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 1nfncj-0003ux-Rs for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 20:58:21 +0200 Original-Received: from localhost ([::1]:53354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfnci-0006VT-K9 for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Apr 2022 14:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfnbq-0005er-3W for emacs-devel@gnu.org; Sat, 16 Apr 2022 14:57:26 -0400 Original-Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]:42624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfnbo-0008RR-Et; Sat, 16 Apr 2022 14:57:25 -0400 Original-Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-2ef5380669cso92386697b3.9; Sat, 16 Apr 2022 11:57:23 -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=HKwOu04nPJedy/iX+cSsWS5z+FjrYMgL48LavGrk6AU=; b=CTfzJNSDgFpB4mX5nfujkDwBMMqE9GUBHw4YOnZ2solEPXjcqZALugL/d2MZ6zykwn CG1Hn3OZ7pt3xl5OihQ4sZmcIMyJTH99pRavh6WBNchXE0oQRV6LjgRONAA2tgVc0442 8tpVqDXbM6LQwpqxPgNQ8tGChRGWYmt/YUys5RxAJ0IUmdVhly0wVnDiKHCzOofN+fAO BgumtfeAozhWdWNOKjNdo3bP9Qa/ykXvcTg93gtatqs75A+vmsKCeaqv3EEMNUMce1ma hlgOTBlkKOLFhyl//dO8CcIA3J6oM0wvRQInqvSzvyv9+Y8A8s6UYEpgL8wtmlL65fzu Culg== 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=HKwOu04nPJedy/iX+cSsWS5z+FjrYMgL48LavGrk6AU=; b=O3fVn1eqzy7mLXrH2klgc6paqH3aKJH3wNmF63JgnvV0us6knQ2S+RSeBvQpWeLSFk eQ9kofR5jFXep7Fr/68yearjlW7+9vampGkXgeJvYcqu/YyOYAyGpbO1V738dlK9nMtS k5zC45AtU0bZCImSjW0yxEV3S0QqNOMLFvPT80cNeT7hnZDx0iptUwvwCpQ4ZFmn1Azu o9FljHcuusB9E1pvXoJaaYvCxo/Em1EryRv6V7TgRc0Yn6lrhEfCONNdyW/M/WM0y1LS tiYtjv0WldCRjeY0J4XYDZMKDXk2hMtCrA2hy0p+XR41heKagZNTiUyOfFHb+x39uzSn RpEA== X-Gm-Message-State: AOAM532JrRDqQXFK5ft55GH4fhtDUBtjmYuJlU/jyZT5pQObuGznNJt5 v4+CwLxksY4ZT47Kl4NU5DzFRMteJc863ZjLReB4FWQw74CScA== X-Google-Smtp-Source: ABdhPJzwzXP/llsqddI1Fa+JuA/Y9Ja7ICMyk1UOWuz1/0ZpCQOEHQ0kp0voX/DTKi/ZulNw2YAduLO7iQ0pbpVDrFE= X-Received: by 2002:a0d:d107:0:b0:2eb:fd01:d704 with SMTP id t7-20020a0dd107000000b002ebfd01d704mr3910872ywd.264.1650135442573; Sat, 16 Apr 2022 11:57:22 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=dalanicolai@gmail.com; helo=mail-yw1-x1129.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:288497 Archived-At: --000000000000e2ccea05dcca1805 Content-Type: text/plain; charset="UTF-8" > > So my question is how can I achieve this without printing > something first. > This works without the printing in Spacemacs/Doom Emacs, but I don't know which thing is responsible for the different behavior. On Sat, 16 Apr 2022 at 20:47, dalanicolai wrote: > 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. >> > --000000000000e2ccea05dcca1805 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So = my question is how can I achieve this without printing
something = first.

This works without the printin= g in Spacemacs/Doom Emacs, but
I don't know which thing is re= sponsible for the different behavior.

On Sat, 16 Apr 2022 at 20:4= 7, dalanicolai <dalanicolai@gma= il.com> wrote:
Ah yes... you are totally right of course.

So for the first question, (pdf-scroll.el is not requi= red 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<= /div>
something first.

On Sat, 16 Apr 2022 at 20:32, Eli Zaret= skii <eliz@gnu.org= > wrote:
>= From: dalanicolai <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>
--000000000000e2ccea05dcca1805--