all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cursor-invisible-mode
@ 2019-05-22 20:45 Juri Linkov
  2019-05-22 21:18 ` cursor-invisible-mode Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Juri Linkov @ 2019-05-22 20:45 UTC (permalink / raw)
  To: emacs-devel

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-22 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-22 20:45 cursor-invisible-mode Juri Linkov
2019-05-22 21:18 ` cursor-invisible-mode Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.