From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: cursor-invisible-mode Date: Wed, 22 May 2019 23:45:05 +0300 Organization: LINKOV.NET Message-ID: <87v9y29q0i.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="229263"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 22 23:08:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTYTh-000xUu-D4 for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 23:08:50 +0200 Original-Received: from localhost ([127.0.0.1]:51427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTYTg-0006sl-2M for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 17:08:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTYR6-0004bf-SH for emacs-devel@gnu.org; Wed, 22 May 2019 17:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTYC0-0002Nz-4g for emacs-devel@gnu.org; Wed, 22 May 2019 16:50:33 -0400 Original-Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:26077) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTYBz-0002NS-R1 for emacs-devel@gnu.org; Wed, 22 May 2019 16:50:32 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 22C2C1424D0 for ; Wed, 22 May 2019 20:50:30 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (100-96-95-11.trex.outbound.svc.cluster.local [100.96.95.11]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 584E41420AF for ; Wed, 22 May 2019 20:50:29 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 22 May 2019 20:50:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Name-Scare: 49949c7d69b05893_1558558229865_1336942840 X-MC-Loop-Signature: 1558558229864:3226313952 X-MC-Ingress-Time: 1558558229864 Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTP id 2676980941 for ; Wed, 22 May 2019 13:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=ehMUk9gDnJqcE/GH1/R4zP05Da8=; b=DaNBTIzbLdmXmX3lp N6LaQ7UqIqUBMbRAowQAaBjTCcAz/KtTjMKuQlkWFykC08S5TDFB3zD2br2DYhyp DKaM2I1VC5DO1HLRRMewOQ3Z4mXATNJxhS9dHw9EldKyjZJFZOrl+5EskSITRG2F ShC/I87mRBjutv4BEIRZGWojhs= Original-Received: from mail.jurta.org (m91-129-96-230.cust.tele2.ee [91.129.96.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTPSA id CB06C80934 for ; Wed, 22 May 2019 13:50:25 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a10 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudduvddgudehiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucffohhmrghinhepghhnuhdrohhrghenucfkphepledurdduvdelrdeliedrvdeftdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrvdeftddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.38 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236912 Archived-At: There is cursor-intangible-mode in cursor-sensor.el, but I wonder why it has no cursor-invisible-mode? When implemented it could treat the text that has the 'invisible' property by expanding when cursor moves inside, and then contracting when it's out again like is demonstrated in https://debbugs.gnu.org/35624#104 Another case where such mode could help that comes to mind is the grep-find-abbreviate feature, where instead of pushing the button to expand/contract the hidden part enabling cursor-invisible-mode could expand/contract it when the cursor moves inside. Maybe also cursor-invisible-mode could simplify the handling of 'open' value of 'search-invisible' in isearch, not sure about that.