unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
@ 2011-08-14 19:41 jidanni
  2011-09-11  2:29 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: jidanni @ 2011-08-14 19:41 UTC (permalink / raw)
  To: 9301

s runs the command dired-sort-toggle-or-edit, which is an interactive
compiled Lisp function in `dired.el'.

it says
ls switches (must contain -l): -al

Say instead
ls switches (must contain one of -log): -al ... or clearer:
ls switches (must contain -l or -o or -g): -al





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-08-14 19:41 bug#9301: dired-sort-toggle-or-edit should also mention -o and -g jidanni
@ 2011-09-11  2:29 ` Lars Magne Ingebrigtsen
  2011-09-11  7:18   ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11  2:29 UTC (permalink / raw)
  To: jidanni; +Cc: 9301

jidanni@jidanni.org writes:

> ls switches (must contain one of -log): -al ... or clearer:
> ls switches (must contain -l or -o or -g): -al

Good idea.  I've now done the latter.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11  2:29 ` Lars Magne Ingebrigtsen
@ 2011-09-11  7:18   ` Andreas Schwab
  2011-09-11 14:55     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11  7:18 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> jidanni@jidanni.org writes:
>
>> ls switches (must contain one of -log): -al ... or clearer:
>> ls switches (must contain -l or -o or -g): -al
>
> Good idea.  I've now done the latter.

Not a good idea.  On *BSD ls -o does not work.  This should be reverted.

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11  7:18   ` Andreas Schwab
@ 2011-09-11 14:55     ` Lars Magne Ingebrigtsen
  2011-09-11 15:29       ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 14:55 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: jidanni, 9301

Andreas Schwab <schwab@linux-m68k.org> writes:

> Not a good idea.  On *BSD ls -o does not work.  This should be reverted.

I've now removed -o, but kept -g.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 14:55     ` Lars Magne Ingebrigtsen
@ 2011-09-11 15:29       ` Andreas Schwab
  2011-09-11 15:29         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11 15:29 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> Not a good idea.  On *BSD ls -o does not work.  This should be reverted.
>
> I've now removed -o, but kept -g.

This is still not a good idea.  How is -g special wrt. to the options
that may imply -l?  The requirement that the options should include -l
is simple and does not need any amendment.

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 15:29       ` Andreas Schwab
@ 2011-09-11 15:29         ` Lars Magne Ingebrigtsen
  2011-09-11 15:50           ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 15:29 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: jidanni, 9301

Andreas Schwab <schwab@linux-m68k.org> writes:

> This is still not a good idea.  How is -g special wrt. to the options
> that may imply -l?  The requirement that the options should include -l
> is simple and does not need any amendment.

Because saying "include -l" sounds like you really need to have the
full, complete "-l" output, and then it turns out that you don't, which
makes me happy, because I hate the full "-l" output in dired buffers.
:-)

Perhaps the string should be more wishy-washy?  "must be a sort-of full
listing, like -l or the like"?  Too long, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 15:29         ` Lars Magne Ingebrigtsen
@ 2011-09-11 15:50           ` Andreas Schwab
  2011-09-11 15:57             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11 15:50 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> This is still not a good idea.  How is -g special wrt. to the options
>> that may imply -l?  The requirement that the options should include -l
>> is simple and does not need any amendment.
>
> Because saying "include -l" sounds like you really need to have the
> full, complete "-l" output, and then it turns out that you don't, which
> makes me happy, because I hate the full "-l" output in dired buffers.
> :-)

There is nothing that prevents you from using any additional options.

> Perhaps the string should be more wishy-washy?  "must be a sort-of full
> listing, like -l or the like"?  Too long, though.

Exactly.  Saying "(must include -l)" is simple and clear, and fully
correct.

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 15:50           ` Andreas Schwab
@ 2011-09-11 15:57             ` Lars Magne Ingebrigtsen
  2011-09-11 16:14               ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 15:57 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: jidanni, 9301

Andreas Schwab <schwab@linux-m68k.org> writes:

> Exactly.  Saying "(must include -l)" is simple and clear, and fully
> correct.

No, because it doesn't have to include -l.  -o and -g does not imply -l.
It's kinda like -l, though.

So "(must include -l or similar)" might be best...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 15:57             ` Lars Magne Ingebrigtsen
@ 2011-09-11 16:14               ` Andreas Schwab
  2011-09-11 16:18                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11 16:14 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> -o and -g does not imply -l.

They do.

> So "(must include -l or similar)" might be best...

Nobody needs that.

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 16:14               ` Andreas Schwab
@ 2011-09-11 16:18                 ` Lars Magne Ingebrigtsen
  2011-09-11 16:43                   ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 16:18 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: jidanni, 9301

Andreas Schwab <schwab@linux-m68k.org> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> -o and -g does not imply -l.
>
> They do.

       -g     like -l, but do not list owner

>> So "(must include -l or similar)" might be best...
>
> Nobody needs that.

jidanni did, and I did.  QED.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 16:43                   ` Andreas Schwab
@ 2011-09-11 16:43                     ` Lars Magne Ingebrigtsen
  2011-09-11 16:53                       ` Andreas Schwab
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11 16:43 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: jidanni, 9301

Andreas Schwab <schwab@linux-m68k.org> writes:

>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>
>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>>
>>>> -o and -g does not imply -l.
>>>
>>> They do.
>>
>>        -g     like -l, but do not list owner
>
> Like I said.

Like I said, it's like -l, but does not imply -l.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 16:18                 ` Lars Magne Ingebrigtsen
@ 2011-09-11 16:43                   ` Andreas Schwab
  2011-09-11 16:43                     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11 16:43 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>
>>> -o and -g does not imply -l.
>>
>> They do.
>
>        -g     like -l, but do not list owner

Like I said.

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#9301: dired-sort-toggle-or-edit should also mention -o and -g
  2011-09-11 16:43                     ` Lars Magne Ingebrigtsen
@ 2011-09-11 16:53                       ` Andreas Schwab
  0 siblings, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2011-09-11 16:53 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: jidanni, 9301

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>>
>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>>>
>>>>> -o and -g does not imply -l.
>>>>
>>>> They do.
>>>
>>>        -g     like -l, but do not list owner
>>
>> Like I said.
>
> Like I said, it's like -l, but does not imply -l.

You are wrong.  "-lg" is the same as "-g".

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."





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-09-11 16:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-14 19:41 bug#9301: dired-sort-toggle-or-edit should also mention -o and -g jidanni
2011-09-11  2:29 ` Lars Magne Ingebrigtsen
2011-09-11  7:18   ` Andreas Schwab
2011-09-11 14:55     ` Lars Magne Ingebrigtsen
2011-09-11 15:29       ` Andreas Schwab
2011-09-11 15:29         ` Lars Magne Ingebrigtsen
2011-09-11 15:50           ` Andreas Schwab
2011-09-11 15:57             ` Lars Magne Ingebrigtsen
2011-09-11 16:14               ` Andreas Schwab
2011-09-11 16:18                 ` Lars Magne Ingebrigtsen
2011-09-11 16:43                   ` Andreas Schwab
2011-09-11 16:43                     ` Lars Magne Ingebrigtsen
2011-09-11 16:53                       ` Andreas Schwab

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).