Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我将 Windows 路径(例如“C:\foo\bar\bat”)复制到 Windows 剪贴板,我可以将其粘贴到 Emacs 缓冲区中,但不能用它做很多其他事情,因为反斜杠显然是被解释的作为逃脱。我该怎么做才能使 Emacs Lisp 中的字符串可解析?
如果您希望将反斜杠解释为反斜杠,则应使用双反斜杠
IE
("C:\\foo\\bar\\bat")