GNU bug report logs - #11563
24.0.97; doc string of command `dired-insert-subdir'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 26 May 2012 19:52:02 UTC

Severity: minor

Tags: notabug

Found in version 24.0.97

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11563 in the body.
You can then email your comments to 11563 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11563; Package emacs. (Sat, 26 May 2012 19:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 May 2012 19:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.97; doc string of command `dired-insert-subdir'
Date: Sat, 26 May 2012 12:49:38 -0700
The doc string says (correctly):

"With a prefix arg, you may edit the `ls' switches used for this listing.
 You can add `R' to the switches to expand the whole tree starting at
 this subdirectory."

However, it seems like it should also mention that an error will be
raised if the switches you specify are incompatible with the switches in
the Dired buffer.

But that begs the question of what those incompatibilities are.  We
should tell users in the doc string just what they cannot do, instead
of making them discover this by trial and error.

According to `dired-insert-subdir-validate' the incompatibilities are
for `F' and `b': a Dired buffer cannot have listings with and without
`F' or with and without `b'.  This should be said in the doc string of
`dired-insert-subdir'.

In GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600)
 of 2012-05-16 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11563; Package emacs. (Sun, 16 Sep 2012 23:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 11563 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <11563 <at> debbugs.gnu.org>
Subject: RE: bug#11563: 24.0.97; doc string of command `dired-insert-subdir'
Date: Sun, 16 Sep 2012 16:52:04 -0700
ping





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11563; Package emacs. (Sun, 09 Feb 2014 04:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 11563 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 11563 <at> debbugs.gnu.org
Subject: Re: bug#11563: 24.0.97; doc string of command `dired-insert-subdir'
Date: Sat, 08 Feb 2014 20:07:57 -0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> But that begs the question of what those incompatibilities are.  We
> should tell users in the doc string just what they cannot do, instead
> of making them discover this by trial and error.
>
> According to `dired-insert-subdir-validate' the incompatibilities are
> for `F' and `b': a Dired buffer cannot have listings with and without
> `F' or with and without `b'.  This should be said in the doc string of
> `dired-insert-subdir'.

Actually, I can't parse what "with and without `F' or with and without
`b'" is supposed to mean, either...

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11563; Package emacs. (Fri, 16 Jul 2021 11:04:01 GMT) Full text and rfc822 format available.

Message #14 received at 11563 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 11563 <at> debbugs.gnu.org
Subject: Re: bug#11563: 24.0.97; doc string of command `dired-insert-subdir'
Date: Fri, 16 Jul 2021 13:03:34 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> According to `dired-insert-subdir-validate' the incompatibilities are
> for `F' and `b': a Dired buffer cannot have listings with and without
> `F' or with and without `b'.  This should be said in the doc string of
> `dired-insert-subdir'.

No, I think it's sufficient that the user gets an error when inserting
the sub-dir.  What switches are incompatible is an implementation
detail, and may change over time.  Closing.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Jul 2021 11:04:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11563 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Jul 2021 11:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Aug 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.