From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#45691: 28.0.50; dired-do-copy leaks metadata in remote Dired buffers Date: Wed, 06 Jan 2021 15:45:41 +0100 Message-ID: <87h7nuceei.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29541"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, uyennhi.qm@gmail.com To: 45691@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 06 15:46:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxA4j-0007a9-5D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 15:46:13 +0100 Original-Received: from localhost ([::1]:47146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxA4i-0004Kx-73 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 09:46:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxA4a-0004Ko-VC for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 09:46:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxA4Z-0007vy-Gi for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 09:46:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxA4Y-0006He-AC; Wed, 06 Jan 2021 09:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: michael.albinus@gmx.de, uyennhi.qm@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2021 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45691 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: michael.albinus@gmx.de,uyennhi.qm@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.160994435024127 (code B ref -1); Wed, 06 Jan 2021 14:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2021 14:45:50 +0000 Original-Received: from localhost ([127.0.0.1]:43864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxA4M-0006H5-Ff for submit@debbugs.gnu.org; Wed, 06 Jan 2021 09:45:50 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxA4L-0006Gy-Dm for submit@debbugs.gnu.org; Wed, 06 Jan 2021 09:45:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxA4K-0004G5-Pj for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 09:45:49 -0500 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:45855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxA4H-0007mY-J3 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 09:45:46 -0500 Original-Received: by mail-wr1-x436.google.com with SMTP id d26so2621042wrb.12 for ; Wed, 06 Jan 2021 06:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=eGQFgeaSSOFX3S2rsMeo4S4t9ODghbtaqf96Kaks1FI=; b=Lhe2KO3ZQoLPycTTdEo5nMd0qkwhq/6CdCJtt0iSkx8hQWDUWTzRafdLNj01xjwx8G mfFhePaWCNtGsQcLAWKPPGCNVde9YEl4PGiRR0haJT/4SVfaqFf4cRkGULOWD/xzVFGI EsXQ3Fp2z97XySHfwoSYPwriVJhXwRgfWtEGb70OoJtIGTPzMdROrpUZ4eMgf52Uha8r iNNa2W8GCuePk0htHMsuu4QPPKem1RbTmopY1LZUWvgIam3WZmaOUkeIWnAmEtJzTmVy XNiqzzMZ8hp0dUAi7r7QXMROJY6MKjI7XZk4YxdOhoSdBh/5EzpA9QTBps0G7eLPomG4 +knw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=eGQFgeaSSOFX3S2rsMeo4S4t9ODghbtaqf96Kaks1FI=; b=Xqmic9zZJPCwwGL5Hg5Qf8ii9LxQhsZVT9nl1coWqUXe/yxj/SZHdeee34bM/WR5zn jCULRn+p3tfT1UfMFhRUJDM21kRkXDXCJMRL/G3fx0yMHcJMsaFcWh9XcyskhfH2VKPw zwf7g3b/h/ZJktrQABdamGj71oEBJy3LY+rmyMRDYmoHYftD8HUBbiyk333TMb0oaIj+ ZIo3zZwQVDbQbEv6eyXkNKEcOWA4UvZvFe5EDanr8FdjjcSYzeWKwfVv1R9FKO2BbcR7 893/7pQYZ7on5FnXZ4Q90U9N2fyACB01Cd7USY+pvLXxooouH25xxsa2yEDYxTEJwTg9 5UsQ== X-Gm-Message-State: AOAM530/H2w0WDaQ103qzOV1xeDbQBqIKxYK2aIEaiHQublBD/nsBwAt 8Qqb0V7pFj+UbxFAmYpOaplZ3+iX5YQEUQ== X-Google-Smtp-Source: ABdhPJws/4zmSh0p6Bf5bS8QSdxdRx3KzGRsXYgJ3rNPsbHol2bGOs3pa0DHB7RyKSaoPEkzEz2NVg== X-Received: by 2002:a5d:5105:: with SMTP id s5mr4463515wrt.136.1609944343509; Wed, 06 Jan 2021 06:45:43 -0800 (PST) Original-Received: from localhost.example.com ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id z22sm3240107wml.1.2021.01.06.06.45.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 06:45:42 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=tino.calancha@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197422 Archived-At: X-Debbugs-Cc: michael.albinus@gmx.de,uyennhi.qm@gmail.com After commit 'Fix error in tramp-sh-handle-insert-directory' (f5a1315f1ea035f30d1161e4af200acafdfebe01) copying a file with `direddo-copy' inserts internal metadata in the Dired buffer. To reproduce: emacs -Q /sudo::/home/USERNAME ;; copy an existent file in a Tramp Dired buffer as follows: j test-file RET C test-file-copy RET ;; In addition to the copied file, the following internal metadata is included in the buffer: //DIRED// 41 48 //DIRED-OPTIONS// --quoting-style=literal In GNU Emacs 28.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2021-01-06 built on localhost.example.com Repository revision: f5a1315f1ea035f30d1161e4af200acafdfebe01 Repository branch: bisect Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: openSUSE Tumbleweed Configured using: 'configure --with-x-toolkit=lucid' Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS PDUMPER Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired-aux dired dired-loaddefs tramp-cache tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs cl-loaddefs cl-lib password-cache json subr-x map seq byte-opt gv bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 71072 9392) (symbols 48 8335 1) (strings 32 26609 1818) (string-bytes 1 939429) (vectors 16 15206) (vector-slots 8 209157 11436) (floats 8 40 31) (intervals 56 1065 322) (buffers 984 12))