From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3619: Replace Rectangle can't do empty after first replace anymore Date: Sun, 28 Jun 2009 22:09:52 +0200 Message-ID: References: <0000134495@mail.outgesourced.org> Reply-To: Stefan Monnier , 3619@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246220268 11048 80.91.229.12 (28 Jun 2009 20:17:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2009 20:17:48 +0000 (UTC) Cc: 3619@emacsbugs.donarmstrong.com, "w.goesgens" To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 28 22:17:40 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ML0ok-0004FA-9M for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jun 2009 22:17:38 +0200 Original-Received: from localhost ([127.0.0.1]:42027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML0oj-0003MB-Kw for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jun 2009 16:17:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ML0oe-0003Jd-Pe for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 16:17:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ML0oa-0003Ep-3J for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 16:17:32 -0400 Original-Received: from [199.232.76.173] (port=43731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML0oZ-0003Ei-Ul for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 16:17:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54278) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ML0oZ-00042X-G3 for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 16:17:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5SKHOiw005540; Sun, 28 Jun 2009 13:17:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5SKF4AJ004899; Sun, 28 Jun 2009 13:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 28 Jun 2009 20:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3619 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3619-submit@emacsbugs.donarmstrong.com id=B3619.12462197994018 (code B ref 3619); Sun, 28 Jun 2009 20:15:04 +0000 Original-Received: (at 3619) by emacsbugs.donarmstrong.com; 28 Jun 2009 20:09:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp-04.vtx.ch (smtp-04.vtx.ch [212.147.0.65]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5SK9s8S004003 for <3619@emacsbugs.donarmstrong.com>; Sun, 28 Jun 2009 13:09:56 -0700 Original-Received: from alfajor.home (dyn.144-85-222-231.dsl.vtx.ch [144.85.222.231]) by smtp-04.vtx.ch (VTX Services SA) with ESMTP id D1FC129AE55; Sun, 28 Jun 2009 22:09:52 +0200 (CEST) Original-Received: by alfajor.home (Postfix, from userid 20848) id A02666433F; Sun, 28 Jun 2009 22:09:52 +0200 (CEST) In-Reply-To: (Glenn Morris's message of "Sun, 28 Jun 2009 13:56:14 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 28 Jun 2009 16:17:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29056 Archived-At: >> Actually, C-x r d is the equivalent (since C-x r k additionally stores >> the killed text on the kill ring). And yes, this was a known tradeoff >> when introducing the new behavior in Emacs-22. > I looked briefly at this, and found it surprising that `read-string' > offers no way to reject the default value in favour of an empty > string. `read-from-minibuffer', on the other hand, does. I don't know what you're referring to: in which way does read-from-minibuffer let you distinguish between "the user wanted the empty string" and "the user wanted the default value"? Stefan