GNU bug report logs - #21874
`backward-char' can move point into minibuffer prompt by default

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Tue, 10 Nov 2015 23:28:01 UTC

Severity: wishlist

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #42 received at 21874 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Reitter <david.reitter <at> gmail.com>
Cc: 21874 <at> debbugs.gnu.org
Subject: Re: bug#21874: `backward-char' can move point into minibuffer
 prompt by default
Date: Tue, 15 Feb 2022 11:52:36 +0100
David Reitter <david.reitter <at> 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




This bug report was last modified 3 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.