From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#39057: 27.0.60; copy-file interactive VS from lisp disagreement Date: Thu, 09 Jan 2020 22:03:19 +0100 Message-ID: <87eew8z6js.fsf@calancha-pc.dy.bbexcite.jp> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="156830"; mail-complaints-to="usenet@blaine.gmane.org" To: 39057@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 22:04:46 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipeyX-000KIV-MO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2020 22:04:17 +0100 Original-Received: from localhost ([::1]:37242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipeyW-0000fw-Hf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2020 16:04:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50346) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipeyJ-0000fn-If for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:04:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipeyI-0005oQ-D1 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipeyI-0005n5-6o for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipeyI-0000Ub-16 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2020 21:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39057 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15786038231867 (code B ref -1); Thu, 09 Jan 2020 21:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Jan 2020 21:03:43 +0000 Original-Received: from localhost ([127.0.0.1]:53145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipexz-0000U2-DX for submit@debbugs.gnu.org; Thu, 09 Jan 2020 16:03:43 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipexx-0000Tv-Hh for submit@debbugs.gnu.org; Thu, 09 Jan 2020 16:03:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48542) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipexw-0000f5-0y for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:03:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipexu-0003ue-OC for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:03:39 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34173) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipexu-0003mo-GU for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2020 16:03:38 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id t2so8980324wrr.1 for ; Thu, 09 Jan 2020 13:03:37 -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=tkxJM6NdjOflEeTcfa82oJD8TlgWVV7vkhc2cjji5RU=; b=Jcj9DRS63DHTnwqhicvL73/j+YVhE0psQ6Og9Patd3vEF6NbruBU1PVqx4BMDPmGPc QhbMDZnvLtNL3W/Rt+7+qhFhVCzQYsGOiP1qHgrEc7bVEkvpXFYYqXnOKm1h3wpxrOzz hwEhH1vYzFtWwTivW8tGqwf3jhrpz699Z7rh+LUBE5sHB3FodK9DI7fBoJ7/ET9Ix61k sAdOTI+wc21EEZ53dCfkjarjZB6IMPmIFDxWDlW1H4RHQ7BLEoILmApapCKbQrI++ooa LU0llY6d2TjNnQf3BP8Kk3nUZjz3xi2V3vmzLbg7+v8mDKXCx6Xetu7YqNX39qAIA4Jr 39Nw== 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=tkxJM6NdjOflEeTcfa82oJD8TlgWVV7vkhc2cjji5RU=; b=jnxvIpkwCmJkZUG+DTxMrN5LfMAnjscP1XHFcJCPaqk/iyg9uJiiljU+QUev3c32Ig MTI/ZlOQiAaitzc1Z8gg/FsaFI1+HzXKWedih1/C3LWuMEFP8JHgesA6rUK5MA8sVADn jhmzvs6kV7KuFJNrvFL6KEFmAWDAMzyJP1ub19dQaPEPOY6BFOqUAwfBUqwNMGINyeuX E2DwWYS/uvYe57QTsgEgLir2eJVRwVQGVYMoH/1aWC9LjyTYbLX0rW9To5I/RB3DgHl5 MNQlQ7NrGXtNetbwHPxYDVj3HMPUqsy1Ej6/63/Ap6OqUniLCTtqzDkQwGTiP0H+CO9k KDJw== X-Gm-Message-State: APjAAAWnvsgKd8/PpsN1zt5M5UTG1ypCLVl4jADhFkWtxsmOZJigT4JC 7Y5NqKOd9GhPrnOC/tRq8giU93AN X-Google-Smtp-Source: APXvYqx9xuxWSoZzEDjrGl8x8M5xNAvMgpE3FkWH9A1ePgS7xnXkekJRGZYW7nPDZl1aoeiDMX9+Dg== X-Received: by 2002:a5d:6a02:: with SMTP id m2mr12409551wru.52.1578603816472; Thu, 09 Jan 2020 13:03:36 -0800 (PST) Original-Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id t1sm4205513wma.43.2020.01.09.13.03.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 13:03:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org gmane.emacs.bugs:174420 Archived-At: Observed a disagreement when calling `copy-file' interactively VS calling it from Lisp. This is a recipe: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; emacs -Q: $ touch /tmp/foo M-x copy-file RET /tmp/foo RET ~/ RET ;; Received prompt: ;; File /home/calancha already exists; copy to it anyway? (y or n) ;; In the other hand, the following works, i.e., it creates ~/foo M-: (copy-file "/tmp/foo" "~/") => nil ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Reproduced w/ Emacs 26-27; with Emacs 25, the interactive call creates ~/foo as expected. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 27.0.60 (build 30, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2020-01-09 built on calancha-pc.dy.bbexcite.jp Repository revision: 58412402959d8f88e230f95c5fc7de072e115140 Repository branch: emacs-27 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. funcall-interactively: File already exists: /home/calancha nil Mark set Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: 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 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 format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired dired-loaddefs term/xterm xterm byte-opt gv bytecomp byte-compile cconv 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 loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 53485 9324) (symbols 48 6097 1) (strings 32 15475 1668) (string-bytes 1 503791) (vectors 16 7253) (vector-slots 8 77927 8490) (floats 8 22 306) (intervals 56 2921 0) (buffers 1000 12))