配置emacs 24 - 删除原始符号链接?

时间:2015-11-07 15:27:02

标签: macos emacs installation

已安装emacs 24并尽力摆脱Mac OSX预装版本。

我认为我已经通过运行以下内容正确地摆脱了所有事情(并在此过程中了解了El Capitan's rootless feature

$ sudo rm /usr/bin/emacs
$ sudo rm -rf /usr/share/emacs

现在是删除旧符号链接的时候了,但我认为在这样做之前我会做一次健全检查。我删除了哪些符号链接?最终目标是能够默认运行最新的emacsclient

# This is what I want to be default
$ /usr/local/bin/emacsclient -t
/usr/local/bin/emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
/usr/local/bin/emacsclient: No socket or alternate editor.  Please use:

  --socket-name
  --server-file      (or environment variable EMACS_SERVER_FILE)
  --alternate-editor (or environment variable ALTERNATE_EDITOR)

# here is /usr/local... which should I delete?
$ ls /usr/local/bin | grep emacs
emacs
emacs-24.5
emacsclient

# and here is /usr/bin... (not sure the difference)
$ ls /usr/bin | grep emacs
emacs
emacs-undumped
emacsclient

# need to change below to latest emacs...
# ---------------------------------------
$ which emacs
/usr/bin/emacs

$ which emacsclient
/usr/bin/emacsclient

$ emacsclient -t
emacsclient: invalid option -- t
Try `emacsclient --help' for more information

0 个答案:

没有答案