|
From: | Kaushal Modi |
Subject: | bug#21874: 25.0.50; point-entered no longer works |
Date: | Wed, 23 Mar 2016 17:38:10 -0400 |
(defalias 'turn-on-cursor-intangible-mode #'cursor-intangible-mode)
would work just as well. Better yet: just use `cursor-intangible-mode'
instead and skip turn-on-cursor-intangible-mode altogether, since it's
just redundant.
> Also, would it be wise to enable cursor-intangible-mode globally? If not,
> how can we have that mode always enabled in the minibuffer?
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
I personally like the fact that I can occasionally move into the prompt
and copy portions of it like any other chunk of text, so I think we
should generally (by default) refrain from making text intangible except
when *really* needed.
PS: What's with the `point-entered' in the subject?
(setq minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt))
--The secondary question I believe is how to get the above to work in emacs 25.1 (even though point-entered and minibuffer-avoid-prompt are obsolete).@David The fact that the below get the behavior you want, would you consider this bug as closed?(progn(setq minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt))(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode))
[Prev in Thread] | Current Thread | [Next in Thread] |