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#71163: Cursor can disappear off the window if no-special-glyphs is enabled Date: Sat, 25 May 2024 13:26:09 +0300 Message-ID: <86h6emyypq.fsf@gnu.org> References: <86v8333ccs.fsf@gnu.org> <0c858561-45a2-4737-942f-c205a1b06fb0@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8325"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71163-done@debbugs.gnu.org, mail@emreyolcu.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 12:27:30 2024 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 1sAocb-000202-DE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 12:27:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAocE-0002jq-7O; Sat, 25 May 2024 06:27:06 -0400 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 1sAoc7-0002iq-7i for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 06:26:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAoc4-0006ZF-1P for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 06:26:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAocA-0000AW-QK for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 06:27:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71163 X-GNU-PR-Package: emacs Mail-Followup-To: 71163@debbugs.gnu.org, eliz@gnu.org, mail@emreyolcu.com Original-Received: via spool by 71163-done@debbugs.gnu.org id=D71163.1716632788562 (code D ref 71163); Sat, 25 May 2024 10:27:02 +0000 Original-Received: (at 71163-done) by debbugs.gnu.org; 25 May 2024 10:26:28 +0000 Original-Received: from localhost ([127.0.0.1]:42626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAobc-00008y-3B for submit@debbugs.gnu.org; Sat, 25 May 2024 06:26:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAobZ-00008c-G9 for 71163-done@debbugs.gnu.org; Sat, 25 May 2024 06:26:26 -0400 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 1sAobM-0006VJ-5S; Sat, 25 May 2024 06:26:12 -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=iQ709Pa2W5q+zZhYrw2BeLYV3xaHYyPCrB0njZU3Wn8=; b=GiGH1AQQ0+aV zihVt5c1EM6JPjx3mnIZXw3ioqVGH9JJe5ZNNRyF81CAUTC0sNjrhLITptQ17ne2ZZyqhColcRVwc Ik89UxGD+3JmZoVJG2BcfxDPHboYQQsc/3ubMyQRTlVjZJEC5LG8sFG0KO2YUqD93Tq5RYDwF+GPk ZxhNWJP8+V9xifclHJK++Qu8KBb62LfMFTyADg1UwZZo9IReQ/wNC146tWw1VP4jTpWst5uuiGhQz 4OoqBWa/H7O8z3LHNAKRzgbiQwQLHO69f+DLq880kXRruw3CukmL43JxHR78gdC18Y4Ln8ssRVb+U dxdHIglb3RVEi+k5jHTy8g==; In-Reply-To: <0c858561-45a2-4737-942f-c205a1b06fb0@gmx.at> (message from martin rudalics on Fri, 24 May 2024 11:16:36 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285852 Archived-At: > Date: Fri, 24 May 2024 11:16:36 +0200 > Cc: 71163@debbugs.gnu.org > From: martin rudalics > > > . it only has effect on GUI frames (basically, the code ignores this > > parameter on TTY frames), although the documentation doesn't say > > that, and I see no immediate reason why it wouldn't make sense on > > TTY frames; > > We neither had child frames nor tooltip frames on TTYs when this feature > was introduced. Did this change in the meantime? No. But the manual doesn't mention child frames at all, in conjunction with this parameter. > > . it doesn't affect the display of fringe truncation and > > continuation bitmaps, although the documentation doesn't say that, > > either, and it is not clear to me that those bitmaps should be > > displayed in that case; > > Fringes should not be shown on such frames. > > > . not only display of cursor in full-window lines is broken, but > > also the automatic horizontal scrolling (auto-hscroll-mode) in > > that case: the line is not hscrolled until you type one more > > character beyond those visible; > > Neither of these are supported by this feature. > > > . if you insert a TAB near the end of a screen line such that the > > next tab stop is on the next screen line, the TAB is shown with > > wrong number of columns, as if the next tab stop is at column zero > > of the next screen line. > > Interactive insertion is not supported either. > > > The last 2 points, and the report that started this bug discussion, > > are because the logic of line-continuation and truncation is basically > > broken in this case: the layout code thinks the continuation and > > truncation glyphs are inserted when needed, whereas they are not. > > That's because the layout code was not adapted to this frame > > parameter, only the geometry of the screen line was adjusted. > > > > Fixing this will take a while. But first we need to understand and > > agree on the scope of support for this frame parameter, and what Emacs > > should do in each supported case. > > Turning off special glyphs is a pure presentation feature. The variable > 'show-paren--context-child-frame-parameters' tells best what should be > turned off too on any frames where it is used - such frames should never > be switched to, should not show a cursor, decorations and the like. So basically you are saying that this parameter is an internal feature meant to allow better implementation of certain types of frames on GUI displays? > Feel free to add an appropriate explanation to the manual. Thanks, now done, and closing the bug.