all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shuguang Sun <shuguang@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to make a thread version of dired-do-copy
Date: Sun, 10 Jun 2018 16:07:50 +0800	[thread overview]
Message-ID: <CACspjXdNb9Y=m8=YSYqjgJVmOwiRVjs8RJ_Qn7mVMzWcM2xXmA@mail.gmail.com> (raw)

Hi all,

I try to make a thread version of dired-do-copy as below

(defun foo-dired-do-copy ()
  (interactive)
  (make-thread #'dired-do-copy))

However, it doesn't works very well:
1. if ido-everywhere is t, then I can't input the target directory with
error
funcall-interactively: Symbol's value as variable is void: ido-require-match
funcall-interactively: Symbol's value as variable is void: ido-cur-item
funcall-interactively: Symbol's value as variable is void:
ido-pre-merge-state [3 times]

2. if disable ido-everywhere, it raised a GUI window (in Windows 7) to ask
the target directory instead of the minibuffer. How could I still use the
minibuffer to input the targe directory?


GNU Emacs 27.0.50 (build 2, x86_64-w64-mingw32) of 2018-06-04
Windows 7

Best Regards,
Shuguang


             reply	other threads:[~2018-06-10  8:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-10  8:07 Shuguang Sun [this message]
2018-06-10 15:13 ` How to make a thread version of dired-do-copy Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2018-06-11  8:50 Shuguang Sun

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='CACspjXdNb9Y=m8=YSYqjgJVmOwiRVjs8RJ_Qn7mVMzWcM2xXmA@mail.gmail.com' \
    --to=shuguang@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.