【问题标题】:scripting with eshell使用 eshell 编写脚本
【发布时间】:2012-01-15 09:36:08
【问题描述】:

有没有办法编写 .sh 脚本以从 eshell 缓冲区中使用?使用 eshell(elisp) 特定命令?

我希望 ediff $1 $2 在 eshell 缓冲区中从我的 compare.sh 执行。

【问题讨论】:

    标签: emacs eshell


    【解决方案1】:

    如果您有 emacsserver 正在运行,请尝试:

    emacsclient --eval '(ediff-merge-files "FILE1" "FILE2" nil "NEWFILE")'
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-04
      • 2011-09-04
      • 1970-01-01
      • 1970-01-01
      • 2010-11-12
      • 2015-05-23
      • 2015-05-15
      • 1970-01-01
      相关资源
      最近更新 更多