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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: David Reitter <david.reitter <at> gmail.com>, 21874 <at> debbugs.gnu.org
Subject: bug#21874: 25.0.50; point-entered no longer works
Date: Wed, 23 Mar 2016 20:27:36 -0400
>     (setq minibuffer-prompt-properties '((read-only t)
>                                          (cursor-intangible t)
>                                          (face minibuffer-prompt)))
>
> The user then needs to add just one line to their config if they want to
> make the minibuffer prompts untouchable.

I kind of find it a poor choice, since it sets a property which just
happens to be unused.

>     (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.


        Stefan




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.