From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: minibuffer-eldef Date: 03 Jun 2004 08:21:43 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040529213132.GA31322@fencepost> <873c5hd35q.fsf@mail.jurta.org> <8765aadbgb.fsf@mail.jurta.org> <20040602071529.GA21505@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086265334 19813 80.91.224.253 (3 Jun 2004 12:22:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2004 12:22:14 +0000 (UTC) Cc: juri@jurta.org, wl@gnu.org, emacs-devel@gnu.org, rms@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 03 14:22:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVrES-0002n0-00 for ; Thu, 03 Jun 2004 14:22:04 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVrES-0006rx-00 for ; Thu, 03 Jun 2004 14:22:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVrEn-0004Kb-1N for emacs-devel@quimby.gnus.org; Thu, 03 Jun 2004 08:22:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVrEj-0004KJ-VE for emacs-devel@gnu.org; Thu, 03 Jun 2004 08:22:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVrEj-0004K3-75 for emacs-devel@gnu.org; Thu, 03 Jun 2004 08:22:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVrEj-0004K0-3I for emacs-devel@gnu.org; Thu, 03 Jun 2004 08:22:21 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVrE9-0003je-Ni; Thu, 03 Jun 2004 08:21:45 -0400 Original-Received: from empanada.local ([67.70.165.15]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040603122141.JGVV28088.simmts8-srv.bellnexxia.net@empanada.local>; Thu, 3 Jun 2004 08:21:41 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id 510D12267E4; Thu, 3 Jun 2004 08:21:44 -0400 (EDT) Original-To: David Kastrup In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24471 > The right way to do this would be to display the default value right > in the text entry box in a special color. If delete-selection-mode is > enabled, the natural choice would be to just paste the default value > into the text entry box and have it selected. I agree that it would make sense, especially since it is what many people using delete-selection-mode are already accustomed to. But it is less general, as can be seen in the recent discussion of M-%: the default displayed in the prompt shows both `from' and `to' strings whereas the prompt is only asking the user to enter the `from' string. I think this "discrepency" doesn't cause the slightest problem when the default is put in a "(default FOO)" annotation in the prompt, whereas it would be slightly confusing if it were put in the text field. Stefan