From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Klimov Newsgroups: gmane.emacs.devel Subject: Re: patch for long options in dired-listing-switches Date: Wed, 8 Jun 2011 12:07:53 +0300 Message-ID: References: <1koc284w4i.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: dough.gmane.org 1307524728 1144 80.91.229.12 (8 Jun 2011 09:18:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2011 09:18:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 08 11:18:44 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QUEuS-0004fB-AO for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2011 11:18:44 +0200 Original-Received: from localhost ([::1]:36854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUEuQ-0003HT-Hw for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2011 05:18:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUEk9-00019F-4A for emacs-devel@gnu.org; Wed, 08 Jun 2011 05:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUEk3-0006zG-Cc for emacs-devel@gnu.org; Wed, 08 Jun 2011 05:08:04 -0400 Original-Received: from www.eitan.edu ([199.203.54.24]:51147 helo=eitan.edu) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QUEk2-0006yC-LJ for emacs-devel@gnu.org; Wed, 08 Jun 2011 05:07:59 -0400 Original-Received: (qmail 14526 invoked from network); 8 Jun 2011 09:07:53 -0000 Original-Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 8 Jun 2011 09:07:53 -0000 In-Reply-To: <1koc284w4i.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 199.203.54.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140294 Archived-At: On Wed, 8 Jun 2011, Glenn Morris wrote: > I wonder if it would be better to change the manual back to what it > used to be, since basically nowhere in the code is set up to handle > long options correctly, nor is it documented in the doc-string of > dired-listing-switches. It will certainly be easier to implement, but consider the user: the current version of `C-u s' (dired-sort-toggle-or-edit) asks for ls switches (must contain -l) and already makes the user frown upon a program that cannot add `-l' by itself, imagine that it says ls switches (must contain -l, no long options) and thus does not allow to use --time-style --group-directories-first --si and forces the user to remember the short equivalents for the rest of them. By the way, the documentation of dired-listing-switches does not say that the long options are supported, but it also does not say that they are not supported. -- Regards, ASK