unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexander Klimov <alserkli@inbox.ru>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: patch for long options in dired-listing-switches
Date: Wed, 8 Jun 2011 12:07:53 +0300	[thread overview]
Message-ID: <TheMailAgent.c2ed7c21b5b814@41e6a3147a004da91f67> (raw)
In-Reply-To: <1koc284w4i.fsf@fencepost.gnu.org>

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



  reply	other threads:[~2011-06-08  9:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31  8:07 patch for long options in dired-listing-switches Alexander Klimov
2011-05-31  8:52 ` Eli Zaretskii
2011-05-31  9:27   ` Alexander Klimov
2011-05-31  9:43     ` Eli Zaretskii
2011-06-08  7:31 ` Glenn Morris
2011-06-08  9:07   ` Alexander Klimov [this message]
2011-06-08 16:30     ` Glenn Morris
2011-06-09  6:08 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TheMailAgent.c2ed7c21b5b814@41e6a3147a004da91f67 \
    --to=alserkli@inbox.ru \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).