GNU bug report logs - #48883
dired marking bugs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Boruch Baum <boruch_baum@HIDDEN>; dated Sun, 6 Jun 2021 20:35:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 20:34:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 16:34:37 2021
Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lpzTh-0005Jc-ER
	for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 16:34:37 -0400
Received: from lists.gnu.org ([209.51.188.17]:55208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1lpzTc-0005JR-Ov
 for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 16:34:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45482)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1lpzTc-0003gj-IS
 for bug-gnu-emacs@HIDDEN; Sun, 06 Jun 2021 16:34:32 -0400
Received: from mout.gmx.net ([212.227.15.18]:57137)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1lpzTa-0006XT-Iv
 for bug-gnu-emacs@HIDDEN; Sun, 06 Jun 2021 16:34:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1623011667;
 bh=dPIi8n8k2YyNGmDE3H8K6R37PtvckolOgI90RzaPK/w=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=VbTw+8FCFQM9WjCh2axz5/UzoJXysBFZlMrpfIJDBoSfaxxfzVtqf4ZaKZZKvJZBI
 Llfo9D1LhuFWsM13afComY/cilRmEeXLk+gMHhiolRUs1FiQpv1as/ho2+ghqJNe9a
 strHyTRaY8DZDzH3bvw0ttCUkKZ4DoMfJVTeXofQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([96.224.230.212]) by mail.gmx.net
 (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id
 1MmDEg-1l865K4AN6-00iG9c for <bug-gnu-emacs@HIDDEN>; Sun, 06 Jun 2021
 22:34:27 +0200
Date: Sun, 6 Jun 2021 16:33:56 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: dired marking bugs
Message-ID: <20210606203356.muhmgel5m2jwmzpj@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:Mb4X1Jz3zqSaHgLJj7haXZaiXFpSLSdGBebvza5c6dfBedyksRE
 lhPMpeqbgpFkN5latmjg5jrt6qeIdicJNGvE+sP5WwnlHv8ebtbaSce4DYB+WAO/Xw1SRT6
 G8/bgc4dKBauJNrijhB1bvlcdHA+D1mX46onMK0dFMpu9XFvBO/GE4mq8UH0bSQ2QGlOMWT
 mUtFLepkB3E1y/UqdQexA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:AI4CUgDXYFw=:8ThC1CS9LM+xdpozvRhiTU
 tfZFXVBnMsOjO26LaMcfUea0M3h2w3TH/oW45GJ5cSS0PkgFuZXB9/AtPX1MlxfirZYWi/rY6
 GZeWIQ2t7AN6MadSXkbacowZnJKwZteYdfAwhUTOfgpSDoAwOydXlOv2i11XZUTV/x7yxleHX
 QcH7iPEaOG84nxUZn9v03M1PzC92brnBg4IEL6TtuXR9Y0mg4IGxvtMq98tBqDOXfpK9u+S8W
 jmUtZo5HZ2BWfmWWBCb334VQ5xz2aHqNaM8O6BGcNNAuQqgAaChpeRN9BKz6bTokQomupJAyV
 KmWSz/t1Ak+9WihQ0rDoVXt+pq9n6WTrYjB1vYc5ZbvnZ81jDt8NIPTu9ZoeGRxnr/1/tplM+
 LYP08d+9lERSmX7U6jpg7b1mBThC7Y4souABxMxOJmoG56UxfvyM9NMU2NCcgjdaCeqt0ukup
 +ZaZ5Z922fpsfnI41Y7bfompMnrxxw7qxw4OqZDEhFIbRuIy0eSOQyNgB6nOOIjIAzUvI5yUD
 UezeKEdkx8p8o0OQSmMvLjhi8KCisjWWbXL4GrofmLks8gS3vxDqwKZ6foeD0ZDYgMaFc8lc8
 M1vYeAHTYGT6iIvXsR+S8pJ2tGdSAP+El8GHMTM9baItZ/sT7DPSaIgdj7dOTYwUrUBJlD2gZ
 PIMfHcT+9MMgCLWkwq399J6VpDEN9NnQ28wOm3EYlKJqy8EKcFWdzO69y5L0Xs3gSlFMsMS3E
 skTjoqUioRmtMekhGBpffuVFGEoC4JtsbS1Uk76/nxL5hcrxQLfY4zM0ZwZxCOKPqKyhAjowI
 eYG131DYG7OfxWk5nf7N17HGDKWF/PLR+Sn7lRR0/W8tw0xawvw7WQ+vgfh4kERTILgM9tBDs
 QhqOdJUeokrWF+1iJz/2gNDKh9zurCypXCC5FkdiM8nzjT9/gxLDXuakjWuinx6wGZHwvowuX
 b7mQJkNVtv4GYJxdKg018AJQMo9E9esEYTlFbYEZACr6nkfYfBWqkKqE9uN60imAV66UM1mNx
 oBkYgBI6wwucQTBP7Tjk3SUsOuXN23923trv2VSCGezfFn1LamC5BSqORKExZYVx5DZH3wqYs
 TE5QaBbRKOurEHO2U2VPG8ySzp7elYxWvzC
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.15.18; envelope-from=boruch_baum@HIDDEN;
 helo=mout.gmx.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

In testing my diredc package, I'm coming across the following bugs
reproducable in \emacs -Q -nw:

1) Improper marking of directory heading line

   1.1) The correct and expected behavior of dired is that when one
        navigates to a directory heading line (eg. the first line of a
        simple dired buffer) and presses 'm', all "real" files of that
        directory are marked, [IMPORTANT] the lines for the "not-real"
        files '.' and '..' are not marked, and [IMPORTANT] the directory
        line itself is not marked.

   1.2) Likewise, typing 'u' on that line unmarks all said lines.

   1.3) Now, advance one line, to the line typically presenting a
        summary, beginning with the word 'total', and press the sequence
        'C-u -1 m'.

   1.4) Why is there now a mark on the prior line, the directory line?
        Note that the result differs from actually performing 'm' on
        that line also in that none of the "real" files in the directory
        are marked. Note also that performing 'u' on the line does not
        remove the mark, but performing 'U' on the buffer does.

   1.5) Attempting to perform an operation on the marked directory line
        (eg. 'C' to copy it) returns the message "No files specified"

2) Improper marking of "not-real" files '.' and '..'

   2.1) See paragraph 1.1.

   2.2) However, those lines can be manually marked using the 'm'
        command, and attempting to perform an operation on them (eg. 'C'
        to copy them) returns messaging indicating a willingness to
        overwrite whatever target directory is chosen. I haven't risked
        let it operate.

   2.3) As in paragraph 1.3, it is possible to mark the two lines using
        a negative prefix argument.

3) Improper advancing to (point-max)

   3.1) Marking the final entry in a dired buffer advances POINT to a
        blank line, which is pretty much never desirable to a user.

=2D-
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#48883; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 6 Jun 2021 20:45:02 UTC

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