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: Question about weird vscroll behavior Date: Sun, 5 Nov 2023 19:14:19 +0100 Message-ID: References: <8334xk41fx.fsf@gnu.org> <831qd43zjh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000074f12406096bb52a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26532"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 05 19:15:30 2023 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 1qzhej-0006hL-Nr for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Nov 2023 19:15:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzhds-0001QZ-2u; Sun, 05 Nov 2023 13:14:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzhdr-0001QR-6i for emacs-devel@gnu.org; Sun, 05 Nov 2023 13:14:35 -0500 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzhdp-0006h7-HW; Sun, 05 Nov 2023 13:14:34 -0500 Original-Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c5039d4e88so52304991fa.3; Sun, 05 Nov 2023 10:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699208071; x=1699812871; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vXgzSKVK+fXjTTL+/GwMU+POpvyxTX86FT7lhf4XzqE=; b=S5pKNt05+7s/XYgE48H38vY/V0YZPFBHD+5u228FEK4yeEkfnJnRNYvjIrJ6pDD5o5 crzp22VKqRdjfuAU20JXr4d7bGT1sSi2Q1k/naHqXKWsYeLQWWZyslsbncf4vTTh+Suc cXDIC/KgpygRdwNq3LQd5vk+27v5g8lfFx1FmpSW94J+tdU04IdhVOJJ1Gg8SlEcWn2I ldlKfLNS1i26+V3yzRv77xwkQif/o6XhH6xOiWVVT1TpilW0X0l2//kJLwT+IYY3TSTC P5z1sfJPWy0kpnN3XfvEzOjXyZICJHWwUZAgTze33hlWZoUJHzeJYEm0MKc9kIfnbYIX CFwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699208071; x=1699812871; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vXgzSKVK+fXjTTL+/GwMU+POpvyxTX86FT7lhf4XzqE=; b=rj+1ynCG8pb9vbpml7rYhFK08JHAlSM2SKbWiyiZrvMvXqEnl7QEbKBLEuj03ooiKn mZRoaWop+ndwu5BViI5Js2HO40dlD6fcmCek669DpIKqRoTSRnvZIZp5OrsruA+itKHN QEyKCGPGPGTY9OCCMiOQs5aawmDcvk+7Kg1G3m828C0N5fZ+EimHvUIdgf9fGtFO7Vwy tj59rMAwwB80R1U8ef1GcEQEmJBINlvqZ9J4VwL6vjQrW4V9F4TnqFpf6OZppG6j3PTt qEtUwAKmp6acB0ZTx0jivu/ORshurf8YjbelvTHpMhm0WE/yzb7W3VcAL8iu0SWImLxz Oftg== X-Gm-Message-State: AOJu0YxNaoHg7heuFdJrq4hChDCv2E/EPzystaS3Mk/D0OkgsOjOFU5W wfxtyfPrcJ3IeF5lHPZLYCbsNF+TrvzLC6bDcXeXuqb9 X-Google-Smtp-Source: AGHT+IH0pjpoMFYR0kXc4XHkLKZU4dsFcy4Vz8NrMYz/POVUSSvnABawr1GRYHYQz/68tavgV0qMLgapBVR9TYn5lMk= X-Received: by 2002:a2e:9943:0:b0:2c5:21e3:f21a with SMTP id r3-20020a2e9943000000b002c521e3f21amr21453840ljj.53.1699208070753; Sun, 05 Nov 2023 10:14:30 -0800 (PST) In-Reply-To: <831qd43zjh.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=dalanicolai@gmail.com; helo=mail-lj1-x22b.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312255 Archived-At: --00000000000074f12406096bb52a Content-Type: text/plain; charset="UTF-8" Haha, okay Eli. It was just to be sure, because otherwise I have no idea why setting the vscroll using the above code, does not work here. I have tried with the Fedora system Emacs 28.3, and with my own build of Emacs 29.1 (with PGTK, but I guess that is the default now on Emacs 29). Also, I have tried on wayland and x-org. But the code does not set the vscroll when starting from emacs -Q, while, strangely it works when I load my configuration. Anyway, I guess I have to investigate some more then. Thanks a lot for checking! On Sun, 5 Nov 2023 at 18:01, Eli Zaretskii wrote: > > From: dalanicolai > > Date: Sun, 5 Nov 2023 17:36:26 +0100 > > Cc: emacs-devel@gnu.org > > > > I just realized I forgot to be clear about my question. > > The problem is that after evaluating the code, here, > > after starting from emacs -Q, the vscroll value is still > > zero. > > > > So I was wondering what is the value when doing > > > > M-: (window-vscroll nil t) > > > > after evaluating the example code. > > > > So Eli, when you say it works, do you mean that > > vscroll value is 300? > > Of course! How else could I have claimed that "it works"? > --00000000000074f12406096bb52a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Haha, okay Eli. It was just to be sure, because other= wise I have
no idea why setting the vscroll using the above code,= does not
work here.

I have tried with t= he Fedora system Emacs 28.3, and with my own
build of Emacs 29.1 = (with PGTK, but I guess that is the default now
on Emacs 29). Als= o, I have tried on wayland and x-org. But the code
does not set t= he vscroll when starting from emacs -Q, while, strangely
it works= when I load my configuration.

Anyway, I guess= I have to investigate some more then.

Thanks a lo= t for checking!


On Sun, 5 Nov 2023 at 18:01, Eli Za= retskii <eliz@gnu.org> wrote:
=
> From: dalanico= lai <dalanico= lai@gmail.com>
> Date: Sun, 5 Nov 2023 17:36:26 +0100
> Cc: emacs-dev= el@gnu.org
>
> I just realized I forgot to be clear about my question.
> The problem is that after evaluating the code, here,
> after starting from emacs -Q, the vscroll value is still
> zero.
>
> So I was wondering what is the value when doing
>
>=C2=A0 M-: (window-vscroll nil t)
>
> after evaluating the example code.
>
> So Eli, when you say it works, do you mean that
> vscroll value is 300?

Of course!=C2=A0 How else could I have claimed that "it works"?
--00000000000074f12406096bb52a--