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#9361: 24.0.50; default value of `dired-do-chmod' Date: Wed, 14 Sep 2011 14:20:58 +0300 Organization: JURTA Message-ID: <874o0fv085.fsf@mail.jurta.org> References: <03BC028E352D4173B985B3B34DF3193A@us.oracle.com> <87zkiyabea.fsf@mail.jurta.org> <1BDADB23B4434E0C9330F1B010F1E1CE@us.oracle.com> <87bouqlptn.fsf@stupidchicken.com> <87mxea55u8.fsf@mail.jurta.org> <877h5d1o9b.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315999544 25962 80.91.229.12 (14 Sep 2011 11:25:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2011 11:25:44 +0000 (UTC) Cc: 9361@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 14 13:25:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nb1-00009W-Pg for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 13:25:39 +0200 Original-Received: from localhost ([::1]:37324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nb0-0003lw-FN for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 07:25:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nay-0003ln-NR for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:25:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3nas-0005Mq-Ts for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:25:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nas-0005Mm-Pm for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:25:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R3nfG-0004d8-Nn; Wed, 14 Sep 2011 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Sep 2011 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9361 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 9361-submit@debbugs.gnu.org id=B9361.131599976317712 (code B ref 9361); Wed, 14 Sep 2011 11:30:02 +0000 Original-Received: (at 9361) by debbugs.gnu.org; 14 Sep 2011 11:29:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nec-0004bb-12 for submit@debbugs.gnu.org; Wed, 14 Sep 2011 07:29:23 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3neZ-0004bS-Gb for 9361@debbugs.gnu.org; Wed, 14 Sep 2011 07:29:20 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 71A0F6E805F; Wed, 14 Sep 2011 04:24:46 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4F395451C493; Wed, 14 Sep 2011 04:24:45 -0700 (PDT) In-Reply-To: <877h5d1o9b.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 12 Sep 2011 16:47:44 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Sep 2011 07:30:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:51144 Archived-At: > I fixed up `dired-mark-read-string'; that's much safer, since there are > only three callers to worry about. Thank you, it's now safer. There are still two problems: In `dired-do-chmod': > (modes (dired-mark-read-string > "Change mode of %s to: " > ;; Insert initial input if there's only one file. > (unless (cadr files) default) > 'chmod arg files default)) Please don't insert the default value as initial input. Most of the time, users type short symbolic modes that add/remove permissions on one user part such as "a=rw" or "go-w". It would be annoying for them to delete initial input before typing symbolic modes. Another problem in `dired-mark-read-string': > STANDARD-VALUE, if non-nil, should be a \"standard\" value or > list of such values, available via history commands. STANDARD-VALUE is non-standard terminology. According to `read-from-minibuffer' it's named DEFAULT-VALUE.