unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Avoiding moving point into minibuffer prompt area
@ 2005-08-16  1:29 Lennart Borgman
  2005-08-16  1:53 ` Luc Teirlinck
                   ` (2 more replies)
  0 siblings, 3 replies; 48+ messages in thread
From: Lennart Borgman @ 2005-08-16  1:29 UTC (permalink / raw)


I think it is quite confusing that you can move the point into the 
prompt area in the minibuffer. Why don't we use something like the code 
below to avoid this:

(defun minibuff-post-command()
  (when (active-minibuffer-window)
    (when (< (point) (minibuffer-prompt-end))
      (forward-char (- (minibuffer-prompt-end) (point))))))

(add-hook 'post-command-hook 'minibuff-post-command)

^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2005-08-22  5:02 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16  1:29 Avoiding moving point into minibuffer prompt area Lennart Borgman
2005-08-16  1:53 ` Luc Teirlinck
2005-08-16  4:07   ` Drew Adams
2005-08-16  5:10     ` Luc Teirlinck
2005-08-16 14:23       ` Drew Adams
2005-08-16 14:49         ` Luc Teirlinck
2005-08-16  5:15     ` Luc Teirlinck
2005-08-16  4:13 ` Luc Teirlinck
2005-08-16  4:51   ` Drew Adams
2005-08-16 16:34     ` David Reitter
2005-08-16 17:57       ` Luc Teirlinck
2005-08-16 18:27         ` Lennart Borgman
2005-08-16 19:12           ` Luc Teirlinck
2005-08-16 21:54             ` Lennart Borgman
2005-08-16 22:09               ` Luc Teirlinck
2005-08-16 22:29                 ` Lennart Borgman
2005-08-17  3:05             ` Drew Adams
2005-08-17  3:53               ` Luc Teirlinck
2005-08-17  3:59               ` Luc Teirlinck
2005-08-17 15:52               ` Richard M. Stallman
2005-08-18  5:44                 ` Drew Adams
2005-08-16 21:34         ` David Reitter
2005-08-16 19:52     ` Randal L. Schwartz
2005-08-17  3:07       ` Drew Adams
2005-08-17  3:13         ` Randal L. Schwartz
2005-08-17  3:17           ` Drew Adams
2005-08-16 20:43     ` Richard M. Stallman
2005-08-16  9:04   ` Lennart Borgman
2005-08-16  9:59     ` Juri Linkov
2005-08-16 10:49       ` Lennart Borgman
2005-08-16 11:27         ` Juri Linkov
2005-08-16 11:46           ` Lennart Borgman
2005-08-16 20:43         ` Richard M. Stallman
2005-08-16 22:15           ` Lennart Borgman
2005-08-17 15:51             ` Richard M. Stallman
2005-08-17 16:12               ` Lennart Borgman
2005-08-18 21:15                 ` Richard M. Stallman
2005-08-18 22:46                   ` Lennart Borgman
2005-08-19 23:07                     ` Richard M. Stallman
2005-08-19 23:55                       ` Lennart Borgman
2005-08-22  5:01                         ` Richard M. Stallman
2005-08-22  5:02                         ` Richard M. Stallman
2005-08-16 20:43       ` Richard M. Stallman
2005-08-16 13:57     ` Luc Teirlinck
2005-08-16 14:15       ` Lennart Borgman
2005-08-16 18:29 ` Richard M. Stallman
2005-08-17  9:01   ` Emilio Lopes
2005-08-17 11:14     ` Lennart Borgman

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