From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Avoiding moving point into minibuffer prompt area Date: Tue, 16 Aug 2005 13:46:50 +0200 Message-ID: <4301D22A.9050408@student.lu.se> References: <43014167.5000109@student.lu.se> <200508160413.j7G4Dt106348@raven.dms.auburn.edu> <4301AC2B.7040104@student.lu.se> <87ll3288tb.fsf@jurta.org> <4301C4C5.5020608@student.lu.se> <877jem15q8.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124195865 15586 80.91.229.2 (16 Aug 2005 12:37:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2005 12:37:45 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 16 14:37:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E50fu-0003pD-NJ for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 14:36:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E50jK-0002q0-Hx for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 08:39:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E504x-0007mt-7H for emacs-devel@gnu.org; Tue, 16 Aug 2005 07:58:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E504q-0007lJ-PZ for emacs-devel@gnu.org; Tue, 16 Aug 2005 07:58:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E504p-0007U7-GR for emacs-devel@gnu.org; Tue, 16 Aug 2005 07:57:55 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E509r-00081Q-63 for emacs-devel@gnu.org; Tue, 16 Aug 2005 08:03:07 -0400 Original-Received: from [192.168.123.121] (83.249.200.157) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 42B937170087C02D; Tue, 16 Aug 2005 13:46:55 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Juri Linkov In-Reply-To: <877jem15q8.fsf@jurta.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42118 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42118 Juri Linkov wrote: >>>It is useful to move point into the minibuffer prompt without >>>changing default settings. But since this can be confusing for >>>beginners, maybe it should be more difficult to move point into the >>>prompt area by default? For example, to disable moving point into >>>the prompt with C-b, but allow C-a at the beginning of the input >>>area to move point to the beginning of the prompt. This is like C-a >>>(`message-beginning-of-line') works on message header fields. >>> >>> >>> >>Could be an idea, sounds consistent and not to surprising perhaps. But >>it seems easier to change the default for "Inviolable". >> >> > >Instead of changing the default, please try to find a solution that >will please as much the beginners as the seasoned Emacs users. > > Well, I am trying, it is not very easy all the time ;-) Combining what we have said so far I think this could be reasonable and useful: 1) Change the default (sorry ;-) 2) Let C-a move first to the beginning of the input area 3) Let more C-a move between beginning of the prompt and input area (toggle so to say) For this to actually work I guess 3 also would toggle Inviolable temporary. Does this way seems reasonable to you? > > >>BTW the message "Text is readonly" is also confusing when "Inviolable" >>is set. You expect the prompt to be readonly and the message is >>disturbing when you delete character by character and then suddenly this >>text appears over the prompt. The first time you see this you may think >>that something is very wrong, at least that is what I did. >> >> > >What do you expect in this situation? Trying to delete a character at >bob prints the message "Beginning of buffer". Perhaps it should print >something like "Beginning of prompt input area" in the minibuffer. > > I would expect no message at all in this situation. In my opinion that would be better. Alternatively perhaps "You are at the beginning of the input area - to move into the prompt area use C-a".