all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cursor-intangible and rear-nonsticky t
@ 2021-04-05 15:26 JD Smith
  2021-04-05 16:47 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: JD Smith @ 2021-04-05 15:26 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]


I’m trying to make a bit of leading text (the ` …: ` continued block prompt in python shell) skippable, so that cursor navigation passes right by without entering it.  I used 'intangible at first and it works well.  Noticing Stefan’s concerns about 'intangible, I tried to switch to 'cursor-intangible with `cursor-intangible-mode' enabled.  But I encountered some strange issues:

If '(rear-nonsticky t) is among the text properties, the `pre-redisplay-functions' do not apparently get called, and so 'cursor-intangible fails to function.  
On MacOS ports, enabling `cursor-intangible-mode' causes the frame to aggressively regrab focus and re-raise when it loses focus.  This makes it unusable.

I expect the latter is a bug, but perhaps the former is expected? Thanks.

[-- Attachment #2: Type: text/html, Size: 1224 bytes --]

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

end of thread, other threads:[~2021-04-05 21:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-05 15:26 cursor-intangible and rear-nonsticky t JD Smith
2021-04-05 16:47 ` Stefan Monnier
2021-04-05 16:56   ` Stefan Monnier
2021-04-05 16:58   ` JD Smith
2021-04-05 17:01     ` Stefan Monnier
2021-04-05 18:02       ` JD Smith
2021-04-05 18:47         ` Stefan Monnier
2021-04-05 21:11           ` JD Smith
2021-04-05 21:30             ` 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.