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: Wed, 13 Apr 2022 16:11:04 +0300 Message-ID: <83czhl3z87.fsf@gnu.org> References: <4a0319d6-b533-b3d8-bf52-bb18d74757e1@web.de> <831qy6aewb.fsf@gnu.org> <3e3b4386-9720-60bb-1e54-fa7326191b7a@web.de> <83k0by8js0.fsf@gnu.org> <4792caf2-0ef7-d768-6b0a-c87f38cde558@web.de> <83y20b6es8.fsf@gnu.org> <83sfqj6dxn.fsf@gnu.org> <3bd62f12-0d8b-314a-b812-4467e1f6ba43@web.de> <064785f3-5e77-ae50-aaa5-e590a7eafe4e@web.de> <44113a6c-9ff6-41e6-cf91-bbb3fea5da78@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26435"; 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 Wed Apr 13 15:12:16 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 1necnA-0006kI-44 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 15:12:16 +0200 Original-Received: from localhost ([::1]:47976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1necn8-0006af-Pi for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 09:12:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1necmw-0006aD-IO for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 09:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1necmw-0006RD-9V for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 09:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1necmw-0001ui-4J for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Apr 2022 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54800-done@debbugs.gnu.org id=D54800.16498554737284 (code D ref 54800); Wed, 13 Apr 2022 13:12:02 +0000 Original-Received: (at 54800-done) by debbugs.gnu.org; 13 Apr 2022 13:11:13 +0000 Original-Received: from localhost ([127.0.0.1]:52065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1necm9-0001tQ-C3 for submit@debbugs.gnu.org; Wed, 13 Apr 2022 09:11:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1necm6-0001t9-I3 for 54800-done@debbugs.gnu.org; Wed, 13 Apr 2022 09:11:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1necm1-0006Et-5Z; Wed, 13 Apr 2022 09:11:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=mGg22FUnnwtt98DVHttOVnF8Su8o43y0s1N9g0NESq0=; b=kCiPQgUpBd2G+2zvyDow QWIicmJHLg+urxbv7iIcqJf//ePFO2h8++jmSliIwhnZ7WaJE1+n5ZIZKU4okIUmDrqnvAiSSm3tY AuRsEniqRNYtJTWIYf4qonvyilUpPN8K57/BN0wDsCIPF+MEndprP4v0J3+Xx7+s78QSYIOHZECpy +F3o1DSkB5QWOd8Q6ejjFWvLilJX7IE/26pvxSah+kYwVkpoZGBkro1Fw/jAyR+VaVVOpm2jaPCL9 O52sf0GbievJdcRnaNmTVFsczQprWSt2qpiJfmtqh+961tVpHHtf+/9EaWJbsgIYyfhHKU9QkzN7J oMuMutmaPpT0BA==; Original-Received: from [87.69.77.57] (port=4716 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 1neclu-0008FF-TR; Wed, 13 Apr 2022 09:11:00 -0400 In-Reply-To: <44113a6c-9ff6-41e6-cf91-bbb3fea5da78@web.de> (message from Christoph Arenz on Tue, 12 Apr 2022 22:44:16 +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:229821 Archived-At: > Date: Tue, 12 Apr 2022 22:44:16 +0200 > From: Christoph Arenz > Cc: 54800@debbugs.gnu.org > > > > And there are still cases where above does not work correctly. > > E.g. when using a theme which has different line heights for header > > line and mode line than for text lines, > > say M-x load-theme leuven . > > > > Approaching it differently seems to cover those cases as well: > > > >     (vertical-motion (- 1 (window-body-height))) > > N.B. > This works for me as long as line-spacing is nil. > For non-nil there seems to be a bug in window-body-height. > I have opened bug report #54894 for that. Thanks, I think people who use line-spacing in Calc stack window, or otherwise change the default height of a window-line, should know what they are doing and what would be the result. I installed the change to use the 'floor' argument to window-height, and I think this works well enough in the "usual" use cases; everything else would be a non-trivial enhancement. So I'm closing this bug.