help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make a thread version of dired-do-copy


From: Shuguang Sun
Subject: How to make a thread version of dired-do-copy
Date: Sun, 10 Jun 2018 16:07:50 +0800

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 via email to

[Prev in Thread] Current Thread [Next in Thread]