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#54800: 28.1; calc: Cursor positioned at weird position in calc stack Date: Sat, 09 Apr 2022 16:32:15 +0300 Message-ID: <83k0by8js0.fsf@gnu.org> References: <4a0319d6-b533-b3d8-bf52-bb18d74757e1@web.de> <831qy6aewb.fsf@gnu.org> <3e3b4386-9720-60bb-1e54-fa7326191b7a@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54800-done@debbugs.gnu.org To: Christoph Arenz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 09 15:33:27 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 1ndBDT-0006nJ-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 15:33:27 +0200 Original-Received: from localhost ([::1]:58524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndBDR-0000qa-MA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 09:33:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndBDI-0000h0-A3 for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 09:33:16 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndBD5-0002HL-C3 for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 09:33:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndBD4-0000aP-7a for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 09:33:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2022 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 54800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 54800@debbugs.gnu.org, eliz@gnu.org, tiga.arenz@web.de Original-Received: via spool by 54800-done@debbugs.gnu.org id=D54800.16495111292178 (code D ref 54800); Sat, 09 Apr 2022 13:33:02 +0000 Original-Received: (at 54800-done) by debbugs.gnu.org; 9 Apr 2022 13:32:09 +0000 Original-Received: from localhost ([127.0.0.1]:36996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndBCC-0000Z4-R7 for submit@debbugs.gnu.org; Sat, 09 Apr 2022 09:32:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndBCA-0000Yk-FS for 54800-done@debbugs.gnu.org; Sat, 09 Apr 2022 09:32:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndBC5-0002Al-0p; Sat, 09 Apr 2022 09:32:01 -0400 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=E5e3BqDSulcKpfAMLKf65cfsu1lt2W0xEFbZFk4BccQ=; b=QA+VeoonXWvb AUeIDNuvTZ++ISf30gNdgvUJIaI4YbxC/NezXcIxgh4voT66GmAOiH7e1EbY3DZfW4VvxHBwOnY3t yhAiAKqbbfb9F0tHCxsSZwTRDH2zx+3haeNqmyOXaEX/P8f/AupJ0PwOSL/wHjIeDapZcMxTHcjVf UiJ/YH60UXl26+FpUwFTbMEVo8FM1v77EuT5caSgY4dZE7TSSQ68Vhhh+q5ghyLWk5Gq9H7ZPeJfj O+2ZvgW+eaEfkLWHrHuIIHb/JWQ+hTlQSEBC5YsnTtg6Jna3qs4k1sZXRxc6bjmGfuHzv0NE1fkG0 DX9ix9VcRMMrVlqTDCYVMQ==; Original-Received: from [87.69.77.57] (port=1923 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 1ndBC4-0004mN-LJ; Sat, 09 Apr 2022 09:32:00 -0400 In-Reply-To: <3e3b4386-9720-60bb-1e54-fa7326191b7a@web.de> (message from Christoph Arenz on Sat, 9 Apr 2022 14:31:06 +0200) 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:229617 Archived-At: > Date: Sat, 9 Apr 2022 14:31:06 +0200 > Cc: 54800@debbugs.gnu.org > From: Christoph Arenz > > > I think the bug is actually off-by-one error, because the > > vertical-motion call doesn't take the header-line into account. So I > > suggest the following patch instead, please see if it solves the > > problem: > > Your patch solves the problem and shows maximum content of the stack > in the window. Thanks, I installed the fix on the emacs-28 branch. > Note that it still contains the NOFORCE while the off-by-one fix also > works without it. Right, I removed it before committing. Thanks for pointing that out. And with that, I'm closing this bug report.