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#70622: [PATCH] New window parameter 'cursor-type' Date: Thu, 09 May 2024 10:44:30 +0300 Message-ID: <86jzk377kx.fsf@gnu.org> References: <864jbmuf39.fsf@gnu.org> <8634r5tsit.fsf@gnu.org> <86y18wsmqy.fsf@gnu.org> <86cyq8sfif.fsf@gnu.org> <0519d8d8-2a3d-411a-a5bb-b556e0fb86db@gmx.at> <868r0ws9u1.fsf@gnu.org> <867cgfqcbn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31904"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 70622@debbugs.gnu.org To: me@eshelyaron.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 09:45:55 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 1s4yTS-0008EG-Ts for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 09:45:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4yTP-0004Ov-BP; Thu, 09 May 2024 03:45:51 -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 1s4yTA-0004OB-TJ for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:45:38 -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 1s4yTA-0007bt-Kh for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:45:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4yTa-0004E9-GD for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:46: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: Thu, 09 May 2024 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70622-submit@debbugs.gnu.org id=B70622.17152407077896 (code B ref 70622); Thu, 09 May 2024 07:46:02 +0000 Original-Received: (at 70622) by debbugs.gnu.org; 9 May 2024 07:45:07 +0000 Original-Received: from localhost ([127.0.0.1]:53751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4ySg-00021f-ED for submit@debbugs.gnu.org; Thu, 09 May 2024 03:45:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4ySd-0001hc-NA for 70622@debbugs.gnu.org; Thu, 09 May 2024 03:45:04 -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 1s4yS7-0007GY-Kt; Thu, 09 May 2024 03:44:31 -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=aBApUGBa0jfUXWVNJPzHzTYC2cF6Nj/6yPUB1ot4dwA=; b=AoQLgESX7weV odGnhZ/MbcsoDnHmyfngmH0OZ7NIx09+b9e5h5EIQldbkvqWlV29cDKXH9cfQLvo8D+ugRvBimElc C90GZt3EBGWE45UEXzBC45q341jMEFQ/4cEx9JwQY/TDlzuquFoJ8AHrZ01F4fKkD2QETwu6Nx3yb nQbpbX6N7Qi69Kcj2WP/fsnOVLrxOIH/ChNZsyVLxvODit5C3zZEatKR/50Mt3XlShAhaEGIA2aPg ccof3MvN7ff52MDDyiNOcorMGxz0l789QYnuxn2xZSq9hVVYk8uyPexGSPegV8y0kr+tmMKxojMJo NPo3ZuIYFyAbumfov44AMA==; In-Reply-To: <867cgfqcbn.fsf@gnu.org> (message from Eli Zaretskii on Tue, 30 Apr 2024 15:12:12 +0300) 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:284735 Archived-At: > Cc: me@eshelyaron.com, 70622@debbugs.gnu.org > Date: Tue, 30 Apr 2024 15:12:12 +0300 > From: Eli Zaretskii > > > Date: Tue, 30 Apr 2024 11:03:44 +0200 > > Cc: me@eshelyaron.com, 70622@debbugs.gnu.org > > From: martin rudalics > > > > > So that cursor-type is no longer a window-parameter? > > > > Yes. IIUC it would mean that we have to initialize the cursor_type slot > > of a new window to t. With the window parameter solution one would have > > to add a new 'cursor-type' parameter with a value of t whenever making a > > new window. This would break with the convention that non-nil window > > parameters are used for handling "special" behaviors only. > > I'm fine with this approach, thanks. It will also solve nicely the > problem of redisplaying the affected window ASAP. Eshel, could you please update your patch along these lines? Thanks.