all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 39057@debbugs.gnu.org
Subject: bug#39057: 27.0.60; copy-file interactive VS from lisp disagreement
Date: Fri, 10 Jan 2020 09:54:46 +0200	[thread overview]
Message-ID: <837e1zagqh.fsf@gnu.org> (raw)
In-Reply-To: <87eew8z6js.fsf@calancha-pc.dy.bbexcite.jp> (message from Tino Calancha on Thu, 09 Jan 2020 22:03:19 +0100)

> From: Tino Calancha <tino.calancha@gmail.com>
> Date: Thu, 09 Jan 2020 22:03:19 +0100
> 
> 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) 

I cannot reproduce this, so there must be more here than meets the
eye, like whether /tmp/foo existed before the 'touch' command (and if
so, what kind of file is it and what are its attributes), the contents
of your home directory that could have something to do with this, etc.

So please step through the code and tell where it fails and why.
Alternatively, try reproducing this in a cleaner environment (a home
directory and /tmp could have a lot of files), and see if something
changes then.

Or maybe you didn't actually type the slash in "~/" when invoking the
command interactively?

Thanks.





  reply	other threads:[~2020-01-10  7:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 21:03 bug#39057: 27.0.60; copy-file interactive VS from lisp disagreement Tino Calancha
2020-01-10  7:54 ` Eli Zaretskii [this message]
2020-01-10 11:55   ` Tino Calancha
2020-01-10 13:48     ` Eli Zaretskii
2020-01-10 14:12       ` Eli Zaretskii
2020-01-13 18:37         ` Stefan Monnier
2020-01-15 20:35         ` Stefan Monnier
2020-01-16 14:31           ` Eli Zaretskii
2020-01-16 15:20             ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837e1zagqh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39057@debbugs.gnu.org \
    --cc=tino.calancha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.