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 21:17:57 +0100 Message-ID: References: <8334xk41fx.fsf@gnu.org> <831qd43zjh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009761ed06096d6f05" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27704"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 05 21:19:06 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 1qzjaM-0006wA-CV for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Nov 2023 21:19:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzjZZ-0000OR-2d; Sun, 05 Nov 2023 15:18:17 -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 1qzjZU-0000Nc-PB for emacs-devel@gnu.org; Sun, 05 Nov 2023 15:18:12 -0500 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzjZS-0003Le-OP for emacs-devel@gnu.org; Sun, 05 Nov 2023 15:18:12 -0500 Original-Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4083f61322fso28481175e9.1 for ; Sun, 05 Nov 2023 12:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699215489; x=1699820289; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=q6lNuGVFc4pGtVGERMTXa40sipN66DIhlT3m+oclLFw=; b=F+5TcCjD8HiTjof4T7GiKenPGa0+34jtGX3ECdZRNKrJBxzeX205ATpog9O6fTovrI HfBYzDYoRr1pFnaVAKIE7tLvNVzduYhrB9LjKNAqn1zE7nxEK9N21vsTMTI+jrUEg/EY PgXibroE+eYCHEyFzJ/OsLtKD4JdGvX2geXs646mkgmQmoNx3+a9SweGqcJA04uPEOsk q28YWeXtuiRvkSkgTDq/ha/MYkEQlv9NUwDtYfxOJhz/QphiknzEBoXM+cTrkuF0hO4Q 2kLAd6EMVljLX1ZozTWZttWaY1i/1KvLP3sTp69dVHXrrtdzX+TJXeYwAiO245hDqfbR s82Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699215489; x=1699820289; h=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=q6lNuGVFc4pGtVGERMTXa40sipN66DIhlT3m+oclLFw=; b=Dqu/74s3YNulHpFIRbcU6clIfsSrmNWRCPd3hCDVRsuzADv4dNnQCKl2FftGbp+EKA xEeQF5QtiaaaG0sJ96xE5u4L1WlmtUtXqLtTTgqZCq9jL2Hinw3H+rmn7ojKgvqgzmoc bABFsjpDUDkKE9z6hVLbuwPn5Eet9s+DtKHbfmSOL2GK3JoQLht4P4gQ1+gNfkjp2tA/ uhQX9ME5/b6+Svo4pK+2NYN0AkdadWlX4KZvffIBfMRKFtEzsM7fIUhNUVcV4nzA4qql VQ97Cmro31+YlJJ0tLaPk/4/MUKK3fKDMQ02FpBOW2tNQQdgLu7YZqmnVfRzarNz5mwz +B9A== X-Gm-Message-State: AOJu0Yy72HWuRT4vQxvo6NhwsYo5W2kOzBCBrLbR1E/LHWOSwUzF5M62 oIm3P9fuanXoRjJw0qkjXoG89cAQ1JrhIhMW79ArwLiHGss= X-Google-Smtp-Source: AGHT+IFT6gGuceLdcsED0Ai9fy5GUd5VOgZd9xp/FWou86KyzOOKXn+aUb2ceGqiVwssJKnk7HKMsynWEA1rkrxn/dk= X-Received: by 2002:a05:600c:19cc:b0:406:8494:f684 with SMTP id u12-20020a05600c19cc00b004068494f684mr21546168wmq.23.1699215488539; Sun, 05 Nov 2023 12:18:08 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=dalanicolai@gmail.com; helo=mail-wm1-x32a.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:312262 Archived-At: --0000000000009761ed06096d6f05 Content-Type: text/plain; charset="UTF-8" Hi all, If there is anybody on Fedora here, could you please try to evaluate the code from the original message starting from emacs -Q, and afterwards check what is the value of M-: (window-vscroll nil t) > Do you get 0 or 300? For some reason this does not work here. I have just built emacs from `HEAD` without using any `configure` flags. It does not work here, neither on emacs 28.3, 29.1 or on the latest 30.5. I have also tried on Ubuntu on another laptop, where the code works fine. Would be great if possible. Thanks! On Sun, 5 Nov 2023 at 19:14, dalanicolai wrote: > 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"? >> > --0000000000009761ed06096d6f05 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

If = there is anybody on Fedora here, could you please try to evaluate the code<= /div>
from the original message starting from emacs -Q, and afterwards = check what
is the value of

M-: (window-vscroll nil t)

Do you get 0 or 300?

=
For some reason this does not work here. I have just built emacs from = `HEAD`
without using any `configure` flags. It does not work here= , neither on
emacs 28.3, 29.1 or on the latest 30.5.
I have also tried on Ubuntu on another laptop, where the code = works fine.
Would be great if possible.

= Thanks!

On Sun, 5 Nov 2023 at 19:14, dalanicolai <dalanicolai@gmail.com> wrote:
<= /div>
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 Ema= cs 28.3, and with my own
build of Emacs 29.1 (with PGTK, but I gu= ess that is the default now
on Emacs 29). Also, I have tried on w= ayland and x-org. But the code
does not set the vscroll when star= ting from emacs -Q, while, strangely
it works when I load my conf= iguration.

Anyway, I guess I have to investiga= te some more then.

Thanks a lot for checking!
<= /div>


On Sun, 5 Nov 2023 at 18:01, Eli Zaretskii <eliz@gnu.org> wrote:
<= /div>
> From: dalanicol= ai <dalanicol= ai@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"?
--0000000000009761ed06096d6f05--