From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#12399: 24.2.50; dired-do-touch doesn't recognize empty input in minibuffer Date: Sat, 15 Sep 2012 01:59:31 +0300 Organization: JURTA Message-ID: <87627g5jfw.fsf@mail.jurta.org> References: <878vciakcd.fsf@mail.jurta.org> <87k3w01v1y.fsf@altern.org> <87sjao5r1y.fsf@mail.jurta.org> <87627k41rj.fsf@mail.jurta.org> <87r4q5cww2.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347664368 11463 80.91.229.3 (14 Sep 2012 23:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 23:12:48 +0000 (UTC) To: 12399@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 15 01:12:52 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCf48-0005Ae-6n for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Sep 2012 01:12:52 +0200 Original-Received: from localhost ([::1]:43529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCf44-0005Eh-BT for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 19:12:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCf41-0005EK-O9 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:12:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCf40-0007wd-QE for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:12:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCesi-0003e8-Qs for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:01:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCetf-0006rB-NF for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:02:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 23:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12399-submit@debbugs.gnu.org id=B12399.134766368626297 (code B ref 12399); Fri, 14 Sep 2012 23:02:03 +0000 Original-Received: (at 12399) by debbugs.gnu.org; 14 Sep 2012 23:01:26 +0000 Original-Received: from localhost ([127.0.0.1]:34427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCet2-0006q2-Fg for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:01:25 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:55117 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCesx-0006ps-T9 for 12399@debbugs.gnu.org; Fri, 14 Sep 2012 19:01:20 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5FF9D451CC45 for <12399@debbugs.gnu.org>; Fri, 14 Sep 2012 16:00:19 -0700 (PDT) In-Reply-To: <87r4q5cww2.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 14 Sep 2012 02:42:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64326 Archived-At: >>> There's another way to do that: check (eq val default), since the >>> returned value will be `eq' to the `default' if the minibuffer was >>> empty, whereas if it comes from a non-empty minibuffer it will at best >>> be `equal'. >> >> I tried this in the following patch and it works. > > Installed. I noticed the same problem in `dired-do-chmod' and fixed it the same way.