From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#48883: dired marking bugs Date: Sun, 6 Jun 2021 16:33:56 -0400 Message-ID: <20210606203356.muhmgel5m2jwmzpj@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28700"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 To: 48883@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 06 22:35:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpzUI-0007GY-1x for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 22:35:14 +0200 Original-Received: from localhost ([::1]:39472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpzUG-0003hv-F7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 16:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpzU6-0003hl-2y for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 16:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpzU5-0006s4-Sp for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 16:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpzU5-0005KK-Q0 for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 16:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Jun 2021 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48883 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs Bug Reporting Original-Received: via spool by submit@debbugs.gnu.org id=B.162301167720440 (code B ref -1); Sun, 06 Jun 2021 20:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 20:34:37 +0000 Original-Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpzTh-0005Jc-ER for submit@debbugs.gnu.org; Sun, 06 Jun 2021 16:34:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpzTc-0005JR-Ov for submit@debbugs.gnu.org; Sun, 06 Jun 2021 16:34:35 -0400 Original-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 ) id 1lpzTc-0003gj-IS for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 16:34:32 -0400 Original-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 ) id 1lpzTa-0006XT-Iv for bug-gnu-emacs@gnu.org; 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 Original-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 ; Sun, 06 Jun 2021 22:34:27 +0200 Content-Disposition: inline X-Provags-ID: V03:K1:Mb4X1Jz3zqSaHgLJj7haXZaiXFpSLSdGBebvza5c6dfBedyksRE lhPMpeqbgpFkN5latmjg5jrt6qeIdicJNGvE+sP5WwnlHv8ebtbaSce4DYB+WAO/Xw1SRT6 G8/bgc4dKBauJNrijhB1bvlcdHA+D1mX46onMK0dFMpu9XFvBO/GE4mq8UH0bSQ2QGlOMWT mUtFLepkB3E1y/UqdQexA== 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/nxL5hcrxQLfY4zM0ZwZxCOKPqKyhAjow Received-SPF: pass client-ip=212.227.15.18; envelope-from=boruch_baum@gmx.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208155 Archived-At: 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