GNU bug report logs - #34916
Dired-do-remove not moving last item in the list

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: arthur miller <arthur.miller@HIDDEN>; dated Tue, 19 Mar 2019 14:47:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 34916) by debbugs.gnu.org; 25 Mar 2019 21:51:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 17:51:29 2019
Received: from localhost ([127.0.0.1]:58765 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h8XVB-00039p-6y
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2019 17:51:29 -0400
Received: from mail-ed1-f41.google.com ([209.85.208.41]:46994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1h8XV9-00039c-7l
 for 34916 <at> debbugs.gnu.org; Mon, 25 Mar 2019 17:51:28 -0400
Received: by mail-ed1-f41.google.com with SMTP id d1so8932326edd.13
 for <34916 <at> debbugs.gnu.org>; Mon, 25 Mar 2019 14:51:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=nmuLlXXtv0lDGQItoRwbZNPTt18O/EP91qP6Z/oH40A=;
 b=F0xt04diy9GLOZPYBFFTs1EL2vLRd+5bcRcitM9uDDIV3WaOpmoowZNwPajfWcSenb
 g4nw/VARSBYh7uQbCjdXUE8DpU+CME+TZfyA9f+mo97qq/lickZBhED9cuCgiFpuAxUY
 xQh1DwswMC9/dKi35x/RpVPv0mBcbQ3MpPJ2twA5EIStc6ZAORVrgwAXTbUBu3SOT+uN
 g5ofIfggPGj1EaDRetTjj/rxi6GFnKO+D2LLeoiV8XfBcLvH9OMu5WtNDEH/2vFzHoUq
 G0ny5y8L345+qJnxLndwHLRYxOGji5CIvoGJ2Uf6pGEpi8ZMvBx2xv676QMbbz3Hk8Ht
 y3xQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=nmuLlXXtv0lDGQItoRwbZNPTt18O/EP91qP6Z/oH40A=;
 b=cvFW0gCPmeg8J3IbGRnAgx77584jfgbu19qeA2XlQZQRy9rtpmo8IOg9l1vaVndPup
 mQPuu9WwqtGC4Ho4uZ40Kp6N8JLp87bXrupEFE0qitAWBjQPkTuXzIZ8DlqPpLLlW5W8
 kcHLqAW7OpKBu6apR2lPgMH3NGqEgvVu+5//SBnihfSvZvG3cHpzkxib5YL38D8L1mu1
 NuvN1q6MMBwWTX0IxUPcBE0XGYohrbGyibxxCBS52H4Rm/9+muj3q9DSuBSl5uDiqKxa
 KBA5rrisNSLfswovFQCDU038FfVe3SAkLTCsLFtI3gWein3QjAA710q7CsFjsmfHkcEP
 adtw==
X-Gm-Message-State: APjAAAXZ8tpbEWCUPJk7fqS7I9x7IPLlJRqBGhyb0PQLf9W6CSrogdi7
 8/UFsS0B35lHtQojSVRnsKQoUw==
X-Google-Smtp-Source: APXvYqyPt3BSjuikFlOwSpBOZQmjct2HTLrY4SYKcz6BQxGhq2D1mQAJCksWRXVuDAuLgtfSD14FTw==
X-Received: by 2002:aa7:d383:: with SMTP id x3mr17782614edq.61.1553550681449; 
 Mon, 25 Mar 2019 14:51:21 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:20c2:134e:4f3a:683a])
 by smtp.gmail.com with ESMTPSA id w9sm6266558edw.41.2019.03.25.14.51.20
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Mon, 25 Mar 2019 14:51:20 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: arthur miller <arthur.miller@HIDDEN>
Subject: Re: bug#34916: Dired-do-remove not moving last item in the list
References: <HE1P194MB01374CAEF57DC679FADC748E96400@HIDDEN>
Date: Mon, 25 Mar 2019 21:51:19 +0000
In-Reply-To: <HE1P194MB01374CAEF57DC679FADC748E96400@HIDDEN>
 (arthur miller's message of "Tue, 19 Mar 2019 07:52:41 +0000")
Message-ID: <87o95yzkq0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 34916
Cc: 34916 <at> debbugs.gnu.org
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: -1.0 (-)

arthur miller <arthur.miller@HIDDEN> writes:

> When marking all files in a directory and choosing 'R' to rename them
> all (move to a different direcotry), the last file is always left
> untouched.
>
> I have tested on 5 or 6 different directories today and it happened every time.
>
> To reproduce, open a dired buffer, mark all files and try to move them to other directory.
>
> It seems like very last file gets unmarked for some reason after the 'R' is pressed.
>
> My Emacs version is build from git master last week:
>
> GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
>  of 2019-03-06

I don't seem to be able to reproduce this.  Do you see this behaviour
with 'emacs -Q'?  Here's what I tried:

0. emacs -Q
1. (progn (kill-new (make-temp-file "my-to-" t))
          (dired (make-temp-file "my-from-" t))
          (dotimes (i 3)
            (dired-create-empty-file (format "file-%d" i))))
2. C-x C-e
3. * s
4. R C-a C-k M-2 C-y RET

The result is that all three files are moved from the current "my-from-"
directory to the "my-to-" directory.  Do you observe something
different?  Would you be able to provide a more precise recipe?

Thanks,

-- 
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#34916; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 19 Mar 2019 14:46:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 19 10:46:24 2019
Received: from localhost ([127.0.0.1]:50764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h6G0U-0006qO-G7
	for submit <at> debbugs.gnu.org; Tue, 19 Mar 2019 10:46:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arthur.miller@HIDDEN>) id 1h69YK-0000Wf-IG
 for submit <at> debbugs.gnu.org; Tue, 19 Mar 2019 03:52:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:41448)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <arthur.miller@HIDDEN>)
 id 1h69YF-0008CL-8q
 for submit <at> debbugs.gnu.org; Tue, 19 Mar 2019 03:52:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36997)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arthur.miller@HIDDEN>) id 1h69YE-0003cv-9J
 for bug-gnu-emacs@HIDDEN; Tue, 19 Mar 2019 03:52:47 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arthur.miller@HIDDEN>) id 1h69YD-00086z-IJ
 for bug-gnu-emacs@HIDDEN; Tue, 19 Mar 2019 03:52:46 -0400
