bug-gnu-emacs
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#32274: (interactive "F") silently expands a directory to the current
From
:
Andrea Cardaci
Subject
:
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
Date
:
Thu, 26 Jul 2018 00:26:17 +0200
The value returned by (interactive "F") is not the one provided by the user.
1. Create a file, say /tmp/foo.el:
(defun foo (path)
(interactive "F")
(message path))
2. M-x evaluate-buffer
3. M-x foo and chose /tmp/.
The value presented in the echo area is /tmp/foo.el, this is undesirable and very dangerous IMHO. It happens with both Emacs 24 and 26.
Is this a bug or I'm overlooking something?
Andrea
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
,
Andrea Cardaci
<=
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
,
Noam Postavsky
,
2018/07/25
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
,
Andrea Cardaci
,
2018/07/25
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
,
Noam Postavsky
,
2018/07/25
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
,
Andrea Cardaci
,
2018/07/26
Prev by Date:
bug#29919: 26.0.90; Incorrect Edebug spec for cl-macrolet
Next by Date:
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
Previous by thread:
bug#31498: [PATCH] Notify systemd in daemon-initialized and, , kill-emacs
Next by thread:
bug#32274: (interactive "F") silently expands a directory to the current buffer's path
Index(es):
Date
Thread