unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: 21874@debbugs.gnu.org
Subject: bug#21874: 25.0.50; point-entered no longer works
Date: Wed, 23 Mar 2016 16:06:29 -0400	[thread overview]
Message-ID: <CAFyQvY1wwXTE4mtHoEOYKwm+bsnshsMJYvuQXVgbsPyA5yucGA@mail.gmail.com> (raw)
In-Reply-To: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

I confirm this bug in the latest build of emacs-25 branch.

I can confirm that evaluating below:

(setq minibuffer-prompt-properties '(read-only t  point-entered
minibuffer-avoid-prompt face minibuffer-prompt))

"does the right thing" in the minibuffer in emacsen 24.3, 24.4 and 24.5.

That is, arrow key navigation and C-x h does not enter the part of the
minibuffer that should be read-only.

To test it,

1. emacs -Q
2. C-x C-f
3. Pressing left arrow key will take the cursor to the left most area
within the read-only area "Find file:"
4. Now evaluate "(setq minibuffer-prompt-properties '(read-only t
 point-entered minibuffer-avoid-prompt face minibuffer-prompt))"
5. C-x C-f
6. Now the cursor will stop to the right of the colon in "Find file:" when
the left arrow key is kept pressed.

Note that above works as expected in emacsen 24.3, 24.4 and 24.5.

But it does NOT work in the latest build of emacs-25 branch. On emacs-25
build, instead of Step 6 behavior, we see Step 3 behavior. Setting
point-entered does nothing.



--
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1475 bytes --]

  reply	other threads:[~2016-03-23 20:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10 23:27 bug#21874: 25.0.50; point-entered no longer works David Reitter
2016-03-23 20:06 ` Kaushal Modi [this message]
2016-03-23 20:30   ` Kaushal Modi
2016-03-23 21:28     ` Stefan Monnier
2016-03-23 21:38       ` Kaushal Modi
2016-03-23 21:55         ` Kaushal Modi
2016-03-24  0:27           ` Stefan Monnier
2016-03-24  2:14         ` David Reitter
2016-05-22  2:13 ` Paul Eggert
2022-02-15 10:52 ` bug#21874: `backward-char' can move point into minibuffer prompt by default Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY1wwXTE4mtHoEOYKwm+bsnshsMJYvuQXVgbsPyA5yucGA@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=21874@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).