From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 23:26:52 2017 Received: (at submit) by debbugs.gnu.org; 12 Oct 2017 03:26:52 +0000 Received: from localhost ([127.0.0.1]:34718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2U95-0006UN-Le for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:26:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2U93-0006U8-57 for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2U8w-0001WG-DR for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:26:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e2U8w-0001WC-92 for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:26:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2U8u-0000F6-Jo for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 23:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2U8s-0001Ui-UA for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 23:26:40 -0400 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:47381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2U8s-0001UQ-O3 for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2017 23:26:38 -0400 Received: by mail-qt0-x22d.google.com with SMTP id z50so11301094qtj.4 for ; Wed, 11 Oct 2017 20:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rP3OEhA45lv7O4QRaxZgSRjZTp3Ig+oI8C5TydlbmUI=; b=FIoTaqL7Ps9fWJ+bRgrd3TeVKnrJ9Kec7XdhIFM1xDBvNOJhLVzjgPAb7ZGZP5zcmj rpyPHLkRLZg6lGJQrO2M78PsikYw8PdDWHcGQlIhS/4ySVJ/FdYIwEszk9R7wAzDoSPA aXWyAG/1qRyQvAF896I7CtOfu5jUsABKdT8+45oFplRPhQms1qeVET8hIas9Pk52jpZ6 IlrpIyU7sxc++mZjHZpyO2mqGh0jx/TSlF4Gt336l0zYSJgVF+LqyDX2aP6a7FfngRPQ CKgrrYNdRWdpzrdeGNOFNRdDp/KzhlQzJfPphj6Qw4LNXadMB6WfZIj5ZsJW40yMT8f8 FsDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rP3OEhA45lv7O4QRaxZgSRjZTp3Ig+oI8C5TydlbmUI=; b=dEO/wev9DgslhPZiEjz6UBapj6yOCdeyaeQ11qV/++nkmCnH4KV0Wn+6YukFdalaOs UoZI5D2FAAwYh7385fEiO3W4hP7naSNIfINxF9dEgnn/bv1wJMjIZ5WGwcSN97P20l5y 33gyllC3UUdjKNi+SmgslT6sGppB8T5IzIWCFNVhAioU7yhVbdRjf7Pe2OlnbOfbsjE7 2o54n5iQMxLb3WWLD9GUUpaoatv1Pj18tQFASndsX13LSvJr34StelINfPff0bf4f6Uz ZGb1N9XxzLTfalfSMQNCOqRfqBDuIwiC0fO/TfKf2fHtHNwr28WkoEkMyG/3/Q3EaR2K 1MGQ== X-Gm-Message-State: AMCzsaUUznR5L80n6NEgBi66JW8sO9v8XhsyY3M6O5yNVR4qXaVWlt1O DnPGe1tE2EqrXpm6zAkUDYZhAThr37yHAUbsa2o= X-Google-Smtp-Source: AOwi7QDpCNWQUC0iy2TGkRY0w8b7ZHson2bA0z3S3TQ3D1WpvFG+K0C4Yc17bot1SC956LQOwVbIt6ia44uqpGanKfI= X-Received: by 10.37.114.87 with SMTP id n84mr951998ybc.504.1507778797448; Wed, 11 Oct 2017 20:26:37 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 12 Oct 2017 03:26:26 +0000 Message-ID: Subject: 26.0.60; Deleting to a custom trash directory in Dired gives error To: "bug-gnu-emacs@gnu.org" , Tino Calancha Content-Type: multipart/alternative; boundary="001a11488d169f366b055b511bd1" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11488d169f366b055b511bd1 Content-Type: text/plain; charset="UTF-8" Hello, This seems to be a regression from emacs 25.x. If I have set delete-by-moving-to-trash to t AND trash-directory to a custom value (there's a qualifier though, read further), I get this error, but that does not trigger backtrace even after toggle-debug-on-error! ===== Trashing... (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) ===== I was though able to force a backtrace (shown below) after trying to recreate the same error after evaluating: (setq debug-on-message "Non-regular") ===== Debugger entered--Lisp error: "(file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo)\n" message("%s" "(file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo)\n") dired-log-summary("1 of 1 deletion failed" ("/home/kmodi/.emacs.d/foo")) dired-internal-do-deletions((("/home/kmodi/.emacs.d/foo" . 2827)) nil t) dired-do-delete(nil) funcall-interactively(dired-do-delete nil) call-interactively(dired-do-delete nil nil) command-execute(dired-do-delete) ===== Here is the recipe to recreate this in emacs -Q: 1. First evaluate the below (progn (setq delete-by-moving-to-trash t) (setq trash-directory (let ((dir (concat temporary-file-directory (getenv "USER") "/.trash_emacs/"))) ;Must end with / (mkdir dir :parents) dir)) (setq debug-on-message "Non-regular")) 2. Now evaluate ;; CASE A (let ((dir (concat user-emacs-directory "foo/"))) (mkdir dir :parents) (dired (concat dir ".."))) Now when you move the point to the foo dir, hit D and type yes, you will get the above pasted backtrace. Now here is the qualifier piece.. the same error does not happen if I try to delete a directory in the temporary-file-directory! So when I evaluate: ;; CASE B (let ((dir (concat temporary-file-directory "foo/"))) (mkdir dir :parents) (dired (concat dir ".."))) Then move the point to the foo dir, hit D and type yes, the deletion (trashing) of that foo directory happens fine without that error. So with this, CASE A gives error, CASE B does not. Here's a twist.. Now let's move the trash directory from temporary-file-directory to user-emacs-directory .. eval the below: (setq trash-directory (let ((dir (concat user-emacs-directory "/.trash_emacs/"))) ;Must end with / (mkdir dir :parents) dir)) NOW, CASE A above will work fine, and CASE B will give that error. My machine is RHEL 6.6. And the drives are NFS mounts. So I don't know which of the below is true: - Gives an error if the ORIG directory and TRASH directory are on possibly different mounts. - Gives an error if the ORIG and TRASH directory do not have the same root directory (/home vs /tmp in the above example). So that is the main bug report. Side bug report on the fact that the below error does not generate a backtrace with toggle-debug-on-error.. why is that? (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) (Thanks for reading through this whole bug report.. hopefully someone is able to reproduce this issue and fix it.) ----- In GNU Emacs 26.0.60 (build 26, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-10-11 Repository revision: 419a371f8b3d4ba200770be07136f909c7984ece Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Configured using: 'configure --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-26 '--program-transform-name=s/^ctags$/ctags_emacs/' 'CPPFLAGS=-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix -- Kaushal Modi --001a11488d169f366b055b511bd1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

This seems to be a re= gression from emacs 25.x.

If I have set delete-by-= moving-to-trash to t AND trash-directory to a custom value (there's a q= ualifier though, read further), I get this error, but that does not trigger= backtrace even after toggle-debug-on-error!

=3D= =3D=3D=3D=3D
Trashing...
(file-error Non-regular f= ile Is a directory /home/kmodi/.emacs.d/foo)
=3D=3D=3D=3D= =3D

I was though able to force a backtrace (shown = below) after trying to recreate the same error after evaluating:
=
=C2=A0 (setq debug-on-message "Non-regular")=C2=A0=

=3D=3D=3D=3D=3D=C2=A0
Debugger= entered--Lisp error: "(file-error Non-regular file Is a directory /ho= me/kmodi/.emacs.d/foo)\n"
=C2=A0 message("%s" &quo= t;(file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo)\n&q= uot;)
=C2=A0 dired-log-summary("1 of 1 deletion failed"= ("/home/kmodi/.emacs.d/foo"))
=C2=A0 dired-internal-do= -deletions((("/home/kmodi/.emacs.d/foo" . 2827)) nil t)
=C2=A0 dired-do-delete(nil)
=C2=A0 funcall-interactively(dired-d= o-delete nil)
=C2=A0 call-interactively(dired-do-delete nil nil)<= /div>
=C2=A0 command-execute(dired-do-delete)
=3D=3D=3D= =3D=3D

Here is the recipe to recreate this in emac= s -Q:

1. First evaluate the below
<= br>
(progn
=C2=A0 (setq delete-by-moving-to-trash t)
=C2=A0 (setq trash-directory
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = (let ((dir (concat temporary-file-directory
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(getenv "USER") "/.trash_emacs/"))) ;Must end with /=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mkdir dir :parents)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dir))
=C2=A0 (setq debug-on-= message "Non-regular"))

2. Now evaluate<= /div>

;; CASE A
(let ((dir (con= cat user-emacs-directory "foo/")))
=C2=A0 (mkdir dir :p= arents)
=C2=A0 (dired (concat dir "..")))

Now when you move the point to the foo dir, hit D and type yes= , you will get the above pasted backtrace.

Now her= e is the qualifier piece.. the same error does not happen if I try to delet= e a directory in the temporary-file-directory!

So when I evaluate:

;; CASE B
(le= t ((dir (concat temporary-file-directory "foo/")))
=C2= =A0 (mkdir dir :parents)
=C2=A0 (dired (concat dir ".."= )))

Then move the point to the foo dir,= hit D and type yes, the deletion (trashing) of that foo directory happens = fine without that error.

So with this, CASE A gives error, CASE B does= not.

Here's a twist..

Now let's move the trash d= irectory from temporary-file-directory to user-emacs-directory .. eval the = below:

=C2=A0 (setq trash-directory
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (let ((dir (concat user-emacs-directory "= /.trash_emacs/"))) ;Must end with /
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (mkdir dir :parents)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 dir))

NOW, CASE A above will work fine, and CASE B will give that error.=

My machine is RHEL 6.6. And th= e drives are NFS mounts. So I don't know which of the below is true:

- Gives an error if the ORIG directory and TRASH dir= ectory are on possibly different mounts.=C2=A0
- Gives an error i= f the ORIG and TRASH directory do not have the same root directory (/home v= s /tmp in the above example).

<= /div>
So that is the main bug report.

Side bug= report on the fact that the below error does not generate a backtrace with= toggle-debug-on-error.. why is that?

(file-error = Non-regular file Is a directory /home/kmodi/.emacs.d/foo)=C2=A0=C2=A0

(Thanks for reading through this whole bug report..= hopefully someone is able to reproduce this issue and fix it.)
<= br>

-----
In GNU Emacs 26.0.60 (build 26= , x86_64-pc-linux-gnu, GTK+ Version 2.24.23)
=C2=A0of 2017-10-11<= /div>
Repository revision: 419a371f8b3d4ba200770be07136f909c7984ece
Windowing system distributor 'The X.Org Foundation', version= 11.0.60900000
System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago)
<= div>
Configured using:
=C2=A0'configure --with-= modules
=C2=A0--prefix=3D/home/kmodi/usr_local/apps/6/emacs/emacs= -26
=C2=A0'--program-transform-name=3Ds/^ctags$/ctags_emacs/&= #39;
=C2=A0'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/u= sr/include/freetype2
=C2=A0-I/usr/include' 'CFLAGS=3D-ggd= b3 -O0' 'CXXFLAGS=3D-ggdb3 -O0'
=C2=A0'LDFLAGS=3D= -L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64
=C2= =A0-ggdb3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOO= LKIT_SCROLL_BARS GTK2 X11 MODULES

Important settin= gs:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of = $XMODIFIERS: @im=3Dnone
=C2=A0 locale-coding-system: utf-8-unix


--

Kaushal Modi

--001a11488d169f366b055b511bd1-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 23:36:18 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 03:36:18 +0000 Received: from localhost ([127.0.0.1]:34728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2UIE-0006ka-0V for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:36:18 -0400 Received: from mail-qt0-f172.google.com ([209.85.216.172]:46938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2UIC-0006kN-Di for 28792@debbugs.gnu.org; Wed, 11 Oct 2017 23:36:16 -0400 Received: by mail-qt0-f172.google.com with SMTP id 1so11343597qtn.3 for <28792@debbugs.gnu.org>; Wed, 11 Oct 2017 20:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZIKcmm1SwhOeh7uSMPxAzwueYh5G3TmRnWRu5J4Q2es=; b=LJD8NfTOBr1w1ENAIBFXR2cFYNqgnT4b+St2A1SzCHgqon3meKMiG7xIrEgXmtLFUP cvzPL1ENTjzSmWlFkRrkZCbE3FVdK21J4D1jDk8RT+a4q5LMwMg9GS58MMM2ZZ+csCR6 KSZSp/YjxvSIYJ2jlraiFsffS/vWON+SdZ3r0FkUUc9xj4LLn7sIxhOFfR4rwDJLyy79 BWMpr+dxvxuHHYHvAJif6pBsKq2KBurv41PglwKRYXzmmjpOk3NDLTtZAvBJXnt/LDCT KvpTMuyErCIE7Tf1+2eLfDj1S5bO98CGbHtPiB3tXe1KqxxfXfS9ytFN565z1DR9QmC5 oEJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZIKcmm1SwhOeh7uSMPxAzwueYh5G3TmRnWRu5J4Q2es=; b=Eb2qprtbn/GPYoENH8AtL8IwbnFPLrS2GnWbk3YRWm0Ra3WdPRGsSWyBnpsJVI3dR8 QiYBHFIuC7x4A32VPC+FkJt2/l17ODWuCZr8wkJhWfHMEsEkg1AfNAAminddiodNyK7o Oa2fUOc+dPmz9lSTIbe7X+8uPtj19/kXq+g5rx/6BU6pZ++qW/zgwtlHOoR6OwLWnDIi ZPqvGbvlVOhQIPjeufQKqKY2EJSNuhPnbTV5HOQ+z0b9NO/SQXp182+2CR1ZpbqjknKJ lAXFGzk3DZ9SAM/m9Vj7e06HFErsjXzLMp31EePtbUe9Knk4j0U1iS/sJydVoxv1yPXl k6VA== X-Gm-Message-State: AMCzsaW8zfK7zwDQtpzLomWbMZIFciaisssUAig8pkdifF2Cr/wz+/7m hGE/GztEUjNP+40tBDpeZu5uElL5KMn3e2WZufs= X-Google-Smtp-Source: AOwi7QBl/ZR/kcUCSMWLgQxF4zkAaz+xoxZy/R4ueSIA3zgAppUt/pDSd2lo8JqbucbIqg83ZwpK9Ajda5Yzs5L32DM= X-Received: by 10.37.164.164 with SMTP id g33mr951614ybi.11.1507779370725; Wed, 11 Oct 2017 20:36:10 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 12 Oct 2017 03:36:00 +0000 Message-ID: Subject: 26.0.60; Deleting to a custom trash directory in Dired gives error To: 28792@debbugs.gnu.org, Tino Calancha Content-Type: multipart/alternative; boundary="94eb2c13b50ccab619055b513dd3" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --94eb2c13b50ccab619055b513dd3 Content-Type: text/plain; charset="UTF-8" I'd like to add that if I leave the value of trash-directory to nil, then I believe the default system trash directory is created somewhere in my /home. Because then, based on my earlier email, CASE A (deleting directory in my emacs user dir works fine, but CASE B (deleting directory in my /tmp) gives that error. So far, at least on my machine, it looks like if - delete-by-moving-to-trash is t, AND - trash-directory is in /tmp and to-be-deleted-dir in is HOME (or vice-versa) this error occurs. -- Kaushal Modi --94eb2c13b50ccab619055b513dd3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'd like to add that if I leave the value of trash-dir= ectory to nil, then I believe the default system trash directory is created= somewhere in my /home.

Because then, based on my earlie= r email,=C2=A0CASE A (deleting directory in my emacs user dir works fine, but C= ASE B (deleting directory in my /tmp) gives that error.

So far, at least on my machine, it looks like if
<= div>=
- delete-by-moving-to-trash is t, AND
- tras= h-directory is in /tmp and to-be-deleted-dir in is HOME (or vice-versa)

this error occurs.
--

Kaushal Modi

--94eb2c13b50ccab619055b513dd3-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 11 23:52:12 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 03:52:12 +0000 Received: from localhost ([127.0.0.1]:34737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2UXb-0007AB-LY for submit@debbugs.gnu.org; Wed, 11 Oct 2017 23:52:12 -0400 Received: from mail-qt0-f170.google.com ([209.85.216.170]:43026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2UXa-00079o-Lx for 28792@debbugs.gnu.org; Wed, 11 Oct 2017 23:52:11 -0400 Received: by mail-qt0-f170.google.com with SMTP id j58so278070qtj.0 for <28792@debbugs.gnu.org>; Wed, 11 Oct 2017 20:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bA/LsDnX7JwT+SixviCDbj8rAiYH28h9pv/T85ZfT9s=; b=U8CygHi8wScGX6UJoVNh7croLqfsJBOZGVpACitu7bBwKHio6GEVd8Ns4SuFoR/M4D aiXVuwoDPp4E6Hq98JwNJyH9CjYBE8OVuR+Qf6rFR+VG+G0qpcfdGgINDUIOpjlBkEsL meNx55mJipt6uBg23ibJF7umsIOLn6yHQ0LTIx9DZBBJHwOvxitpNwkk6ly1WckQlIj7 tw2oQj3pi/Frr5+vE7R2GHdzqbl2G+Opiq4JWnPl5FWbobY7ZExsGCfnw7dDS2eghPE6 3ZaArn0dA1Czd3/RZAglqulbOBlCDDpQSLtJJuarhDb1FdKq+qLEBgEXlsJKg9pggftH P3aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bA/LsDnX7JwT+SixviCDbj8rAiYH28h9pv/T85ZfT9s=; b=DrircleS8+xK7OWMOkR8eArYUSFIkAn15JHIcLN6TuJ783qwgJntDmixkTaSDD9SWq ebtZbGxvopWGfZhghdzJHMjBlW7z/Es8mhfxYlCDVJ3AcfVsAcG6x+D6Y2qCu2yzpG/d HZrFATj2/hMOKau2b390zGe/tXqUllmf+DJsokylKlXefU03b9Jq8kmpw5y4FdMNO1lk peC8PD4zieHdWngPy07lw/b/E7f+WwncLlbRo4S76Renof2ATdQYcz4io1Wt4BENKh0Y EsfQ9m+XmVEDzuV0SIWqGvlGFINsqZQiGNJNwVkqiVXDc7NR67XoDWuJEJAcCz46Bguf MQ0A== X-Gm-Message-State: AMCzsaV2xwKp7cTy8HWK9PysTqaFYuQZFm+FG+oU5t4xb88lm4gJwyex ykIdqD6DQDV+9YqiwoiGLWt8/xaLjyHNLWHAya0= X-Google-Smtp-Source: AOwi7QCHuuXPU9kvFao8wU7B2ZciZZG4YExJImZOyEh/KzhX7oUTXKPiH29SUyikZ5AU1wxwM+zIv8vOmFAwNMOxG+E= X-Received: by 10.13.213.7 with SMTP id x7mr954337ywd.185.1507780324716; Wed, 11 Oct 2017 20:52:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Thu, 12 Oct 2017 03:51:54 +0000 Message-ID: Subject: Re: 26.0.60; Deleting to a custom trash directory in Dired gives error To: 28792@debbugs.gnu.org, Paul Eggert Content-Type: multipart/alternative; boundary="001a114fbe68a7786a055b5176ed" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a114fbe68a7786a055b5176ed Content-Type: text/plain; charset="UTF-8" On Wed, Oct 11, 2017 at 11:35 PM Kaushal Modi wrote: > I'd like to add that if I leave the value of trash-directory to nil, then > I believe the default system trash directory is created somewhere in my > /home. > > Because then, based on my earlier email, CASE A (deleting directory in my > emacs user dir works fine, but CASE B (deleting directory in my /tmp) gives > that error. > > So far, at least on my machine, it looks like if > > - delete-by-moving-to-trash is t, AND > - trash-directory is in /tmp and to-be-deleted-dir in is HOME (or > vice-versa) > > this error occurs. > The situation unfolds further! Turns out this has nothing to do with dired. So taking off Tino from the To: list (sorry for doing that earlier). Now I think that this probably has to do with the rename-file series of commits ( http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-26&id=446e92548f932f18d57924573b49b5e6f4ae70c4 ). So copying Paul. Here are even simpler recipes verified in emacs -Q: 1. First eval this one form to catch the error back trace (setq debug-on-message "Non-regular") 2. Now eval the 3 forms below one by one.. the last one should fail as the trash-directory and to-be-del directory do not share the same root?/mount? ;; WORKS ;; Both trash-directory and to-be-del dirs in temporary-file-directory (let ((trash-directory (concat temporary-file-directory (getenv "USER") "/.trash_emacs/")) (to-be-del (concat temporary-file-directory "foo/"))) (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-trash to-be-del)) ;; WORKS ;; Both trash-directory and to-be-del dirs in user-emacs-directory (let ((trash-directory (concat user-emacs-directory "/.trash_emacs/")) (to-be-del (concat user-emacs-directory "foo/"))) (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-trash to-be-del)) ;; FAILS!! ;; trash-directory in temporary-file-directory but to-be-del dir in ;; user-emacs-directory (let ((trash-directory (concat user-emacs-directory "/.trash_emacs/")) (to-be-del (concat temporary-file-directory "foo/"))) (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-trash to-be-del)) When I eval this 3rd form, I get this error back trace: Debugger entered--Lisp error: (file-error "Non-regular file" "Is a directory" "/tmp/foo") rename-file("/tmp/foo" "/home/kmodi/.emacs.d/.trash_emacs/foo.~1~") move-file-to-trash("/tmp/foo/") (let ((trash-directory (concat user-emacs-directory "/.trash_emacs/")) (to-be-del (concat temporary-file-directory "foo/"))) (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-trash to-be-del)) eval((let ((trash-directory (concat user-emacs-directory "/.trash_emacs/")) (to-be-del (concat temporary-file-directory "foo/"))) (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-trash to-be-del)) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) -- Kaushal Modi --001a114fbe68a7786a055b5176ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 11= , 2017 at 11:35 PM Kaushal Modi <kaushal.modi@gmail.com> wrote:
I'd like to add that if I leave the value of tra= sh-directory to nil, then I believe the default system trash directory is c= reated somewhere in my /home.

Because then, based on my = earlier email,=C2=A0CASE A (deleting directory in my emacs user dir works fine,= but CASE B (deleting directory in my /tmp) gives that error.
<= div>=
So far, at least on my machine, it looks like if <= /div>

- delete-by-moving-to-trash is t, AND
<= div>= - trash-directory is in /tmp and to-be-deleted-dir in is HOME (or vice-vers= a)

this error occurs.

The situation unfolds further!

<= /div>
Turns out this has nothing to do with dired. So taking off Tino f= rom the To: list (sorry for doing that earlier).

N= ow I think that this probably has to do with the rename-file series of comm= its (=C2=A0http://git.s= avannah.gnu.org/cgit/emacs.git/commit/?h=3Demacs-26&id=3D446e92548f932f= 18d57924573b49b5e6f4ae70c4=C2=A0). So copying Paul.

Here are even simpler recipes verified in emacs -Q:

1. First eval this one form to catch the error back trace
(setq debug-on-message "Non-regular")

2= . Now eval the 3 forms below one by one.. the last one should fail as the t= rash-directory and to-be-del directory do not share the same root?/mount?

;; WORKS
;; Both trash-directory and to-b= e-del dirs in temporary-file-directory
(let ((trash-directory (co= ncat temporary-file-directory
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(getenv "USER") "/.trash_emacs/"))
=C2=A0 = =C2=A0 =C2=A0 (to-be-del (concat temporary-file-directory "foo/")= ))
=C2=A0 (mkdir trash-directory :parents)
=C2=A0 (mkdi= r to-be-del :parents)
=C2=A0 (move-file-to-trash to-be-del))

;; WORKS
;; Both trash-directory and to-be-d= el dirs in user-emacs-directory
(let ((trash-directory (concat us= er-emacs-directory "/.trash_emacs/"))
=C2=A0 =C2=A0 =C2= =A0 (to-be-del (concat user-emacs-directory "foo/")))
= =C2=A0 (mkdir trash-directory :parents)
=C2=A0 (mkdir to-be-del := parents)
=C2=A0 (move-file-to-trash to-be-del))

;; FAILS!!
;; trash-directory in temporary-file-directory= but to-be-del dir in
;; user-emacs-directory
(let ((tr= ash-directory (concat user-emacs-directory "/.trash_emacs/"))
=C2=A0 =C2=A0 =C2=A0 (to-be-del (concat temporary-file-directory &qu= ot;foo/")))
=C2=A0 (mkdir trash-directory :parents)
=C2=A0 (mkdir to-be-del :parents)
=C2=A0 (move-file-to-trash to= -be-del))

When I eval this 3rd form, I get this er= ror back trace:

Debugger entered--Lisp error:= (file-error "Non-regular file" "Is a directory" "= /tmp/foo")
=C2=A0 rename-file("/tmp/foo" "/ho= me/kmodi/.emacs.d/.trash_emacs/foo.~1~")
=C2=A0 move-file-to= -trash("/tmp/foo/")
=C2=A0 (let ((trash-directory (conc= at user-emacs-directory "/.trash_emacs/")) (to-be-del (concat tem= porary-file-directory "foo/"))) (mkdir trash-directory :parents) = (mkdir to-be-del :parents) (move-file-to-trash to-be-del))
=C2=A0= eval((let ((trash-directory (concat user-emacs-directory "/.trash_ema= cs/")) (to-be-del (concat temporary-file-directory "foo/")))= (mkdir trash-directory :parents) (mkdir to-be-del :parents) (move-file-to-= trash to-be-del)) nil)
=C2=A0 elisp--eval-last-sexp(nil)
=C2=A0 eval-last-sexp(nil)
=C2=A0 funcall-interactively(eval-la= st-sexp nil)
=C2=A0 call-interactively(eval-last-sexp nil nil)
=C2=A0 command-execute(eval-last-sexp)

--

Kaushal Modi

--001a114fbe68a7786a055b5176ed-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 08:50:33 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 12:50:33 +0000 Received: from localhost ([127.0.0.1]:34987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2cwa-0006PW-SK for submit@debbugs.gnu.org; Thu, 12 Oct 2017 08:50:33 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:43354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2cwZ-0006PM-Hs for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:50:32 -0400 X-Originating-IP: 188.3.108.78 Received: from alpha.alpha (unknown [188.3.108.78]) (Authenticated sender: self@gkayaalp.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 92BD4C5A73; Thu, 12 Oct 2017 14:50:27 +0200 (CEST) From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= To: Kaushal Modi Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: Date: Thu, 12 Oct 2017 15:50:26 +0300 In-Reply-To: (Kaushal Modi's message of "Thu, 12 Oct 2017 03:51:54 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) Quite recently I've opened and retreated the similar bug#28791, trying to trash directories recursively. I did not use a custom trash-directory, but I got the same error. Turns out that it was delete-by-moving-to-trash that provoked the error (with an indentical message to yours). Emptying the ~/.local/share/Trash/ folder solved the issue for me. I observed that in ~/.local/share/Trash/info/ some .trashinfo files were created with the name of the directory (say ) I was trying to delete, one .trashinfo and many .trashinfo. I've tried to understand sth. inspecting the recent changes to rename-file in src/fileio.c using vc-annotate, and some recent commits like a1cea94c0b seem relevant, altho my C knowledge is very basic, and even more so of the Emacs style and C codebase. I've experienced this on master since about a couple weeks, since my second-last build thereof, but my third-last build was quite some time ago. --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 08:58:33 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 12:58:33 +0000 Received: from localhost ([127.0.0.1]:34994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d4K-0006d6-Ph for submit@debbugs.gnu.org; Thu, 12 Oct 2017 08:58:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d4J-0006cu-Gh for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2d4A-00079J-7j for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:58:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2d4A-000797-4i; Thu, 12 Oct 2017 08:58:22 -0400 Received: from [176.228.60.248] (port=1881 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2d49-0007qU-K7; Thu, 12 Oct 2017 08:58:22 -0400 Date: Thu, 12 Oct 2017 15:58:11 +0300 Message-Id: <831sm8mskc.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp In-reply-to: (message from =?utf-8?B?R8O2?= =?utf-8?B?a3R1xJ8=?= Kayaalp on Thu, 12 Oct 2017 15:50:26 +0300) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28792 Cc: 28792@debbugs.gnu.org, eggert@cs.ucla.edu, kaushal.modi@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Göktuğ Kayaalp > Date: Thu, 12 Oct 2017 15:50:26 +0300 > Cc: Paul Eggert , 28792@debbugs.gnu.org > > Quite recently I've opened and retreated the similar bug#28791, trying > to trash directories recursively. I did not use a custom > trash-directory, but I got the same error. Turns out that it was > delete-by-moving-to-trash that provoked the error (with an indentical > message to yours). Emptying the ~/.local/share/Trash/ folder solved the > issue for me. I observed that in ~/.local/share/Trash/info/ some > .trashinfo files were created with the name of the directory (say > ) I was trying to delete, one .trashinfo and many > .trashinfo. This use case raises an interesting question: what should be the behavior of delete-by-moving-to-trash when the Trash directory already includes a directory by the same name as the non-directory file being deleted? Are files in the Trash directory generally unimportant enough to disregard these situations, or does this use case run afoul of the ability to restore the trashed files later? I don't know the answers, as I intentionally avoid using the system trash. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 08:59:17 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 12:59:17 +0000 Received: from localhost ([127.0.0.1]:34998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d53-0006eb-4o for submit@debbugs.gnu.org; Thu, 12 Oct 2017 08:59:17 -0400 Received: from mail-qt0-f174.google.com ([209.85.216.174]:53708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d50-0006eL-Sa for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:59:15 -0400 Received: by mail-qt0-f174.google.com with SMTP id n61so13378580qte.10 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 05:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eqsDDUKoj04FZuEhbETuP83SXpJ3DM2NO895nvM+FCU=; b=CBa0Fqr2P78rmdyln9Uz4TPK0TCR/+w8sNyNfw44/Icozi64u3XWYuWY7Be7cx2dBN HFkp4UUllwgUEpuaTUk5PzNHELOArMbJsf8qbWcUUMvWL1EW0ohw/IhqzKNRRUzVW5lN 6r8cvGQn1pwBi0n0jsGqAbsUDp+bEPaZSSifR+7wMo59YdZT+ibQYRNAHzzcQVCRIN0D xclLQxbR/BHadKNC7po/geErghuJ0uaW0FWeJtLb/m4a9mmsP+MSRLaTabIPhrrMF40K lmtjI6en4p8CBRGew4qsfz4D4eH46aciJvCJxg4J2SiEkGjxmrf0XrYdXHXz8rRt8N0J R29Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eqsDDUKoj04FZuEhbETuP83SXpJ3DM2NO895nvM+FCU=; b=E0nNJLZ6b1GaZPfqMuk2gyp7V68ecxm7T+n5b8IYayQ33wi8T8So1rqlXpxCG86s74 qW4aBRCa98+NycgVTq3Kpni0zeBMh0bltsAMRyaH4ehPHAwq4xsTOC5hkCfDug1UHhZs 0dpkmFzx+oB8+v0uIap2uPfRoIb7UwoxGTeh9uSC3y/0g0u+HD8+A6jHxMBpM8h2ZJZp zGMG/cPd3IdNfmu5bjnhMpq6FL3lGS8BPDshOrrhcoZu6L3Bg4jUxpcMkFHJA6PGKaVt BqzijmaKUjUDKU2o1trwiDG2itl3gqqOMdZk7DV3Ecks2ynjBmZ1TIYHnKrPoINGRoDh qygQ== X-Gm-Message-State: AMCzsaVQnQfZw51ne20fh/7i3MeVPiHKdaiJWDSltV0UanA3u8S78K3h O/rEl0dCKUsKXbJRVNjRibkspBL5BjO7qbJypRo= X-Google-Smtp-Source: AOwi7QCuPIVHax7k1jORRymjGtkQlQaGa08oyE0fJkVztTMzm3Bv8J7OSlV9qBKTf7hUIkgpSTDVqJDx8cXhhxJ7nRY= X-Received: by 10.129.97.195 with SMTP id v186mr1697073ywb.38.1507813148783; Thu, 12 Oct 2017 05:59:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Thu, 12 Oct 2017 12:58:57 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: =?UTF-8?B?R8O2a3R1xJ8gS2F5YWFscA==?= Content-Type: multipart/alternative; boundary="001a114901221f0045055b591be8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a114901221f0045055b591be8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2017 at 8:50 AM G=C3=B6ktu=C4=9F Kayaalp wrote: > Quite recently I've opened and retreated the similar bug#28791, trying > to trash directories recursively. I did not use a custom > trash-directory, but I got the same error. Turns out that it was > delete-by-moving-to-trash that provoked the error (with an indentical > message to yours). Emptying the ~/.local/share/Trash/ folder solved the > issue for me. I observed that in ~/.local/share/Trash/info/ some > .trashinfo files were created with the name of the directory (say > ) I was trying to delete, one .trashinfo and many > .trashinfo. > That is still a bug in Emacs, at least because the error message is not helpful. It is also in a non-standard format with incorrect capitalizations in-between and doesn't even generate a backtrace by default. Also this issue did not happen on emacs 25.x. --=20 Kaushal Modi --001a114901221f0045055b591be8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 8:50 AM G=C3=B6ktu=C4=9F Kayaalp <self@gkayaalp.com> wrote:
Quite recently I've opened and retreated the similar bug#28791, = trying
to trash directories recursively.=C2=A0 I did not use a custom
trash-directory, but I got the same error.=C2=A0 Turns out that it was
delete-by-moving-to-trash that provoked the error (with an indentical
message to yours).=C2=A0 Emptying the ~/.local/share/Trash/ folder solved t= he
issue for me.=C2=A0 I observed that in ~/.local/share/Trash/info/ some
.trashinfo files were created with the name of the directory (say
<dirname>) I was trying to delete, one <dirname>.trashinfo and = many
<dirname><random=C2=A0bits>.trashinfo.=C2=A0

That is still a bug in Emacs, at least because the error = message is not helpful. It is also in a non-standard format with incorrect = capitalizations in-between and doesn't even generate a backtrace by def= ault.

Also this issue did not happen on emacs 25.x= .
--

Kaushal Modi

--001a114901221f0045055b591be8-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:03:15 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:03:16 +0000 Received: from localhost ([127.0.0.1]:35002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d8t-0006mL-LO for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:03:15 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:52129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d8r-0006m1-IK for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:03:13 -0400 Received: by mail-lf0-f41.google.com with SMTP id r129so5857688lff.8 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 06:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L2Nwvx+KTJpD1gM4t6IjVUmAwYVxnKe/XWezI23HpSc=; b=ultJf/qGxC3nMnv1FPeg3mOrS6FzwN9FO/bPwic/pAb00TG8225zWnHaZ+RZOwSyMh 2PVDfa2AqxPBKcdMFd7cQ5myE20HwxzzpP/KLpATOU+AwYcNCckhakdsvSm2oqaNDILF VFMgGXWZQB9JJeE7ad5lmBx9SwsaYDR63az3Mkg2u5PyKLu8rR4hqN8xi5qcxBvsKbAQ R5gzNHGEacR8BL1iTnsY5/Let+FztTUqmAU/33U6zKrLinqBzVZrtrMkAm5v1AfQ9vQ7 FkLt5bx/peMFhuDHy1IqyYgSClFFXdfiIkA5CFxj6w+0F8quDpbXxJga94f3GGh8qsOh HxLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L2Nwvx+KTJpD1gM4t6IjVUmAwYVxnKe/XWezI23HpSc=; b=UfVn86ERS0QOKeDgdA95jWXLRnvfT+oZ8wX1L+uhAD/He2AdoloIv8469HFF6twWzN 7TLj154oLK6I+gBnfI1+vyJe3wu7hOpt+M65AqrfKY9lOeTFAJzMwPihZzfFocwXfhmN zhqWP3ODmzLN0SaKdJszs51I2NPumyihrrS7xgEptugS4KgQN4l5ZOr+lhF+rKg87XHF yA4dRPAVqTgVEoHBXV5zyyCFUjvld3ui1S5ze3LKyWr3Pwh4JWOfN7g6YLkzyxmykMZM DUHV/DRMSvHHxVeO9Zq2RhcbYUVG+/DbOxQU/4d1iXLuUrszWxYmTTlXxB2Ix3VcH2Jw 50ig== X-Gm-Message-State: AMCzsaUr6ut9wBXuDPZ7S5plUgTWvPDnjGsndWy06ovK4OMgMhCyhzUb IXPIwfzFtW92qOS63qprr/sr5Q163WMGJWg9sdE= X-Google-Smtp-Source: ABhQp+Qiz7Krk6j5Vim3rZFjeasRh+abc2gJZqfP373uwMqGhU2GddJgqPbMLTtGAN6VhOMEoZvLac528OgbfJdMzBk= X-Received: by 10.25.211.73 with SMTP id k70mr844426lfg.51.1507813387597; Thu, 12 Oct 2017 06:03:07 -0700 (PDT) MIME-Version: 1.0 References: <831sm8mskc.fsf@gnu.org> In-Reply-To: <831sm8mskc.fsf@gnu.org> From: Kaushal Modi Date: Thu, 12 Oct 2017 13:02:31 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Eli Zaretskii , =?UTF-8?B?R8O2a3R1xJ8gS2F5YWFscA==?= Content-Type: multipart/alternative; boundary="001a114188aa5affaa055b5929eb" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 Cc: eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a114188aa5affaa055b5929eb Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 8:58 AM Eli Zaretskii wrote: > This use case raises an interesting question: what should be the > behavior of delete-by-moving-to-trash when the Trash directory already > includes a directory by the same name as the non-directory file being > deleted? Are files in the Trash directory generally unimportant > enough to disregard these situations, or does this use case run afoul > of the ability to restore the trashed files later? > The fact that the user deleted the files means that the files were not important. If the user deleted them by mistake, then the trash serves as a last-resort to restore the files from. Trash is not a "backup".. so unlike the Emacs backup, there shouldn't be a need to store multiple revisions of trash. IMO, if a file or a directory exists by the same name in trash, the move-file-to-trash should just overwrite that.. if a foo file already exists and a foo/ dir is being trashed, then just delete the old trashed foo file and replace with the newly trashed foo/ dir. -- Kaushal Modi --001a114188aa5affaa055b5929eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 8:58 AM Eli Zaretskii <eliz@gn= u.org> wrote:
This use case = raises an interesting question: what should be the
behavior of delete-by-moving-to-trash when the Trash directory already
includes a directory by the same name as the non-directory file being
deleted?=C2=A0 Are files in the Trash directory generally unimportant
enough to disregard these situations, or does this use case run afoul
of the ability to restore the trashed files later?
The fact that the user deleted the files means that the files w= ere not important. If the user deleted them by mistake, then the trash serv= es as a last-resort to restore the files from. Trash is not a "backup&= quot;.. so unlike the Emacs backup, there shouldn't be a need to store = multiple revisions of trash.

IMO, if a file or a d= irectory exists by the same name in trash, the move-file-to-trash should ju= st overwrite that.. if a foo file already exists and a foo/ dir is being tr= ashed, then just delete the old trashed foo file and replace with the newly= trashed foo/ dir.
--

Kau= shal Modi

--001a114188aa5affaa055b5929eb-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:16:43 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:16:43 +0000 Received: from localhost ([127.0.0.1]:35012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dLv-00077W-A3 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:16:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dLt-00077K-Gt for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:16:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2dLl-0007dX-6R for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:16:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2dLl-0007dS-2f; Thu, 12 Oct 2017 09:16:33 -0400 Received: from [176.228.60.248] (port=2007 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2dLk-0006O0-EE; Thu, 12 Oct 2017 09:16:32 -0400 Date: Thu, 12 Oct 2017 16:16:22 +0300 Message-Id: <83zi8wld5l.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 12 Oct 2017 12:58:57 +0000) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Kaushal Modi > Date: Thu, 12 Oct 2017 12:58:57 +0000 > Cc: Paul Eggert , 28792@debbugs.gnu.org > > That is still a bug in Emacs, at least because the error message is not helpful. It is also in a non-standard > format with incorrect capitalizations in-between and doesn't even generate a backtrace by default. FWIW, I see no problem with the error message, we produce such error messages in quite a few other places in fileio.c. The capitalization seems okay, too. As for lack of backtrace, that's because the error comes from a C primitive. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:32:08 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:32:08 +0000 Received: from localhost ([127.0.0.1]:35027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2daq-0007XN-7k for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:32:08 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:46705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dao-0007Ws-CK for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:32:06 -0400 Received: by mail-lf0-f42.google.com with SMTP id g70so5950008lfl.3 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 06:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7m1s+34YrovfRzVWXiq2al8N0BQ2HiJvgeYO2JECcoE=; b=h2cmduXGXhH9dHUTY3JMti9wJ+W/+3/+M+vEH0ft7aIz80L8NGiqSpuRavquxQi6MI lZmUdOkGHbp4ALARXsnNjbzj0g8wKkDwldgBKkz6lTNxqgxjzn8L7nb5SrZ/BxoAgBso VJdSx565F8QQB6ahkUZYS6EcMroAuXCTj+xeIjnAB8z1EbQtuhG0n3OUgmZ56m7pB6qi Vm+mfDI1NmoaKIUKzeuBugPNoO1cNHlbD4prIPCQgE7eqTTQhdK/bwZ87x2hybmC7/Mt BZ7SZphc0VqRDb6vO8B6VgutHeeECqRIn3+mf5Hkl41VsE5HG9p+U2UxfU/n74uQCxaR yD2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7m1s+34YrovfRzVWXiq2al8N0BQ2HiJvgeYO2JECcoE=; b=I+6AnkI9/QSxNE/qDTFf/8eElASmrkWlPUNDWVku6xLD/CKcpnzmeEYCPUER5G7x1Y CsJ8Mj77L0KFaAS6vTQ2nxfVZq7UE9xIlGd35cQl99ypeSz+dA52cEnyaTQDo/FcZ9lS crwRhqEXvpnCxfUgoh7OgxFJucAhJ02Ek+n7ZUGbPLEs9aat24CdlU1jgZMXtbbxpfHA O11KtbQcidjcPxknvKUOM3a3BcM1Pjwf4k9W14UhM+HwbfDVxDOjUM4OT/rE3Tl3SVEZ ekMn0jKMkb1cXlKKv8GUxl1VDSsjgkoxXexD8j9b+KjkaWmM4tIehW2GipsO13IoG7vk T2Hw== X-Gm-Message-State: AMCzsaUs6WGxyMLS2mtp6flhjQVeJlIkA1GY0AftZODue5wzUvctWENB tR2Cctsh/tkDpbPGxQJe7uKTGlKLnh7pekVBWoo= X-Google-Smtp-Source: AOwi7QBzmCIkrPCujImYgZVCyK45Rk7h8laP82uHCNONPo1EVuPCGky4St9UaLnM6nM0XSVxOH8906gpuF1jqg5XUoU= X-Received: by 10.46.87.12 with SMTP id l12mr148810ljb.44.1507815120488; Thu, 12 Oct 2017 06:32:00 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> In-Reply-To: <83zi8wld5l.fsf@gnu.org> From: Kaushal Modi Date: Thu, 12 Oct 2017 13:31:49 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Eli Zaretskii Content-Type: multipart/alternative; boundary="f403045f8c56a4d0f0055b5990e2" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --f403045f8c56a4d0f0055b5990e2 Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 9:16 AM Eli Zaretskii wrote: > FWIW, I see no problem with the error message, we produce such error > messages in quite a few other places in fileio.c. The capitalization > seems okay, too. > OK, but it seems non-standard compared to error messages from Elisp land. Shouldn't (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) look like: file-error: Non-regular file: /home/kmodi/.emacs.d/foo is a directory - Why those parentheses? - Why are "N" and "I" capitalized in-between that "sentence".. error messages are usually sentences without ending in period, right? - Above instead looks like a list printed with 3 elements. Also, the error is not-informative.. the user is trying to trash foo/ and knows that foo/ is a directory.. so how would (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) help? > As for lack of backtrace, that's because the error comes from a C > primitive. > For the lack of better understanding, isn't it possible to set the "severity" of certain messages to be of Error status (or something like that), so that a backtrace automatically analogous to what I get on my above-mentioned debug-on-message setting? -- Kaushal Modi --f403045f8c56a4d0f0055b5990e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 9:16 AM Eli Zaretskii <eliz@gn= u.org> wrote:
FWIW, I see no= problem with the error message, we produce such error
messages in quite a few other places in fileio.c.=C2=A0 The capitalization<= br> seems okay, too.

OK, but it seems non-s= tandard compared to error messages from Elisp land.

Shouldn't

(file-error Non-regular file Is a = directory /home/kmodi/.emacs.d/foo)

look like:=

file-error: Non-regular file: /home/kmodi/.emacs.= d/foo is a directory

- Why those parentheses?
- Why are "N" and "I" capitalized in-between that= "sentence".. error messages are usually sentences without ending= in period, right?
- Above instead looks like a list printed with= 3 elements.

Also, the error is not-informative.. = the user is trying to trash foo/ and knows that foo/ is a directory.. so ho= w would

(file-error Non-regular file Is a director= y /home/kmodi/.emacs.d/foo)=C2=A0

help?
= =C2=A0
As for lack of backtrace, th= at's because the error comes from a C
primitive.

For the lack of better under= standing, isn't it possible to set the "severity" of certain = messages to be of Error status (or something like that), so that a backtrac= e automatically analogous to what I get on my above-mentioned debug-on-mess= age setting?
--

Kaushal M= odi

--f403045f8c56a4d0f0055b5990e2-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:35:17 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:35:17 +0000 Received: from localhost ([127.0.0.1]:35035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2ddt-0007cd-08 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:35:17 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:45563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2ddp-0007cO-Ov for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:35:14 -0400 Received: by mail-pf0-f182.google.com with SMTP id d28so4847302pfe.2 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 06:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kspcxlwJV9XuyRi0PK0uLzZZVEymzwltM4kKeahejtA=; b=ckOtWmkaGsRmQ0xRjomT0I4TAGtCPjVRmyG5tmnWEMk1KG3MUR0Zvyse3gTG4Kj07Z FlIEq8PTYwd9S3IMJWpdOFkHPXG6GJDfKkIsJaxpEmYV8UHk/7gp+pYUwzzanUJeRlO+ Q283Mi2AXz1SAyzx7f884C1P+4a9EnzTCHYo7QRe1k6W1gaB3g7RENC/LPVNdeIsnx8i dEK45vAgnNNm/zQQ/UjadPB//vfdbulnx3RxzPYJW2a0PCzcDaoYg8A/DRqXGcFelw0d YAElQtfFU/6xzoZsNK8G5NwlExTYESxj+40GOh3KQuIw44rwJzaa4hWutTYUwQVjPNj0 9uWA== 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=kspcxlwJV9XuyRi0PK0uLzZZVEymzwltM4kKeahejtA=; b=nkQQSfqZwECl6HwnFBXZ+EV08nwrnhpjG4fsonh6rzmgSqXoh7alhRsfH8vLr1SbKz B+24gHXpcW/UvdEgc5CbzK4lUZMIuzwECVZoPSXGRCehutyo3S/1z5Ma4igbCJNxdqM6 fyzIvJSpwllzrUTITsQ0eAFU5UyKqaFrTbWVWrLyvz8T+2mqHZZjhLKj3iMmqtpVxH+r ksIZcI/Qql2dTjl85C/TTlppMVkYQt2dPBr54JnD4E/EzLbq91qzjBjdq/dYj7KJgGdg TuzcII56zniXh+MxwMvs+Q9BQyDX7gxdQnnpK+nwAAIrzbIqyGOTaR1/UG7EYESN8gOa kWag== X-Gm-Message-State: AMCzsaVXq4cjjmSJC/mVl1tE0f3ZauY3YOdpDm6rD7aSAtAGck9GPdBN vXevmed0wJ8MiZEvrj+JOpE= X-Google-Smtp-Source: AOwi7QDXDGtFI+AJA7ZLtm6ujLovii49AakYS1TlhnbHlMFlzRhRRZTpfRJvwFm5qv6+5T6fXO5/HA== X-Received: by 10.99.131.66 with SMTP id h63mr275934pge.156.1507815307585; Thu, 12 Oct 2017 06:35:07 -0700 (PDT) Received: from calancha-pc (MAR90-45.kek.jp. [130.87.90.45]) by smtp.gmail.com with ESMTPSA id j12sm24978911pgs.35.2017.10.12.06.35.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 06:35:06 -0700 (PDT) From: Tino Calancha To: Kaushal Modi Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: Date: Thu, 12 Oct 2017 22:34:59 +0900 In-Reply-To: (Kaushal Modi's message of "Thu, 12 Oct 2017 03:26:26 +0000") Message-ID: <87bmlch4l8.fsf@calancha-pc> 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: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Kaushal Modi writes: I don't have strong opinion about the issue because I don't use the trash either. >From a git bisect: 01c885f21f343045783eb9ad1ff5f9b83d6cd789 is the first bad commit commit 01c885f21f343045783eb9ad1ff5f9b83d6cd789 Author: Paul Eggert Date: Sun Sep 10 15:39:24 2017 -0700 Fix race with rename-file etc. with dir NEWNAME This changes the behavior of rename-file etc. slightly. The old behavior mostly disagreed with the documentation, and had a race condition bug that could allow attackers to modify victims' write-protected directories (Bug#27986). From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:37:32 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:37:32 +0000 Received: from localhost ([127.0.0.1]:35042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dg3-0007gT-QJ for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:37:32 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:32769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dg2-0007gL-2V for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:37:30 -0400 X-Originating-IP: 188.3.108.78 Received: from alpha.alpha (unknown [188.3.108.78]) (Authenticated sender: self@gkayaalp.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 41EE7C5A80; Thu, 12 Oct 2017 15:37:27 +0200 (CEST) From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= To: Eli Zaretskii Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <831sm8mskc.fsf@gnu.org> Date: Thu, 12 Oct 2017 16:37:26 +0300 In-Reply-To: <831sm8mskc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Oct 2017 15:58:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 28792 Cc: 28792@debbugs.gnu.org, eggert@cs.ucla.edu, kaushal.modi@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) On 2017-10-12 15:58 +03, Eli Zaretskii wrote: > This use case raises an interesting question: what should be the > behavior of delete-by-moving-to-trash when the Trash directory already > includes a directory by the same name as the non-directory file being > deleted? Are files in the Trash directory generally unimportant > enough to disregard these situations, or does this use case run afoul > of the ability to restore the trashed files later? > > I don't know the answers, as I intentionally avoid using the system > trash. > The Freedesktop spec [1] says (under "Contents of a trash directory"): A trash directory contains two subdirectories, named info and files. =20=20=20=20 The $trash/files directory contains the files and directories that were trashed. When a file or directory is trashed, it MUST be moved into this directory5 . The names of files in this directory are to be determined by the implementation; the only limitation is that they must be unique within the directory. _Even if a file with the same name and location gets trashed many times, each subsequent trashing must not overwrite a previous copy (a)_. The access rights, access time, modification time and extended attributes (if any) for a file/directory in $trash/files SHOULD be the same as the file/directory had before getting trashed. =20=20=20=20 IMPORTANT NOTE. While an implementation may choose to base filenames in the $trash/files directory on the original filenames, this is never to be taken for granted6. A filename in the $trash/files directory MUST NEVER be used to recover the original filename; use the info file (see below) for that. (If an info file corresponding to a file/directory in $trash/files is not available, this is an emergency case, and MUST be clearly presented as such to the user or to the system administrator). =20=20=20=20 The $trash/info directory contains an =E2=80=9Cinformation file=E2=80= =9D for every file and directory in $trash/files. This file MUST have exactly the same name as the file or directory in $trash/files, plus the extension =E2=80=9C.trashinfo=E2=80=9D7. It seems that the file name under /files/ is not important and only an identifier, used to match the corresponding .trashinfo file, which contains the path the file originally was. Thus, it should be possible to have that be a random string with a sensible prefix (the name of the deleted file), allowing to delete files at identical full-paths without trouble. IMO we can never know how important the files under the Trash/files directory might or might not be, so it would be better to err on the safe side. My trash can looks like this: /home/g/.local/share/Trash =E2=94=9C=E2=94=80=E2=94=80 files =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 testdir =E2=94=94=E2=94=80=E2=94=80 info =E2=94=94=E2=94=80=E2=94=80 testdir.trashinfo And info/testdir.trashinfo like this: [Trash Info] Path=3D/home/g/testdir DeletionDate=3D2017-10-12T15:01:27 I beleive the feature is useful, I myself do quite a bit of mistaken deletings, and even though most of the more important stuff is version controlled, things happen.. [1] https://specifications.freedesktop.org/trash-spec/trashspec-latest.html --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 09:45:20 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 13:45:20 +0000 Received: from localhost ([127.0.0.1]:35047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dnb-0007t3-PE for submit@debbugs.gnu.org; Thu, 12 Oct 2017 09:45:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dnY-0007sm-An for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:45:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2dnN-0006Bw-04 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 09:45:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2dnM-0006BX-Ry; Thu, 12 Oct 2017 09:45:04 -0400 Received: from [176.228.60.248] (port=2041 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2dnM-00086a-6T; Thu, 12 Oct 2017 09:45:04 -0400 Date: Thu, 12 Oct 2017 16:44:53 +0300 Message-Id: <83wp40lbu2.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 12 Oct 2017 13:31:49 +0000) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Kaushal Modi > Date: Thu, 12 Oct 2017 13:31:49 +0000 > Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org > > FWIW, I see no problem with the error message, we produce such error > messages in quite a few other places in fileio.c. The capitalization > seems okay, too. > > OK, but it seems non-standard compared to error messages from Elisp land. When the error comes from a primitive, and quotes a system error message, it always looks like this. E.g., try evaluating this: (insert-file-contents "no-such-file") > Shouldn't > > (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) > > look like: > > file-error: Non-regular file: /home/kmodi/.emacs.d/foo is a directory No, we put the file last because there could be a list of additional objects to print. > - Why those parentheses? It depends on how did you get the error and where did you pick it up from: echo area, *Messages*, *scratch*, something else? > - Why are "N" and "I" capitalized in-between that "sentence".. error messages are usually sentences without > ending in period, right? The "error message" in this case is concocted from several parts, each one has its own capitalization. We used to lower-case some of that, but doing sop has its own problems, because the system error messages can be localized. > - Above instead looks like a list printed with 3 elements. That's because it is. > Also, the error is not-informative.. the user is trying to trash foo/ and knows that foo/ is a directory.. so how > would > > (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) > > help? It tells you that /home/kmodi/.emacs.d/foo is a directory, not a regular file. I'm not saying that the message couldn't be improved, but doing so is only possible in move-file-to-trash, not in primitives below it. > As for lack of backtrace, that's because the error comes from a C > primitive. > > For the lack of better understanding, isn't it possible to set the "severity" of certain messages to be of Error > status (or something like that), so that a backtrace automatically analogous to what I get on my > above-mentioned debug-on-message setting? What you see _is_ an error already. Once again, I think this issue should be resolved so as not to fail file deletion, but let's not muddy the waters by unrelated aspects, such as the error message formatting, which works as designed here. the real problem is elsewhere. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 10:02:36 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:02:36 +0000 Received: from localhost ([127.0.0.1]:36180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e4I-0000Ak-TM for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:02:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:52861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e4H-0000Ad-O6 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:02:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 96E7BAC76; Thu, 12 Oct 2017 14:02:32 +0000 (UTC) From: Andreas Schwab To: Kaushal Modi Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> X-Yow: I hope something GOOD came in the mail today so I have a REASON to live!! Date: Thu, 12 Oct 2017 16:02:32 +0200 In-Reply-To: (Kaushal Modi's message of "Thu, 12 Oct 2017 13:31:49 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, Eli Zaretskii , eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On Okt 12 2017, Kaushal Modi wrote: > OK, but it seems non-standard compared to error messages from Elisp land. > > Shouldn't > > (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo) > > look like: > > file-error: Non-regular file: /home/kmodi/.emacs.d/foo is a directory > > - Why those parentheses? > - Why are "N" and "I" capitalized in-between that "sentence".. error > messages are usually sentences without ending in period, right? > - Above instead looks like a list printed with 3 elements. No, it contains 4 elements: - the error symbol (file-error) - a descriptive string ("Non-regular file") - the system error as a string ("Is a directory") - the offending object ("/home/kmodi/.emacs.d/foo") > Also, the error is not-informative.. the user is trying to trash foo/ and > knows that foo/ is a directory.. so how would copy-file does not support copying non-regular files. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 10:06:48 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:06:48 +0000 Received: from localhost ([127.0.0.1]:36185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e8N-0000Hp-Sx for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:06:48 -0400 Received: from mail-qt0-f178.google.com ([209.85.216.178]:44593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e8M-0000HZ-F5 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:06:46 -0400 Received: by mail-qt0-f178.google.com with SMTP id 8so13823694qtv.1 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 07:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EpQXCgHhovjhDWVYkMTAFpLeQ8oO2se1Mx5+30aNvf4=; b=qRuJIujQf66EqkGIiPh+Vk0UnRp29HC8lfFZzRaXk172HWcRYbjIVIMzyyKFLt/xbB 2KbnrEq3iyDDPz6C5SPOZT6H2POFI++Ka+XqnA2CyYdT5QjAw4Q18HC0U0pj8dQW54uS Vf6SdF8q7GetmQyti120teL+h30TRRv2ONbFik84Wq8Zb62O7W00LGBvc1LGccXGsRrc OjP0Sd6E9/S7ZAh84Wnr92m1VsYW8KvUwgIcBhhePU8wtDb9A4/ZQh1dt+pQiQVj0zzT qFISC7uUnjAz1LD8xEbfSobFnEDu8GLg1/LXADfSChAtirZL2qm0JlKXlM37zq2yoWIE y5bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EpQXCgHhovjhDWVYkMTAFpLeQ8oO2se1Mx5+30aNvf4=; b=WBFmRmRI/enkXtWqS1goaQOmCFHA1wZMjiCIQ+hleGAMoOUO3903UqxFD4C9ds71ZF fb0+Uxv/UH/J9QW+L0Z+cOt2sVnxuDRVpWBztTQk7c5UCWZH+ZK6Luw3+Ss0O1GN0hJo Nu/d6vVP47L+oxfJmGg4piyLl07xeObLhdoXZDEwZn+VLXRpBFaZ0EqhDap0DQVC7dYg w5tvxbHpaRo/dHYnDbOwpoCh4u8vnNOuxH0ifmKD6nNSk35vn81MwB23lKx9kxsVnUp2 82Kda39DXyqOMG1bLTfbmd5TH/N9QPcSJpT3fehWz23pGGvS904V6J9Ixh8VOp04yH9t hAWA== X-Gm-Message-State: AMCzsaUYUveNRUM4qao6IvvuLA2UULllhlQ2dI8Hr3VYNEVSICbeRw3g YjfWfbs/XiMyYnOyk4hKJkpMnMo4oSg87FTWFJI= X-Google-Smtp-Source: AOwi7QBeIyqxD/8QO3XmIROS3Ti7fSYzk6DaVqiJT9Q4oXpkCupAm/hYRsjAO/K+1yxxFrPxqLbaItGHkT8dZ+QpDoE= X-Received: by 10.37.218.138 with SMTP id n132mr685298ybf.447.1507817197911; Thu, 12 Oct 2017 07:06:37 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Thu, 12 Oct 2017 14:06:26 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Andreas Schwab Content-Type: multipart/alternative; boundary="94eb2c07de5277c3b9055b5a0c1b" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, Eli Zaretskii , eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --94eb2c07de5277c3b9055b5a0c1b Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 10:02 AM Andreas Schwab wrote: > No, it contains 4 elements: > > - the error symbol (file-error) > - a descriptive string ("Non-regular file") > - the system error as a string ("Is a directory") > - the offending object ("/home/kmodi/.emacs.d/foo") > Thanks. > > Also, the error is not-informative.. the user is trying to trash foo/ and > > knows that foo/ is a directory.. so how would > > copy-file does not support copying non-regular files. > But it seems to work in some cases i.e. trashing a dir works*. See my recipe in my earlier message in this debbugs thread[1]. Somehow this error has a correlation with relative locations of the user-set trash dir and to-be-deleted dir.. [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28792#11 -- Kaushal Modi --94eb2c07de5277c3b9055b5a0c1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 10:02 AM Andreas Schwab <sch= wab@suse.de> wrote:
No, it c= ontains 4 elements:

- the error symbol (file-error)
- a descriptive string ("Non-regular file")
- the system error as a string ("Is a directory")
- the offending object ("/home/kmodi/.emacs.d/foo")

Thanks.
=C2=A0
> Also, the error is not-informative.. the user is trying to tr= ash foo/ and
> knows that foo/ is a directory.. so how would

copy-file does not support copying non-regular files.
=
But it seems to work in some cases i.e. trashing a dir works= *. See my recipe in my earlier message in this debbugs thread[1]. Somehow t= his error has a correlation with relative locations of the user-set trash d= ir and to-be-deleted dir..=C2=A0

--

Kaushal Modi

--94eb2c07de5277c3b9055b5a0c1b-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 10:24:17 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:24:17 +0000 Received: from localhost ([127.0.0.1]:36202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2ePG-0000kF-IY for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:24:15 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:56230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2ePE-0000jz-77 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:24:12 -0400 Received: by mail-wm0-f43.google.com with SMTP id u138so13934569wmu.4 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 07:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NOSQGyglxHF1WvaYQGem4WGfkLB29Qo29ZqA5K5ertc=; b=p2+Kb/Uur58Ln+Aluqoh+AzXII2hqY/yr6Gb2jgrJeRu4k5rDO9Uz+wcfZgZ4PiB+1 L9vCotfaGi23FPqm/BxOh0VHQbiADQuJV2gwlp+Ctxh2OHJ1cdJ19Z0G9UAhbWf2wRpt 0KPpTTXct3jUfFL2UeLTyBVJz629Yu4ynDUjUkPv2/cZUBevzStSDWX0ZAf5WM9l71Xe +5bg4u8hsTs5ZaiLmQjMOV4iq2o8OrCEka74VHYSe7UkSdQDg/PXh6FR+uve9nlIhqPW Uj496yDkJ28HGZ2mgFpzKlwqRCmKdG8L2iLf0mquEMd7uQJHXm0/8JDGdxofamsfVIQ9 +ZuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NOSQGyglxHF1WvaYQGem4WGfkLB29Qo29ZqA5K5ertc=; b=ev1KeZiH59W1y/xpkE85oq3LLAPZS1vGEKgwN1ChCU3Gzfl4e5l4471nkxDMDw1wME fJ793WgU7f4iSsu+1/AqqcYFCLhhH1nEocUIYZR/p0QIEd1Z6hwymMws+C0J6bdi5E0u pQ1zIaAruWnFBybHfqWFuqqhPVeDLp/242PDU+pqoxAy9W/BgKM+0g4EnIkJBMimZzRL CAyKzyu6Gk6001nRPj5LZvpnexQBFCXS11AVwfRmTqDUTLPOPv8vKhmEZrrnDDUFsrgL FwYRfzn8L7MzAfyUdm+ukyBdoGAmCNRUKFu1PzMMQF5AeFufI2SxnNslk0TR2O5LW2nd ksSw== X-Gm-Message-State: AMCzsaXYFYM+cO29hA3X8kQXB025AXCuQS07be0wA3suRN70mSQO3JdH vznVrJlaSsGhuI6LZUZDGKlYfBjRTdOmaqcti68= X-Google-Smtp-Source: AOwi7QArn5T5SsYQVQ7tFYUiC5ELU5R5sCf7KxVA+fwd5WIzMAv2z9/E10BW7HkXtxAPDh6mmRQHeKf+PoutqMYKlZo= X-Received: by 10.223.131.65 with SMTP id 59mr2165771wrd.66.1507818246394; Thu, 12 Oct 2017 07:24:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.146.193 with HTTP; Thu, 12 Oct 2017 07:24:05 -0700 (PDT) In-Reply-To: <83zi8wld5l.fsf@gnu.org> References: <83zi8wld5l.fsf@gnu.org> From: Noam Postavsky Date: Thu, 12 Oct 2017 10:24:05 -0400 X-Google-Sender-Auth: MGUkgGbyrSVEMryquwpRtDT04r0 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 28792 Cc: =?UTF-8?B?R8O2a3R1xJ8gS2F5YWFscA==?= , 28792@debbugs.gnu.org, Paul Eggert , Kaushal Modi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) On Thu, Oct 12, 2017 at 9:16 AM, Eli Zaretskii wrote: >> From: Kaushal Modi >> Date: Thu, 12 Oct 2017 12:58:57 +0000 >> Cc: Paul Eggert , 28792@debbugs.gnu.org >> >> That is still a bug in Emacs, at least because the error message is not helpful. It is also in a non-standard >> format with incorrect capitalizations in-between and doesn't even generate a backtrace by default. > > FWIW, I see no problem with the error message, we produce such error > messages in quite a few other places in fileio.c. The capitalization > seems okay, too. > > As for lack of backtrace, that's because the error comes from a C > primitive. The lack of backtrace and odd formatting is because of a condition-case in dired-internal-do-deletions: (defun dired-internal-do-deletions (l arg &optional trash) ... (condition-case err ... (dired-delete-file fn dired-recursive-deletes trash) ... (error ;; catch errors from failed deletions (dired-log "%s\n" err) (setq failures (cons (car (car l)) failures))))) Compare (condition-case err (signal 'file-error '("Non-regular file" "Is a directory" "/the/file/")) (error (message "%s\n" err))) vs (condition-case err (signal 'file-error '("Non-regular file" "Is a directory" "/the/file/")) (error (message "%s: %s\n" (car err) (error-message-string err)))) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 10:44:04 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:44:04 +0000 Received: from localhost ([127.0.0.1]:36216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2eiS-0001G8-6j for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:44:04 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:43474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2eiQ-0001FW-Ha for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:44:02 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9CEhsB9013085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 14:43:55 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v9CEhs7g004152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 14:43:54 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v9CEhrAB008631; Thu, 12 Oct 2017 14:43:53 GMT MIME-Version: 1.0 Message-ID: <16dd5f8f-30db-4f31-bdbd-acd79f9f3777@default> Date: Thu, 12 Oct 2017 07:43:52 -0700 (PDT) From: Drew Adams To: Noam Postavsky , Eli Zaretskii Subject: RE: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4588.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 28792 Cc: =?utf-8?B?R8O2a3R1xJ8gS2F5YWFscA==?= , 28792@debbugs.gnu.org, Paul Eggert , Kaushal Modi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) What Noam said. I think the problem with the error message is not that it was composed from multiple pieces. It is that after those pieces have been joined the result is not a normal message. In particular, there should be some punctuation or other separation between the piece that says that the thing is not a regular file ("Non-regular file" or whatever) and the piece that says what is not regular about it ("Is a directory" or whatever). This message is not normal (it is confusing): (file-error Non-regular file Is a directory /the/file/) This message is better (though not ideal): file-error: Non-regular file: Is a directory, /the/file/ From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:07:57 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:07:57 +0000 Received: from localhost ([127.0.0.1]:36229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f5Z-0001sB-Ex for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:07:57 -0400 Received: from mail-qt0-f182.google.com ([209.85.216.182]:46953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f5X-0001rs-Sf for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:07:56 -0400 Received: by mail-qt0-f182.google.com with SMTP id 1so14196786qtn.3 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 08:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fm1fOboF3WaYDf26IsmMI9zfANpNq3V1nld16zpJt20=; b=jy8YqlnxSldLqEB5h8+ryey9oFmPFDiEj1Xg6wSh/T76H0V8a5m6IzjzAtoeF0zPfA eMr6c8tEXzGcoCpwGAMUuQpASfa2dOe53sCDrtEFgXJyIIt7fzpiqbnQvivhEnd65/2b SgNuf6GyV8WT7Iod/orUbVspl64kdhnCuaVT0e+nktDWNcgb3fViHxi62X9NjAVZaUCp 8ZIKdxHi34uKNfui57akoFoWxjhG+75rz7lKsVF7BEDZs4Yo2VjDw6bz3cYxWHtU6gI0 TrKB/SH+Qz0Wn7vZcnlK/V9WW7HwI0HRO07AFzQVoqRR9uDULvhYEq/X7C3CCWECccw9 IoiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fm1fOboF3WaYDf26IsmMI9zfANpNq3V1nld16zpJt20=; b=DVCV4a6RzeajFQ8rXI9YISovlOPRLE2jsuQGH1hEYvDwog+a+OIRZ9pCIND+3494Xa SEBeAOlp1ZL0I8l8bU8vMlE+eBxt5WxrUJPc+IcQ/191vSG/P8R6bZwUYSaaWoLxR7RH M7Vpd/K+GMgfcc19B94+8GpdG0PV9U/oYuOKyhBknuhxeo+WQcP+RT7kwrk8wSv1svzO 37/Y4seVJUFI+ZVTpfNtHIAOlXhttRqaeZx9joy+6eGvieUCn9Zkog7SG/FuSEyg4ufP b4giP26oe6aPaX/JFBp36jzNZuGy9zNqP/oygTh94UUuaKXKuLClF79V4n+adSRjQo5k ewww== X-Gm-Message-State: AMCzsaUxt4ELcWkiHX9Z80AZyHLW3VvHVhvXlwbOXbAZrjTn9wvDZNcB SJqHf3OkmytNgDhe2yDuVQBL8/SRS+/vJ7kEsJA= X-Google-Smtp-Source: AOwi7QCqMdsZncfYN6fbaIjVN5Hr++ZBGVqUs6YuT/loD2DuGzQqM3ppLuXFNvL0+xTBYi/DLAO/7Da+7kDpR5uWoAQ= X-Received: by 10.37.160.203 with SMTP id i11mr1970852ybm.464.1507820866777; Thu, 12 Oct 2017 08:07:46 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Thu, 12 Oct 2017 15:07:35 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Andreas Schwab , eggert@cs.ucla.edu, 28792@debbugs.gnu.org, Eli Zaretskii Content-Type: multipart/alternative; boundary="089e0828e200263a22055b5ae703" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, Drew Adams , Noam Postavsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --089e0828e200263a22055b5ae703 Content-Type: text/plain; charset="UTF-8" Hello all, I have created a new debbugs to discuss and resolve the issue with the error message formatting and it not generating a backtrace: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28797 For the issue pertaining to this bug, the last relevant updates were: - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28792#11 - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28792#44 Let's continue from there... why does that error show up on trashing (i.e. moving, not deleting) a directory, dependent on the value of trash-directory and the location of the directory I am trying to trash? Sorry for taking discussion off-topic. > -- Kaushal Modi --089e0828e200263a22055b5ae703 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

<= /div>
I have created a new debbugs to discuss and resolve the issue wit= h the error message formatting and it not generating a backtrace:=C2=A0https://debbu= gs.gnu.org/cgi/bugreport.cgi?bug=3D28797

For t= he issue pertaining to this bug, the last relevant updates were:
=
-=C2=A0https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28792#44

Let's continue from there... why does that erro= r show up on trashing (i.e. moving, not deleting) a directory, dependent on= the value of trash-directory and the location of the directory I am trying= to trash?

Sorry for taking discussion off-topic.<= /div>
--

Kaushal = Modi

--089e0828e200263a22055b5ae703-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:07:59 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:08:00 +0000 Received: from localhost ([127.0.0.1]:36231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f5b-0001sK-ML for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:07:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:60323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f5Y-0001ry-FN for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:07:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2778DABEE; Thu, 12 Oct 2017 15:07:54 +0000 (UTC) From: Andreas Schwab To: Drew Adams Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> <16dd5f8f-30db-4f31-bdbd-acd79f9f3777@default> X-Yow: After this, I'm going to BURN some RUBBER!! Date: Thu, 12 Oct 2017 17:07:53 +0200 In-Reply-To: <16dd5f8f-30db-4f31-bdbd-acd79f9f3777@default> (Drew Adams's message of "Thu, 12 Oct 2017 07:43:52 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , Noam Postavsky , 28792@debbugs.gnu.org, Kaushal Modi , =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On Okt 12 2017, Drew Adams wrote: > In particular, there should be some punctuation or other > separation between the piece that says that the thing is > not a regular file ("Non-regular file" or whatever) and > the piece that says what is not regular about it ("Is a > directory" or whatever). That can be accomplished by formatting it with "%S". Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:11:14 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:11:14 +0000 Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f8k-0001y6-DX for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:11:14 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:21431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2f8i-0001xo-Pk for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:11:13 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9CFAvet013373 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 15:10:58 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v9CFAvVA001598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 15:10:57 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v9CFAv7S018859; Thu, 12 Oct 2017 15:10:57 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 12 Oct 2017 08:10:51 -0700 (PDT) From: Drew Adams To: Andreas Schwab Subject: RE: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> <16dd5f8f-30db-4f31-bdbd-acd79f9f3777@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4588.0 (x86)] Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , Noam Postavsky , 28792@debbugs.gnu.org, Kaushal Modi , =?iso-8859-9?B?R/ZrdHXwIEtheWFhbHA=?= , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > In particular, there should be some punctuation or other > > separation between the piece that says that the thing is > > not a regular file ("Non-regular file" or whatever) and > > the piece that says what is not regular about it ("Is a > > directory" or whatever). >=20 > That can be accomplished by formatting it with "%S". Of course it can be easily done. It is not being done now. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:16:14 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:16:14 +0000 Received: from localhost ([127.0.0.1]:36246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fDa-00026S-0K for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:16:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fDY-00026F-9Z for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2fDS-0007qK-1g for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:16:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2fCz-0007aX-TS; Thu, 12 Oct 2017 11:15:37 -0400 Received: from [176.228.60.248] (port=4578 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2fCz-0005Ie-8G; Thu, 12 Oct 2017 11:15:37 -0400 Date: Thu, 12 Oct 2017 18:15:27 +0300 Message-Id: <83o9pcl7n4.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 12 Oct 2017 15:07:35 +0000) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28792 Cc: eggert@cs.ucla.edu, npostavs@users.sourceforge.net, schwab@suse.de, 28792@debbugs.gnu.org, self@gkayaalp.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Kaushal Modi > Date: Thu, 12 Oct 2017 15:07:35 +0000 > Cc: self@gkayaalp.com, Noam Postavsky , > Drew Adams > > why does that error show up on trashing (i.e. moving, not deleting) a directory, > dependent on the value of trash-directory and the location of the directory I am trying to trash? Because one directory already includes a file/directory of the same names as the one you are trying to trash, whereas the other one does not. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:27:08 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:27:08 +0000 Received: from localhost ([127.0.0.1]:36252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fO8-0002Nd-20 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:27:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:33435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fO6-0002NW-U3 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:27:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B5645AC8B; Thu, 12 Oct 2017 15:27:05 +0000 (UTC) From: Andreas Schwab To: Kaushal Modi Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> X-Yow: If I am elected no one will ever have to do their laundry again! Date: Thu, 12 Oct 2017 17:27:05 +0200 In-Reply-To: (Kaushal Modi's message of "Thu, 12 Oct 2017 14:06:26 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On Okt 12 2017, Kaushal Modi wrote: > But it seems to work in some cases i.e. trashing a dir works*. See my > recipe in my earlier message in this debbugs thread[1]. Somehow this error > has a correlation with relative locations of the user-set trash dir and > to-be-deleted dir.. That depend on whether the trash is on the same file system as the directory to trash. rename-file now refuses to copy directory across file systems unless the target name ends in a slash. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:31:25 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 15:31:25 +0000 Received: from localhost ([127.0.0.1]:36265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fSG-0002Vp-PC for submit@debbugs.gnu.org; Thu, 12 Oct 2017 11:31:24 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:46361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2fSE-0002Vd-Vn for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 11:31:23 -0400 Received: by mail-qt0-f180.google.com with SMTP id 1so14344061qtn.3 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 08:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P9QEC49IKrA0FsubMtOW0cDQC6mWKC3qmfJJfF2idFI=; b=Nf0xLXFv4k6MYTDmp1jZ1rVdbeMs29VLz9jVgiXQ7ZWsjoEMkc/fHtZpHpmigF6mU8 MwlmzeNhK+JVV+FoyUqFcMa4JEGRE1g0JPJp5IZGmNyRVcw4hSBS8GjihMS7tnvyAVjl rrHYTD0dSid2PqkJ8QHy9n2Ms3th+jDUj7/YHjhU+cm+xiauRI3mTIPylhAKA9fcpaSg sBeLtLvQsaSxRTvjZQvTbuVyvF0iHfiW/OATQK50LDlnfchUetm26FJpgaDgpBdNKeps CgKY2YM/NS8w2CFowuCAAUS1uI3js8z4mRQcc/04q+uRfbTcc9zOgYqIGn+/qw92g+dO ighQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P9QEC49IKrA0FsubMtOW0cDQC6mWKC3qmfJJfF2idFI=; b=Y1qm/TuXWLPSm/d4d4XwFKN1a88UirOgf1H502QjX8nE7qoOg1KXmfsmLKGDBcOX7+ xFFBSipmpqYhTMp0vdibOXhUfefFF1tH1jeAbWXpHerZzGoZJ1FQ/QdInn8eFj5XWWm5 QrSSXk6EQybklo1aPpB5QTjCta1qOFi9lGCRdf5mIhnLfzknrnMU7yWUr88wUirIf/Iy bwc1c/ewRw3fHiuAiIQAtrtGMoEVw+CzshonBy/sjEKobjNfTO5nASZaPPg3fnXJoxmE /dc+1bY1MU1mqqA/w+niRzokFXb+kPM2gVQ1uRRIrctcGOXv8hgy4zZ3Z1Xj7+1Twc01 LhRw== X-Gm-Message-State: AMCzsaVnMRhqvSJL5B7ZolN43aOKu+5Ar8K8nhAtr0vDlCTNEdD+/DBO j5ILBe76BcA+3IIYrMr2FZyzXPi6eMYMpKNuYLI= X-Google-Smtp-Source: AOwi7QADgUjun6ttYC4MF5xBdMHMxyau4AYJ8A9WkkgRHjnP+JRJhk6xTw27OpGx5epri58PsoSTaY/nWbT+NG4gSB8= X-Received: by 10.37.114.87 with SMTP id n84mr1972795ybc.504.1507822276438; Thu, 12 Oct 2017 08:31:16 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Thu, 12 Oct 2017 15:31:05 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Andreas Schwab Content-Type: multipart/alternative; boundary="001a11488d162bf38b055b5b3b6b" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a11488d162bf38b055b5b3b6b Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 11:27 AM Andreas Schwab wrote: > On Okt 12 2017, Kaushal Modi wrote: > > > But it seems to work in some cases i.e. trashing a dir works*. See my > > recipe in my earlier message in this debbugs thread[1]. Somehow this > error > > has a correlation with relative locations of the user-set trash dir and > > to-be-deleted dir.. > > That depend on whether the trash is on the same file system as the > directory to trash. rename-file now refuses to copy directory across > file systems unless the target name ends in a slash. > That means that as dired-do-delete is a wrapper at some level over move-file-to-trash, that slash appending should be done in dired somewhere? -- Kaushal Modi --001a11488d162bf38b055b5b3b6b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 11:27 AM Andreas Schwab <sch= wab@suse.de> wrote:
On Okt 1= 2 2017, Kaushal Modi <kaushal.modi@gmail.com> wrote:

> But it seems to work in some cases i.e. trashing a dir works*. See my<= br> > recipe in my earlier message in this debbugs thread[1]. Somehow this e= rror
> has a correlation with relative locations of the user-set trash dir an= d
> to-be-deleted dir..

That depend on whether the trash is on the same file system as the
directory to trash.=C2=A0 rename-file now refuses to copy directory across<= br> file systems unless the target name ends in a slash.
<= br>
That means that as dired-do-delete is a wrapper at some level= over move-file-to-trash, that slash appending should be done in dired some= where?=C2=A0
--

Kaushal M= odi

--001a11488d162bf38b055b5b3b6b-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 16:25:59 2017 Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 20:25:59 +0000 Received: from localhost ([127.0.0.1]:36395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2k3J-0003bX-VG for submit@debbugs.gnu.org; Thu, 12 Oct 2017 16:25:58 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2k3G-0003bG-Pu for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 16:25:56 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C4429160E2F; Thu, 12 Oct 2017 13:25:48 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id yMTyAtNakyfA; Thu, 12 Oct 2017 13:25:48 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EB560160E4D; Thu, 12 Oct 2017 13:25:47 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cLWCZHQF1BXM; Thu, 12 Oct 2017 13:25:47 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CEFBC160E2F; Thu, 12 Oct 2017 13:25:47 -0700 (PDT) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Andreas Schwab , Kaushal Modi References: <83zi8wld5l.fsf@gnu.org> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> Date: Thu, 12 Oct 2017 13:25:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------538F153F9E30057A84FB7B42" Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792 Cc: self@gkayaalp.com, 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------538F153F9E30057A84FB7B42 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/12/2017 08:27 AM, Andreas Schwab wrote: > rename-file now refuses to copy directory across > file systems unless the target name ends in a slash. Thanks for the diagnosis. This is an unintended consequence of the race-condition patch for rename-file that I installed last month. I installed the attached patch into the emacs-26 branch to fix the bug. --------------538F153F9E30057A84FB7B42 Content-Type: text/x-patch; name="0001-Let-rename-file-rename-dirs-across-filesystems.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Let-rename-file-rename-dirs-across-filesystems.patch" >From 21df0eec6d056c88c7ffbd5a1c0f76661702d5cf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 12 Oct 2017 13:08:53 -0700 Subject: [PATCH] Let rename-file rename dirs across filesystems Problem diagnosed by Andreas Schwab (Bug#28792#65). This fixes a bug that I introduced in 2017-09-10T22:39:24@eggert@cs.ucla.edu "Fix race with rename-file etc. with dir NEWNAME". * src/fileio.c (Frename_file): Copy a source directory across file system boundaries even if its name does not end in slash. --- src/fileio.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index 4bbcec6f17..e57bf46015 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2260,7 +2260,7 @@ This is what happens in interactive use with M-x. */) (Lisp_Object file, Lisp_Object newname, Lisp_Object ok_if_already_exists) { Lisp_Object handler; - Lisp_Object encoded_file, encoded_newname, symlink_target; + Lisp_Object encoded_file, encoded_newname; file = Fexpand_file_name (file, Qnil); @@ -2334,12 +2334,22 @@ This is what happens in interactive use with M-x. */) if (rename_errno != EXDEV) report_file_errno ("Renaming", list2 (file, newname), rename_errno); + struct stat file_st; bool dirp = !NILP (Fdirectory_name_p (file)); + if (!dirp) + { + if (lstat (SSDATA (encoded_file), &file_st) != 0) + report_file_error ("Renaming", list2 (file, newname)); + dirp = S_ISDIR (file_st.st_mode) != 0; + } if (dirp) call4 (Qcopy_directory, file, newname, Qt, Qnil); else { - symlink_target = Ffile_symlink_p (file); + Lisp_Object symlink_target + = (S_ISLNK (file_st.st_mode) + ? emacs_readlinkat (AT_FDCWD, SSDATA (encoded_file)) + : Qnil); if (!NILP (symlink_target)) Fmake_symbolic_link (symlink_target, newname, ok_if_already_exists); else -- 2.13.6 --------------538F153F9E30057A84FB7B42-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 17:41:46 2017 Received: (at 28792-done) by debbugs.gnu.org; 12 Oct 2017 21:41:46 +0000 Received: from localhost ([127.0.0.1]:36439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2lEg-0005XN-DN for submit@debbugs.gnu.org; Thu, 12 Oct 2017 17:41:46 -0400 Received: from mail-qt0-f170.google.com ([209.85.216.170]:52884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2lEe-0005XA-Ed for 28792-done@debbugs.gnu.org; Thu, 12 Oct 2017 17:41:45 -0400 Received: by mail-qt0-f170.google.com with SMTP id o52so16222241qtc.9 for <28792-done@debbugs.gnu.org>; Thu, 12 Oct 2017 14:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LAoLr2Z83zNgZ2eVFAJ2rCQz4whmkcrIDq2uJVhSLEA=; b=pMDIUszYxGhLMEbE66cGDDJwY8Dd+x5cVGaaxEZWo4l5xrXrtsanEj1qkmO3PhNenE tUcTun7sJyCab0TIZC4pRkFZrt0KcO7X2IFiyh4LnWJRGh5lFzhhDrW5Lio35FO/HL8E /vxFNBjLB73SGmo9J8wVdTzhWVstSOdqIvHcU763IlVoS40GlbwVqU4a+/9iWq2TdHat YjyyofC4AHq/guSdu3e3xJjThffImV5KUHx290GRe2Qwx+UZpeRXmOyPGZb7bBlWM6xS IbdQ10Ac3EPgkGG52JYT82z3RI21oeWJOCgBI7ZC7A5qvRLsRnckMARKQ2uXBB5q1dfa eZTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LAoLr2Z83zNgZ2eVFAJ2rCQz4whmkcrIDq2uJVhSLEA=; b=K+WwmZonHKhFcqa5zozyH4npwk21/lc3L5K9LzVMZKDD/cEFXzv9lG3ZLiuEx/V70W AmVXSTUFHh4nXSxkeUCEFGUPftX7LWgp0BFwGuCdRMCsOiJv79TVZmGQIq9uvQppUR8d B8SbxrCPIpS8BfaZ/rcQv9aBxumoXDv3lYvQ+gEQhXtp2knAlWeaD5OvS3DLcMu9uv5U v2cbyo04aJrTdceiKQHUWiEaSXDPpu23UjsxhLe6njJOdOsRFMuS8q9KKeggQJZFzF/x Vh9QkJHNM6Aq5o6CqqyEZswXsB96UgZKzlrQIej6D+0457hKRh4v3HQdusDQLMtT6k1R 62MA== X-Gm-Message-State: AMCzsaWi54kJ1EoL8xl73gm3430rCMwGKwY3mQF7+Y92Fr3iHKziVjZh Fszm1B43nC7nwGYSoxXFutJ1UG8MgUXcGle5M+4= X-Google-Smtp-Source: AOwi7QDp+CxDPgMyp4Sdxk1xFh80BFPu3rUzRqH4jsobuD1ubsRdmMkSFdqKyGvjg1ObKsf95lm8wuMv5k2Q/4v1zXU= X-Received: by 10.37.114.87 with SMTP id n84mr2638444ybc.504.1507844498778; Thu, 12 Oct 2017 14:41:38 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> In-Reply-To: <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> From: Kaushal Modi Date: Thu, 12 Oct 2017 21:41:28 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Paul Eggert , Andreas Schwab , 28792-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary="001a11488d16b9f238055b60676e" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792-done Cc: self@gkayaalp.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a11488d16b9f238055b60676e Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 4:25 PM Paul Eggert wrote: > On 10/12/2017 08:27 AM, Andreas Schwab wrote: > > rename-file now refuses to copy directory across > > file systems unless the target name ends in a slash. > > Thanks for the diagnosis. This is an unintended consequence of the > race-condition patch for rename-file that I installed last month. I > installed the attached patch into the emacs-26 branch to fix the bug. > Awesome! Thank you! I confirm the bug fix. -- Kaushal Modi --001a11488d16b9f238055b60676e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 4:25 PM Paul Eggert <egg= ert@cs.ucla.edu> wrote:
On 1= 0/12/2017 08:27 AM, Andreas Schwab wrote:
> rename-file now refuses to copy directory across
> file systems unless the target name ends in a slash.

Thanks for the diagnosis. This is an unintended consequence of the
race-condition patch for rename-file that I installed last month. I
installed the attached patch into the emacs-26 branch to fix the bug.

Awesome! Thank you! I confirm the bug fix.= =C2=A0
--

Kaushal Modi

--001a11488d16b9f238055b60676e-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 05:23:39 2017 Received: (at control) by debbugs.gnu.org; 14 Oct 2017 09:23:39 +0000 Received: from localhost ([127.0.0.1]:38834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3IfT-00040w-8r for submit@debbugs.gnu.org; Sat, 14 Oct 2017 05:23:39 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:54469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3IfS-00040i-K3 for control@debbugs.gnu.org; Sat, 14 Oct 2017 05:23:38 -0400 Received: by mail-pg0-f68.google.com with SMTP id l24so2996582pgu.11 for ; Sat, 14 Oct 2017 02:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=mG+Ov//FQ5HUkaQhN4qydqwbWBo5V1tkEGyFWoh7iws=; b=EQGw2+KceMglGFABFUiwCwkMdMTsv2GZoSETX2fk0JzwvZQkrH0TLqAZ7Yhy/JvlpC eBTbdQMcnK4HtBHb916gdwD0N8Ub1eimSL0jL0zBfvRXg19Wi5giJUjft/+e6G5a3Nfm SZ+bl2itsvt6BOSNKoxu3SsnyANQWTtNQwa6dRjnUoqJ/+e+QDL4Mzhzmb2rdEqRO4Pt mB+B8HIBb8UWbCUhWKtc1LItgHSN+psT/5+h3fDKIXdJbHDV/i6/gDwiSQMBrRNBIxcL W0Xhr+G+7XVINezH7mnYCOZf9hQhAUe75Mq/YQMFbpEqZsP2XAgPwwvOfulNOPIGtteR sjZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=mG+Ov//FQ5HUkaQhN4qydqwbWBo5V1tkEGyFWoh7iws=; b=rg4+r/M5sLu0izmJC0m8Yl+yWhXNO7cyEPecr/PboaHeBzuIkdfddutDSnQ30ARhOB pwtBguVXwb6cnQaepYj/wdGbUmIksj3wkpxLyx0gqDl8Ag229MU8CpmDIvH2/Xrmvl9H h1bx4P0Nd9w+sdGsksrgQyHBJY5Z6g46zc7Stb75C8CZPoxrA6acRxPGi2QxOW3DS7/K IODkyMbOo0EHfMJG0ndZDbct3wIFtS903Pfs2Os06I+4pInlM8E8dpzl57T6xPGGIZ+S V2k1naRlRjfVd827Mt2Yk2vqcyIR20TERR0IKfL4b+6xCna4b7PBa9gB0Af8p2NxK1Zo UqQg== X-Gm-Message-State: AMCzsaXx9P/UCOR/tXdJjMDCAAiUxlPMH/RiUY4m8QEBbAAIONhta+3Z AFYaus1kbMwxOFDHufLWqkiorA== X-Google-Smtp-Source: AOwi7QBaw/JmSL6chT75S0cYPh4pbPRjIR6jBgTuxfjCYM0kcJizkH6u3cM+NCc+/5+kwYBwogH93Q== X-Received: by 10.99.136.198 with SMTP id l189mr3343871pgd.165.1507973012663; Sat, 14 Oct 2017 02:23:32 -0700 (PDT) Received: from calancha-pc ([103.5.140.135]) by smtp.gmail.com with ESMTPSA id z9sm7052397pgc.85.2017.10.14.02.23.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 02:23:32 -0700 (PDT) Date: Sat, 14 Oct 2017 18:23:30 +0900 Message-Id: <87h8v23wx9.fsf@gmail.com> To: control@debbugs.gnu.org From: Tino Calancha Subject: control message for bug #28828 X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 28828 28792 [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [103.5.140.135 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.83.68 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.83.68 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.83.68 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 28828 28792 [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.83.68 listed in dnsbl.sorbs.net] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [103.5.140.135 listed in zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.83.68 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.83.68 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders forcemerge 28828 28792 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 15 03:19:09 2017 Received: (at 28792-done) by debbugs.gnu.org; 15 Oct 2017 07:19:09 +0000 Received: from localhost ([127.0.0.1]:40874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3dCW-0001gT-R2 for submit@debbugs.gnu.org; Sun, 15 Oct 2017 03:19:08 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3dCV-0001gH-NS for 28792-done@debbugs.gnu.org; Sun, 15 Oct 2017 03:19:08 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 57C5616015F; Sun, 15 Oct 2017 00:19:00 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8eabtUSnq3lE; Sun, 15 Oct 2017 00:18:59 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AA32F160E58; Sun, 15 Oct 2017 00:18:59 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tVCmXV9J5kaJ; Sun, 15 Oct 2017 00:18:59 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.18.85]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 4EB2816015F; Sun, 15 Oct 2017 00:18:59 -0700 (PDT) Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Kaushal Modi , Andreas Schwab , 28792-done@debbugs.gnu.org References: <83zi8wld5l.fsf@gnu.org> <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Sun, 15 Oct 2017 00:18:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28792-done Cc: self@gkayaalp.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Kaushal Modi wrote: > I confirm the bug fix. Thanks for checking; closing the bug report. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 15 09:35:35 2017 Received: (at 28792-done) by debbugs.gnu.org; 15 Oct 2017 13:35:35 +0000 Received: from localhost ([127.0.0.1]:41062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3j4p-0004n4-AM for submit@debbugs.gnu.org; Sun, 15 Oct 2017 09:35:35 -0400 Received: from mail-qt0-f172.google.com ([209.85.216.172]:49283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3j4n-0004mr-LI for 28792-done@debbugs.gnu.org; Sun, 15 Oct 2017 09:35:33 -0400 Received: by mail-qt0-f172.google.com with SMTP id k31so27088920qta.6 for <28792-done@debbugs.gnu.org>; Sun, 15 Oct 2017 06:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9222OnGFkgqIDYktjfcy/YnPXziqy6rmrzTZJBwPQLw=; b=mkW7+CpwrnI9rCPjrIrPCS+9t0yUNnJw7YzPmbHNikQMFZX46iXACblUGgpEpLNCxj oGmvuyvvrGDhmwbBK/NnhfJj1nknvy983/6X37bgP+GPjRrO9+zxymTOKrcXoDVKucpn maKvozdDtmQ2bPdVy/OQIKNp7TxxVqxHL5zroUbLfES4xDf+6gyufyZqIYgRnDKXDkDh hUTyoR+Sw8P7TnlZVgMqscG7bdUey3QV+JnSrEQCrDafaPEN0yH3KWcrx4Vt6kcNG7Fn tkDSyZyqSNxzoauu+4oqf/PRHJg4JWUAlMv5bf20wkq4SJjaHVttId9RQaEhgGYfPHW+ EQKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9222OnGFkgqIDYktjfcy/YnPXziqy6rmrzTZJBwPQLw=; b=FJbtunZtQLXKVQ5i9YpVwey0sCHRWyFF5Pi5oBaTvj/QSX56XwOguk8MEc5A2gFYiU ANbz0w3xSVTUYTuWZf0QQn+Z0A7NIgdgrvDwsgMgYOaDSeI0zfqGMrVhkxVgHN9eMTAl ypMnAS2VMgqB/FdfoHNri1t/f7fCT7tbwCfiVl/S0YEtyTDd0vUHRec/1fPJQOa09leg j8JGv1LV+4cWTj7f51rW7u+ekRZ1oWgJzVCTD/ionIlF/5Lcxip8RH5+oyfxWhKHHNPN +8ASreqBdGxSM3abXgWzuj1lfUz4Gb0CtqertNpC+ZBfviKso9cE6ULatvN3x3TfAcvB L/5w== X-Gm-Message-State: AMCzsaWtVu3OiKuswBTUMy9ZGIs+xi2xynpAp9mvgRcwWpuyVoh1Ylkv 8O1cO91WYIfVvVrbQVhwSGcN2yUCPXCiWGnTloA= X-Google-Smtp-Source: ABhQp+SEeF37dOs3HjgVSzhF9p2SwtfMwJfSJbqMb9LD6zR9K5iLxNBWzEtFL3NxS/zuXWp34cqUZ/LfoeXrAQQdEr4= X-Received: by 10.129.71.66 with SMTP id u63mr326599ywa.210.1508074527999; Sun, 15 Oct 2017 06:35:27 -0700 (PDT) MIME-Version: 1.0 References: <83zi8wld5l.fsf@gnu.org> <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> In-Reply-To: From: Kaushal Modi Date: Sun, 15 Oct 2017 13:35:16 +0000 Message-ID: Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error To: Paul Eggert Content-Type: multipart/alternative; boundary="001a114d7266894f81055b95f64e" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 28792-done Cc: 28792-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a114d7266894f81055b95f64e Content-Type: text/plain; charset="UTF-8" On Sun, Oct 15, 2017, 3:19 AM Paul Eggert > Thanks for checking; closing the bug report. > Thanks. I had though already closed it by emailing to the -done address in my last email. I even received a bug-closing confirmation after that. Is it that the bug got reopened automatically when Tino merged it with another bug, and so it had to be re-closed? > -- Kaushal Modi --001a114d7266894f81055b95f64e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 15, 2017, 3:19 AM P= aul Eggert=C2=A0
Thanks for checking; closing the bug report.
Thanks. I had though already closed it by emailing to the -done= address in my last email.=C2=A0

I even received a= bug-closing confirmation after that.=C2=A0

Is it = that the bug got reopened automatically when Tino merged it with another bu= g, and so it had to be re-closed?
--

Kaushal Modi

--001a114d7266894f81055b95f64e-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 15 09:47:39 2017 Received: (at 28792) by debbugs.gnu.org; 15 Oct 2017 13:47:39 +0000 Received: from localhost ([127.0.0.1]:41068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jGV-00055E-Dg for submit@debbugs.gnu.org; Sun, 15 Oct 2017 09:47:39 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:50569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jGT-00054y-7t for 28792@debbugs.gnu.org; Sun, 15 Oct 2017 09:47:37 -0400 Received: by mail-it0-f54.google.com with SMTP id 72so16211204itl.5 for <28792@debbugs.gnu.org>; Sun, 15 Oct 2017 06:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WBRkV/nRxQn6ktWX3d6HUaAuPkgcTDsFHPJs3K76eiQ=; b=rHHe4FRoxWf9tUi3lJLzW8Ths92MkxR5GbvrKuebBvsd/w5uKbPSAsrYRhFVNAlSUa hiiLYGawQdg86QehUhg4oPP2M90lKogv821X9QiAslXZvxc4QmBr1FHcLNYboNo873Mc m9Q6AsHGg8EpbsuE2M4wnWEQ9R/rOtx5MvXglsefo8fm3A9RSBr+lCFSdgVFBBhFS8Lh pFubU5P8LwM+JICAYGYDBS1z2mPh9AHBiKPBSFc27yrDrjyqYHTt+ip28pmTWmwJekr0 xTtfTbecUVzYcCSNelIUntOp1/Eqp8Uc2djbNrGkB2Ux4Utzx+iOFrH2m18DLpI9GqJO Vv5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=WBRkV/nRxQn6ktWX3d6HUaAuPkgcTDsFHPJs3K76eiQ=; b=C8g+nPbBITVkYYM0pbigPWDM59inxAZgAc45CLJyQS/YsqTo6bVZX/VtVOldmqt7xT ZfNPZckwUoUiyPtrzPTn3TFabRWOZybAWsABCZXs/PpXXiitUDA0Z5klpzrHGPTPLRHg HDVgDwtqijqPCqQZwotlBzdjk5CZvqCgeWn1S5stBrtNUE/LLwDQmw1pK9BrSHb8AlYq qEk6CjsimzMOSBUv4E00+6IoNmLrSDdqLebsRjcLMo+utMtuhUl+iOM9ZxMRY4st8zc4 3DyjHDKit+EHM3YB9KklWsoMSy+Z+E4YzNIa3hI/dnTojRSuXy+Uae/60JX+t6jxwbUa om0g== X-Gm-Message-State: AMCzsaU88efLHGxsT93EdzzwltJ+ljaCdr6XeLOU8BwRMG0iGKb0nbBs LGYV+T5Chj5qqAdVRyrQbKJszQ== X-Google-Smtp-Source: ABhQp+R+iiTDt6dIukxdRvhi6tJXbt6PMAp2zEthttyKgXE/uyDfraSe8J2J/o8hMLzAn3ts2Cyk1Q== X-Received: by 10.36.83.202 with SMTP id n193mr10170498itb.134.1508075251250; Sun, 15 Oct 2017 06:47:31 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i82sm2492047ioe.62.2017.10.15.06.47.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Oct 2017 06:47:30 -0700 (PDT) From: Noam Postavsky To: Kaushal Modi Subject: Re: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error References: <83zi8wld5l.fsf@gnu.org> <04f4ac98-93b4-7356-8251-304c3601fe86@cs.ucla.edu> Date: Sun, 15 Oct 2017 09:47:28 -0400 In-Reply-To: (Kaushal Modi's message of "Sun, 15 Oct 2017 13:35:16 +0000") Message-ID: <87wp3w8qvj.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 28792 Cc: Paul Eggert , 28792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Kaushal Modi writes: > Is it that the bug got reopened automatically when Tino merged it > with another bug, and so it had to be re-closed? Looks like, yes. The command was 'forcemerge 28828 28792' which puts the open bug first, hence this bug gets reopened. https://debbugs.gnu.org/cgi/bugreport.cgi?msg=78;bug=28792 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 20 20:41:36 2017 Received: (at control) by debbugs.gnu.org; 21 Oct 2017 00:41:37 +0000 Received: from localhost ([127.0.0.1]:52883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hr6-00059v-K8 for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:41:36 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:51655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hr4-00059e-6o; Fri, 20 Oct 2017 20:41:34 -0400 Received: by mail-it0-f50.google.com with SMTP id o135so537165itb.0; Fri, 20 Oct 2017 17:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=xbkNd74cV9VqrJe/WtfvR9RfilKQt5HaRemwscSvVa4=; b=Afo03buMzNJCkbGSM7vKRcRV+BtV6BYQmxNSqyj1FoSRae1I4F6yp4vamRO2+dXrxT P6R/O0aRac2pInMLu5jEY1Ztw3wXQwTOh9gVwUx6e3cn1QxDjL5zoNFzMCM+i3w8lzns 8A/4TiRXzezr1Oc7uVku2CVoh80UxNmMY2nJNNCM0pLOBmSn2LQgDKV/v71YwSJxoppj w0/aXAtvXfAr9tkWYx/c8tKu3Zx+ehyxZ49ibTvVBpHh6CbSUIaM2/yshhKSdPMkLa2q ziPekWutQicQ0+neRGgw+jRYCeKOhSUwhWlrbwZkAR6w/VBUdv78qc2WK+yElKnokLeP A3zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=xbkNd74cV9VqrJe/WtfvR9RfilKQt5HaRemwscSvVa4=; b=qqAz+nCVgCGaLRlxBXIcZqI0ScEKZz32ZiD+N4wEDZz0JPswkjkNvT/O5K05yEVoRT CzmtdXhP9Oi7gBcxKGCU5cW58pJFBxEweR7J6OIrrFMdaVJCGgfgB3S/yuUCzd36EhNH LRphWR/NbpLyVlrrVzLnCr+BicKNIfwDF8yXnn3wFZyxaeJ9o2VvRPv76HTbxJ4+3G5P V4d3shEUiudTvr8Q0MmBRUEbqcogTBsbe0qQ+52tBqhwRTai6huG54xDNlAqCIMWupI1 aXhFKbHOde8BBJdH9XrmYhe60FSHyVYI/uJzMhMtTu4nt/etk8bsH4mb0OIAxrYipFTO qv2Q== X-Gm-Message-State: AMCzsaWS3G/c/EPgbmbbRorB3uqYSaCgVwWjUSCCEK+db9QjywLsaELY UB9KG6TIfMi4YEA4rfhdpWk6yw== X-Google-Smtp-Source: ABhQp+SRNOPNIhw7B0kqUJ/YWYPUUo9WAsvUwSCRnqx36v/VI58yjQl4h7d4w/J7YXvxxrOS/VsUUQ== X-Received: by 10.36.203.194 with SMTP id u185mr756114itg.120.1508546488251; Fri, 20 Oct 2017 17:41:28 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s16sm1087282itb.15.2017.10.20.17.41.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 17:41:26 -0700 (PDT) From: Noam Postavsky To: Adam Plaice Subject: Re: bug#28519: 26.0.50; Dired move of directory across partition boundary fails References: Date: Fri, 20 Oct 2017 20:41:25 -0400 In-Reply-To: (Adam Plaice's message of "Fri, 20 Oct 2017 18:20:19 +0100") Message-ID: <87wp3pe3ii.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: John Wiegley , 28519@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tags 28792 fixed close 28792 26.1 merge 28519 28792 quit Adam Plaice writes: > I think that this bug is a duplicate of #28792, which is fixed. > > (In any case, as of b500e06f4d05dc094b79f8f2c063e070a5a3306e on > emacs-26, the issue is resolved. I think the actual fix is > 2f4bd2fbdaccbaa61fe9b5adb56ba9e8f3d49505.) > > Thanks! > Adam Closing. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 20 20:46:12 2017 Received: (at control) by debbugs.gnu.org; 21 Oct 2017 00:46:12 +0000 Received: from localhost ([127.0.0.1]:52903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hvY-0006Ve-Cz for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:46:12 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:46051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hvW-0006P2-Kq for control@debbugs.gnu.org; Fri, 20 Oct 2017 20:46:10 -0400 Received: by mail-it0-f53.google.com with SMTP id n195so542968itg.0 for ; Fri, 20 Oct 2017 17:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=R2yae1h2D/NGuEtflVhDMPWgUYfFRrtcjtDfkr3kLUg=; b=L0AF1k9vrcvPNq4sxXoWmb1S/ljf/BzTXzWDA15p/SBMQ4PEhkbCGXpGBP6V4qlgnr Hw78/TlW+llvCojvQLyKjvtGHFk9dqPZ7qCG8QsEkXfu+slbYcy6pT20+u4hmj/1pHBS 9k2KcSnAynEl6XhwHNDpwGKCPsDy+nOreTdCJnBewsT/RwPbKZbCrIL2QxIorCnPS5un TtSnSbqA53EoEvqmUlnpefx852rIuRICXNuo1Kn2WQh0zrsmRW1EW9dGXVWfFMlDR4un 82p7xMVk6G58Vfym5mdTLpMZ1T9Y/N37bp8fTpkA275s4CDrL+KmCMah1nihjma7h5IS eOpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=R2yae1h2D/NGuEtflVhDMPWgUYfFRrtcjtDfkr3kLUg=; b=HmGsN52XnGhH4+wc1ObsSR7uz89+3Jkb6MImXOtGdGe/AVPkyt3yMcgW92wvPhfiu1 SrpUAm97cl39V52FnsAZ6Z34vpPEMBsgmBZqwmSjU9v6Um6J8T535/Xq2CSMsaOupMRP fdGEdEY1FMkbwsMMkce7CnLaUH3ii0a2+YHggtFs1LJYjIZJI+o8+/0ae3hjfyMen8An Ae2rZpIdX+lmys7z7caxufKmnc401YO8PZcsttoC8mBS0Md7/WEIIUKihHBjgcE5ZjoC PMvTwvP09tlWSl8HMsJ2ktqn99PUVP7sv6td+OcwhdVNEJvrGpL2DM6DiEOa3HoYbHyR ROsQ== X-Gm-Message-State: AMCzsaViZ9XXeNE+TaeacliW/kSiPAA1ITiu3h0w05v1sMJpwaTVAIAn ygoN2TbV33hefSNMv6IvBK9xYw== X-Google-Smtp-Source: ABhQp+Tw1Vob66Lu+S7uwPYYRDVi1NDY/F8Yw2IBRp9FAvRc5e+9FmDv/D9jY2Sz27JncbVMuZfS/Q== X-Received: by 10.36.121.215 with SMTP id z206mr813092itc.110.1508546764968; Fri, 20 Oct 2017 17:46:04 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 16sm868334ioc.88.2017.10.20.17.46.03 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 17:46:04 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #28519 Date: Fri, 20 Oct 2017 20:46:03 -0400 Message-ID: <87shede3as.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tags 28519 fixed close 28519 26.1 merge 28519 28792 quit From unknown Fri Jun 20 07:17:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Nov 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator