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: Question about weird vscroll behavior Date: Fri, 10 Nov 2023 21:49:03 +0200 Message-ID: <83edgxxuc0.fsf@gnu.org> References: <8334xk41fx.fsf@gnu.org> <831qd43zjh.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1663"; 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 Fri Nov 10 20:50:10 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 1r1XW5-0005Pg-MU for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Nov 2023 20:50:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1XV7-0001Y0-FH; Fri, 10 Nov 2023 14:49:09 -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 1r1XV5-0001XY-PE for emacs-devel@gnu.org; Fri, 10 Nov 2023 14:49:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1XV5-00021T-Gg; Fri, 10 Nov 2023 14:49:07 -0500 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=YTL3+BDZr70jaAqjya+beojJ36f9Du9GBH0l+npYY9c=; b=WYI8iC2K9mAz tw78zPPvIYg4z2FFBHPRCtpCqdvGBHbEPZdZ8Vi6I3axZOiXf7r6w30YFVL246PnpDe10sb0RpxW8 EXIcqP1+vnn7MUc+qufOMggoKGLsv0y1RCpWqFguX7lfxp6AbSnU1ejGUSsOaVtrq+YPk3JP+2T7c s4sFB1gfAw+egOgvGURo/SKr5BqQ+Mm2vlbpzkqTq6WnKnl0HTtHfVXYfaA3Kr9Sw5H7b3uAuUulc naEOPWbbvZLkW8U0ed5+sY5u/ErFyLh+2OkPPScTsdTEBNrC6z+CqNy8iH2crOZZaunVGsQeNVY69 +cAttEfZPCOxSKZqRzUk1g==; In-Reply-To: (message from dalanicolai on Fri, 10 Nov 2023 19:51:44 +0100) 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:313511 > From: dalanicolai > Date: Fri, 10 Nov 2023 19:51:44 +0100 > > Now, the docstring of 'set-window-vscroll' says: > > 'PRESERVE-VSCROLL-P makes setting the start of WINDOW preserve the > vscroll if its start is "frozen" due to a resized mini-window.' > > I don't really understand what that sentence means It talks about resizing the mini-window, the window at the bottom of the frame where Emacs shows the echo-area and the minibuffer. So this is unrelated to maximizing the Emacs frame. > so I am now still > wondering if this behavior could be considered a bug or not. > > Should I report this as a bug? I don't know. In general, window-vscroll gets reset in many situations, so what you see is most probably not a bug.