[Mew-dist 1523] (probably) bug of mew-input-file-name (in mew-minibuf.el)
Takashi P.KATOH
p-katoh at example.com
1997年 8月 18日 (月) 17:41:16 JST
かとぺ@東北大です。
たぶんバグだと思います。
(describe-function 'read-file-name)
| read-file-name: a built-in function.
|
| Read file name, prompting with PROMPT and completing in directory DIR.
| Value is not expanded---you must call `expand-file-name' yourself.
| Default name to DEFAULT if user enters a null string.
| (If DEFAULT is omitted, the visited file name is used.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
| (read-file-name PROMPT &optional DIR DEFAULT MUSTMATCH INITIAL)
なので、今のままだと default が正しく処理されないと思います。
--
東北大学大学院 情報科学研究科 白鳥研究室 加藤 貴司
p-katoh at example.com / Takashi P.KATOH
http://www.shiratori.riec.tohoku.ac.jp/~p-katoh/MAIL/
--- mew/mew-minibuf.el Wed Aug 13 16:48:46 1997
+++ mew-minibuf.el Mon Aug 18 17:35:37 1997
@@ -150,7 +150,7 @@
(setq file (concat "~" mew-path-separator default))
)
)
- (expand-file-name (read-file-name msg file))
+ (expand-file-name (read-file-name msg file file))
))
(defun mew-input-directory-name ()
Mew-dist メーリングリストの案内