Received: from mail-oln040092064041.outbound.protection.outlook.com
 ([40.92.64.41]:62213 helo=EUR01-DB5-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <arthur.miller@HIDDEN>)
 id 1h69YC-0007xb-SI
 for bug-gnu-emacs@HIDDEN; Tue, 19 Mar 2019 03:52:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; 
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=ckbmniL8EMjoH/cajvuZ7p4lvI+z2Vp5/QUmWHS0f6s=;
 b=O9I1ifjqiSSi4bf0aG15LW8Xphm8dEedpFvdCuImLndDHd0u27XbzKnKQaOVucJlXIRfP4nJBb+PS9tIS0XSK9kCSkBdkjtapTAR1DhNWkNQmPPHxbIC3CX/Wb0o3zbX/YYY8wm5o1AgS8e7zMXZ1HIC6zPO7mnAoVXD6hzqPKC+A9vhw/A3PdRoGzhVoxYAM4Ku+tUZNMA64wTJsRHnyG3HnAosECtN95uW4chLrlIDmbtxQYR0yj51l4PLXJaTPQtQiKaarRZpZcZHd55U0u4OV8vUGunD90KqrQh6Gzep6FDQWtz6Bn1QY2iYt3v/LAoBRajunodXK1RGjSzWRA==
Received: from VE1EUR01FT047.eop-EUR01.prod.protection.outlook.com
 (10.152.2.56) by VE1EUR01HT121.eop-EUR01.prod.protection.outlook.com
 (10.152.3.134) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1730.9; Tue, 19 Mar
 2019 07:52:41 +0000
