From: Stefan Monnier <monnier@iro.umontreal.ca>
To: JD Smith <jdtsmith@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: cursor-intangible and rear-nonsticky t
Date: Mon, 05 Apr 2021 14:47:19 -0400 [thread overview]
Message-ID: <jwvtuoklglm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <30A8CCBF-C1E0-46F5-A07A-4A4169406C8A@gmail.com> (JD Smith's message of "Mon, 5 Apr 2021 14:02:06 -0400")
>>> I believe `comint-output-filter` is the one responsible for setting
>>> `rear-nonsticky t` across the entire prompt:
>>>
>>> (let ((prompt-start (save-excursion (forward-line 0) (point)))
>>> (inhibit-read-only t))
>>> ...
>>> (add-text-properties prompt-start (point) '(rear-nonsticky t)))
>>
>> That's unfortunate. Deserves a bug report, methinks.
>
> Will do. Between that and the focus-grabbing on MacOS ports, plain old
> ‘intangible is looking better and better.
The problem above is easy to workaround until the problem is fixed
upstream (by overriding comint's `rear-nonsticky` property with your
own). For the MacOS issue, I have no idea: maybe it'll be difficult to
workaround, or maybe it's specific to unusual setups (really, I'm at
pains to imagine how `cursor-intangible-mode` can cause the problems you
describe, so I'd tend to suspect an interaction with some wild-west
package doing dangerous things).
> It also doesn’t seem to care about over-generous application of
> ‘rear-nonsticky t.
It has its share of brokenness, don't worry ;-)
Stefan
next prev parent reply other threads:[~2021-04-05 18:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2021-04-05 21:11 ` JD Smith
2021-04-05 21:30 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvtuoklglm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jdtsmith@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.