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.bugs Subject: bug#53275: 29.0.50; Cursor shows up at the middle of the screen after window start is forced when vscroll is set Date: Sat, 15 Jan 2022 09:47:04 +0200 Message-ID: <83a6fx1lvr.fsf@gnu.org> References: <87fsppejo8.fsf.ref@yahoo.com> <87fsppejo8.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26988"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53275@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 08:48:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1n8dnf-0006rk-PZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 08:48:35 +0100 Original-Received: from localhost ([::1]:49332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8dne-0003S8-N4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 02:48:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8dn8-0003Io-HV for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 02:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8dn8-0007mq-86 for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 02:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8dn8-0004et-75 for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53275 X-GNU-PR-Package: emacs Original-Received: via spool by 53275-submit@debbugs.gnu.org id=B53275.164223284917733 (code B ref 53275); Sat, 15 Jan 2022 07:48:02 +0000 Original-Received: (at 53275) by debbugs.gnu.org; 15 Jan 2022 07:47:29 +0000 Original-Received: from localhost ([127.0.0.1]:38852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8dmb-0004bx-AZ for submit@debbugs.gnu.org; Sat, 15 Jan 2022 02:47:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8dmZ-0004bl-Hy for 53275@debbugs.gnu.org; Sat, 15 Jan 2022 02:47:27 -0500 Original-Received: from [2001:470:142:3::e] (port=49886 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8dmU-0007jE-7E; Sat, 15 Jan 2022 02:47:22 -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=OJCAOXF0cR0Q5KxCBPLn4oNXBxp2FBDX2oIf80B7wYQ=; b=T6NhscbkfIVO jI9YiJNgmCmTsia8uzjXITvtgdDtqQmJK3O2tHW4r1C6Rx75HcttjQH//dmCSHLnPCtVXKrRxgbeE wbPK45cgR5SHGGd1zNVegHsLV4jPYtRTEm/1+d9x2XrQAH8up17zkkXuHbZGyridaCr6IYIweejLB s9BIom+CwUGctFPDNAFltGsh4A6XboVFWBMvjXF4c7ZX6N+KWKePO/XgUJwDRYANXGbjg0aJnS3Lj G3iy8YmTQaIbFyH/nrqAh72NIJlA4La55RH23sRWQdcUxEdsILM0UdeijfVzCXeN2wwbAvUcksZTp YJAodjx72t97JIEKuQGRFg==; Original-Received: from [87.69.77.57] (port=1383 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8dmR-0003lv-Sf; Sat, 15 Jan 2022 02:47:21 -0500 In-Reply-To: <87fsppejo8.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224246 Archived-At: > Date: Sat, 15 Jan 2022 11:56:23 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Starting from 'emacs -Q', press M-< in the scratch buffer, then say M-: > and evaluate: > > (progn > (set-window-vscroll nil 30 t) > (redisplay) > (set-window-start nil (point-max))) > > The cursor will then display in the center of the screen, which is not > the correct position. Sorry, I missed the "M-<" part. With it, the behavior is reproducible, but I'm not sure I understand what is "the correct position" of the cursor in this case, or why does it matter what Emacs does in that case (except that it should not crash).