From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Dired: Improve symmetry in mark/unmark commands bound to keys Date: Sat, 24 Sep 2016 21:31:09 +0200 Message-ID: <877fa12iyq.fsf@linux-m68k.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474745511 25314 195.159.176.226 (24 Sep 2016 19:31:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 19:31:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 24 21:31:47 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnsfb-0004Nv-7s for ged-emacs-devel@m.gmane.org; Sat, 24 Sep 2016 21:31:31 +0200 Original-Received: from localhost ([::1]:35332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsfZ-0006Ec-LB for ged-emacs-devel@m.gmane.org; Sat, 24 Sep 2016 15:31:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsfO-00068k-3g for emacs-devel@gnu.org; Sat, 24 Sep 2016 15:31:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnsfI-0000FK-3W for emacs-devel@gnu.org; Sat, 24 Sep 2016 15:31:17 -0400 Original-Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:43076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsfH-0000El-Ts for emacs-devel@gnu.org; Sat, 24 Sep 2016 15:31:12 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3shL1p6rQjz3hkVc; Sat, 24 Sep 2016 21:31:10 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3shL1p6c9Vzvkc5; Sat, 24 Sep 2016 21:31:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id SiOT0xCRXcoD; Sat, 24 Sep 2016 21:31:09 +0200 (CEST) X-Auth-Info: yLXDV87hGAYfatWYG4LEc6v/nznBcqKPDZhtiEz74s7KkCsP3kv+VjoLotur889w Original-Received: from igel.home (ppp-88-217-22-91.dynamic.mnet-online.de [88.217.22.91]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 24 Sep 2016 21:31:09 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 981552C33A7; Sat, 24 Sep 2016 21:31:09 +0200 (CEST) X-Yow: Life is selling REVOLUTIONARY HAIR PRODUCTS! In-Reply-To: (Tino Calancha's message of "Sun, 25 Sep 2016 02:31:30 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:a60:0:28:0:1:25:1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207761 Archived-At: On Sep 25 2016, Tino Calancha wrote: > Let's see my new proposal: > > I) Add optional argument in 6) unflag-p to behave as the others. > II) Add a new command `dired-mark-or-unmark-extension', as > `dired-mark-extension' but, in interactive calls: > * A prefix argument _unmark_ files. > I propose to rebind '* .' to this command instead of the > `dired-mark-extension'. There is no need for dired-mark-or-unmark-extension, dired-mark-extension should to that already. Since the prefix argument has always been useless it is ok to change its meaning, and make it consistent with all other dired commands. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."