emacs lisp 中的扩展文件名函数出错
Error with expand-file-name function in emacs lisp
我在 Arch Linux 下使用 Emacs 25.2.1。
当我尝试用 expand-file-name
扩展 /..
或 /../
或 /../rest/of/path
路径时,没有任何变化。这是一个错误吗?我可以使用其他(更好的)功能吗?
谢谢
这是预期的行为:/../
是某些文件系统上的 "super-root":
Some Unix systems support a directory below the root directory. Normally, "/.." points back to the same inode as "/", however, under MUNIX, this can be changed to point to a super-root directory, where remote trees can be mounted. If, for example, two workstations "pcs2a" and "pcs2b" were connected via "connectnodes" and "uunite" startup script, "/../pcs2b" could be used to access the root directory of "pcs2b" from "pcs2a".
我在 Arch Linux 下使用 Emacs 25.2.1。
当我尝试用 expand-file-name
扩展 /..
或 /../
或 /../rest/of/path
路径时,没有任何变化。这是一个错误吗?我可以使用其他(更好的)功能吗?
谢谢
这是预期的行为:/../
是某些文件系统上的 "super-root":
Some Unix systems support a directory below the root directory. Normally, "/.." points back to the same inode as "/", however, under MUNIX, this can be changed to point to a super-root directory, where remote trees can be mounted. If, for example, two workstations "pcs2a" and "pcs2b" were connected via "connectnodes" and "uunite" startup script, "/../pcs2b" could be used to access the root directory of "pcs2b" from "pcs2a".