From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: improving query-replace and query-replace-regexp Date: Wed, 02 Jun 2004 13:37:07 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040528.182035.197345599.wl@gnu.org> <87k6yvorzf.fsf@mail.jurta.org> <20040529213132.GA31322@fencepost> <873c5hd35q.fsf@mail.jurta.org> <20040602000401.GA20242@fencepost> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086198007 26623 80.91.224.253 (2 Jun 2004 17:40:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2004 17:40:07 +0000 (UTC) Cc: juri@jurta.org, wl@gnu.org, emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 02 19:39:44 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 1BVZiK-0006dg-00 for ; Wed, 02 Jun 2004 19:39:44 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVZiK-00067v-00 for ; Wed, 02 Jun 2004 19:39:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVZib-0002k9-MA for emacs-devel@quimby.gnus.org; Wed, 02 Jun 2004 13:40:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVZgg-0001gK-Tb for emacs-devel@gnu.org; Wed, 02 Jun 2004 13:38:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVZgf-0001fC-AK for emacs-devel@gnu.org; Wed, 02 Jun 2004 13:38:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVZgc-0001Ya-Mt for emacs-devel@gnu.org; Wed, 02 Jun 2004 13:38:01 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVZfo-00006Y-4U for emacs-devel@gnu.org; Wed, 02 Jun 2004 13:37:08 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BVZfn-0006WT-Nu; Wed, 02 Jun 2004 13:37:07 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 01 Jun 2004 20:10:59 -0400) 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:24418 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24418 > The standard emacs syntax for prompt defaults seems to be "(default ...)"; is > there any reason to use some different syntax here? [I know, things are not > exactly consistent as it is, but let's not make it worse.] I've seen both (default foo) and [foo] used and I personally prefer the second form because it is shorter. The standard for Emacs is (default foo). There may be some nonstandard functions that use [foo], due to imperfect quality control, but we should stick to the standard (unless we decide to change it).