unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: juri@jurta.org, teirllm@dms.auburn.edu, emacs-devel@gnu.org
Subject: Re: Avoiding moving point into minibuffer prompt area
Date: Fri, 19 Aug 2005 00:46:11 +0200	[thread overview]
Message-ID: <43050FB3.6030405@student.lu.se> (raw)
In-Reply-To: <E1E5rjJ-0000VY-E3@fencepost.gnu.org>

Richard M. Stallman wrote:

>    2) Do not show the message "Prompt is read-only" when Inviolable is on. 
>    It is just disturbing and unexpected in my opinion. It is simply the 
>    usual behavior for most applications that you are not able to delete the 
>    prompt.
>
>The command delete-backward-char is going to fail because the text is
>read-only.  What exactly do you suggest that it do?
>  
>
I would just like the point to stop where it is then.

This is how it normally works in other programs. I guess the problem we 
have with this here comes from the nature and history of Emacs. In a 
buffer with an input widget (like Custom buffers sometimes have) a 
message seems useful. In that case the boundary between the field and 
the area outside is a more hard to grasp in the beginning since you 
might expect Emacs to behave like other applications for such a page. 
The message is also shown in a not disturbing place - in the message 
area. Many applications use an area at the bottom for messages so it is 
not unexpected.

In a Custom buffer colors are also used to mark the input fields. This 
is rather easily recognized by most users I believe since this too is 
common. It can be shown more clearly than now, an inset frame has been 
standard long, but for the moment I think it is as good as it can be. 
(Maybe the colors could be different though. Gray most often is a symbol 
for text that can not be changed. In the Custom buffers this has been 
reversed. I would have choosen white for the editable fields and another 
color for the rest, probably not all gray. Preferable would in my 
opinion be the color the user have selected for the menubar, ie a system 
color.)

In the minibuffer there is by default (emacs -Q) no color that tells 
where the prompt ends. A colored background to the prompt could in my 
opinion be useful and I would suggest that it is on by default. In the 
minibuffer too the color symbols other states than in most other 
applications. Normally a message area is in the same color as the 
menubar. Input fields are most often white. Using the color symbolic 
that comes with the OS would to me make most sense. In this case that 
would mean that the prompt area would be in the color of the menu bar 
and the input area would be white. When there is no input area active 
the whole minibuffer window would have the color of the menubar.

Using a message for such a common case in the minibuffer is just 
disturbing and more so since it prints the message over the prompt (as I 
explained in an earlier message).

Such things would of course be customizeable. I do not know if the 
system colors currently can be used on different platforms. On text only 
systems I guess something similar could be done.

All my points above (in this long message, sorry) are geared towards 
making things less surprising for a beginner. I myself must have very 
good reasons to use any application that does not follow OS guidelines. 
I do use Gimp for example but I am highly irritated by its "creative" 
ways of doing very common things sometimes. (Even though I think very 
much very good work has been done to create the program itself.) I often 
even do not know if the strange GUI behaviour I see is by intention or 
if it is a bug.

  reply	other threads:[~2005-08-18 22:46 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=43050FB3.6030405@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=teirllm@dms.auburn.edu \
    /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).