From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Miles Bader <miles@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: filling in the minibuffer
Date: Sat, 21 Aug 2004 21:38:32 -0400
Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Message-ID: <20040822013832.GA22719@fencepost>
References: <87d61rgvp3.fsf@emacswiki.org>
	<E1BxFLz-0003WZ-AO@fencepost.gnu.org>
	<87pt5k66dp.fsf@emacswiki.org>
	<87n00o0ybu.fsf-monnier+emacs@gnu.org>
NNTP-Posting-Host: deer.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1093138748 31176 80.91.224.253 (22 Aug 2004 01:39:08 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Sun, 22 Aug 2004 01:39:08 +0000 (UTC)
Cc: emacs-devel@gnu.org, rms@gnu.org, Alex Schroeder <alex@emacswiki.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 03:39:01 2004
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Original-Received: from lists.gnu.org ([199.232.76.165])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ByhK0-0006RX-00
	for <ged-emacs-devel@m.gmane.org>; Sun, 22 Aug 2004 03:39:00 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1ByhOO-0006lr-CT
	for ged-emacs-devel@m.gmane.org; Sat, 21 Aug 2004 21:43:32 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1ByhO5-0006g7-VO
	for emacs-devel@gnu.org; Sat, 21 Aug 2004 21:43:14 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1ByhO5-0006fn-7y
	for emacs-devel@gnu.org; Sat, 21 Aug 2004 21:43:13 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1ByhO5-0006fU-3W
	for emacs-devel@gnu.org; Sat, 21 Aug 2004 21:43:13 -0400
Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1ByhJg-0007zl-IS
	for emacs-devel@gnu.org; Sat, 21 Aug 2004 21:38:40 -0400
Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34)
	id 1ByhJY-00066b-QV; Sat, 21 Aug 2004 21:38:32 -0400
Original-To: Stefan Monnier <monnier@iro.umontreal.ca>
Content-Disposition: inline
In-Reply-To: <87n00o0ybu.fsf-monnier+emacs@gnu.org>
User-Agent: Mutt/1.3.28i
Blat: Foop
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.devel:26390
X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26390

On Sat, Aug 21, 2004 at 09:14:07PM -0400, Stefan Monnier wrote:
> >> Maybe move-to-left-margin should stop at field boundaries?  I'm not
> >> sure this is the correct solution...
> >> 
> >> It would make sense for move-to-left-margin to special-case
> >> the minibuffer and treat the end of the prompt as the left margin.
> 
> I disagree.  The same problem can most likely happen in
> a (non-mini)buffer.

I agree -- I think it's almost always the case that a field check is better
than a minibuffer check, because exactly the same situation can occur in
other applications of fields (e.g., comint, custom, etc).

BTW, filling in the minibuffer with fields did use to work correctly (I made
sure it was the case when I originally added the field code).

-Miles
-- 
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over.  --Ian Wolff