From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Patch: Follow convention for reading with the minibuffer. Date: Tue, 06 Sep 2005 16:01:05 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126038957 27907 80.91.229.2 (6 Sep 2005 20:35:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2005 20:35:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 22:35:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECk9Q-0003Lz-D2 for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2005 22:34:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECkCG-00014j-Hq for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2005 16:37:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ECkAK-0000Uj-6H for emacs-devel@gnu.org; Tue, 06 Sep 2005 16:35:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ECkAI-0000U9-ER for emacs-devel@gnu.org; Tue, 06 Sep 2005 16:35:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECk1w-0005uL-A2 for emacs-devel@gnu.org; Tue, 06 Sep 2005 16:26:56 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ECjh8-0001Kd-4L for emacs-devel@gnu.org; Tue, 06 Sep 2005 16:05:26 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 027972CF594; Tue, 6 Sep 2005 16:01:15 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id F12AA4AC00D; Tue, 6 Sep 2005 16:01:05 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id DED86E6BD3; Tue, 6 Sep 2005 16:01:05 -0400 (EDT) Original-To: Emilio Lopes In-Reply-To: (Emilio Lopes's message of "Tue, 06 Sep 2005 20:01:07 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.845, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:42671 Archived-At: > * When you mention a default value in a minibuffer prompt, put it > and the word `default' inside parentheses. It should look like > this: > Enter the answer: (default 42) Yuck! I *much* prefer Enter the answer (default 42): which is what is used by pretty much everything except for C-x b (where the default is after the colon by "accident" AFAICT). Stefan PS: Actually I even prefer Enter the answer [42]: because minibuffer width is limited. I guess I should write a variant of minibuffer-electric-default-mode which rewrites the (default foo) into [foo].