emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cursor-intangible and rear-nonsticky t


From: JD Smith
Subject: cursor-intangible and rear-nonsticky t
Date: Mon, 5 Apr 2021 11:26:58 -0400


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:

  1. 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.  
  2. 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]