[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21874: `backward-char' can move point into minibuffer prompt by defa
From: |
Lars Ingebrigtsen |
Subject: |
bug#21874: `backward-char' can move point into minibuffer prompt by default |
Date: |
Tue, 15 Feb 2022 11:52:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
David Reitter <david.reitter@gmail.com> writes:
> Setting minibuffer-prompt-properties to the new `cursor-intangible'
> fixes the cursor movement issue and C-x h.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
`C-x h' only copies the bit after the prompt in Emacs 28.
>> (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
>
> A user might do this for other reasons and might find the
> side-effect unexpected.
>
> Note that setting minibuffer-prompt-properties via Custom will
> automatically do this `add-hook' when needed.
Skimming this bug report, I think everything here works as designed, and
I'm therefore closing it.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#21874: `backward-char' can move point into minibuffer prompt by default,
Lars Ingebrigtsen <=