Received: from HE1P194MB0137.EURP194.PROD.OUTLOOK.COM (10.152.2.56) by
 VE1EUR01FT047.mail.protection.outlook.com (10.152.3.80) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.1730.9 via Frontend Transport; Tue, 19 Mar 2019 07:52:41 +0000
Received: from HE1P194MB0137.EURP194.PROD.OUTLOOK.COM
 ([fe80::65f6:ebc3:fdbb:4847]) by HE1P194MB0137.EURP194.PROD.OUTLOOK.COM
 ([fe80::65f6:ebc3:fdbb:4847%2]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019
 07:52:41 +0000
From: arthur miller <arthur.miller@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: Dired-do-remove not moving last item in the list
Thread-Topic: Dired-do-remove not moving last item in the list
Thread-Index: AQHU3ie2ppIC66h5kU+grHi9fzpuZQ==
Date: Tue, 19 Mar 2019 07:52:41 +0000
Message-ID: <HE1P194MB01374CAEF57DC679FADC748E96400@HIDDEN>
Accept-Language: sv-SE, en-US
Content-Language: sv-SE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-incomingtopheadermarker: OriginalChecksum:61C8971AAFFD6BC984C91903955C77DDAB6357E3CFF9466399A145874B49F4D6;
 UpperCasedChecksum:ACEDC1E5F19F5B29820C552F34EFEDD544FD42B53AA74411DE250B8505779C4C;
 SizeAsReceived:6622; Count:41
x-tmn: [fULLbPbXG0B+YlYsgnHg0rtnLZlCjuwz]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031324274)(2017031323274)(1601125500)(1603101475)(1701031045);
 SRVR:VE1EUR01HT121; 
x-ms-traffictypediagnostic: VE1EUR01HT121:
x-microsoft-antispam-message-info: pk8jmKOqZ98aoaVe/+qR+Vli41x4u/YEi7HHPvUI6GITKtptQHop/xm0TMucBZIi
Content-Type: multipart/alternative;
 boundary="_000_HE1P194MB01374CAEF57DC679FADC748E96400HE1P194MB0137EURP_"
MIME-Version: 1.0
X-OriginatorOrg: live.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 4c4d8709-bc01-40fc-a92d-08d6ac3fdd66
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 07:52:41.6353 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT121
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 40.92.64.41
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 19 Mar 2019 10:46:18 -0400
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: -0.0 (/)

--_000_HE1P194MB01374CAEF57DC679FADC748E96400HE1P194MB0137EURP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When marking all files in a directory and choosing 'R' to rename them all (=
move to a different direcotry), the last file is always left untouched.

I have tested on 5 or 6 different directories today and it happened every t=
ime.

To reproduce, open a dired buffer, mark all files and try to move them to o=
ther directory.

It seems like very last file gets unmarked for some reason after the 'R' is=
 pressed.

My Emacs version is build from git master last week:

GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2019-03-06

--_000_HE1P194MB01374CAEF57DC679FADC748E96400HE1P194MB0137EURP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
When marking all files in a directory and choosing 'R' to rename them all (=
move to a different direcotry), the last file is always left untouched.<br>
<br>
I have tested on 5 or 6 different directories today and it happened every t=
ime.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
To reproduce, open a dired buffer, mark all files and try to move them to o=
ther directory.<br>
<br>
It seems like very last file gets unmarked for some reason after the 'R' is=
 pressed.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
My Emacs version is build from git master last week:<br>
<br>
<span>GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK&#43; Version 3.2=
4.5)<br>
</span>
<div>&nbsp;of 2019-03-06<span></span><br>
</div>
</div>
</body>
</html>

--_000_HE1P194MB01374CAEF57DC679FADC748E96400HE1P194MB0137EURP_--




Acknowledgement sent to arthur miller <arthur.miller@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#34916; 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: Mon, 25 Nov 2019 12:00:02 UTC

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