【问题标题】:emacsclient dialog on WindowsWindows 上的 emacsclient 对话框
【发布时间】:2010-11-07 07:29:09
【问题描述】:

我正在使用来自http://www.emacswiki.org/emacs/EmacsW32 的 EmacsW32。 EmacsClient 效果很好——用它打开文件总是使用现有的 emacs。但是,第一次启动 emacs 会打开一个对话框,其中显示“Waiting for emacs server to start...”文本,这很烦人。有什么方法可以抑制这个对话框,或者至少在它连接时自动关闭它?

[编辑] 问题是第一次启动 emacsclientw 会弹出此对话框,该对话框连接到 emacs-server,但随后没有关闭。我正在寻找一种方法来使此对话框在连接后关闭,或者首先不显示。这可能吗?

【问题讨论】:

    标签: windows emacs emacsclient


    【解决方案1】:

    尝试使用-a 开关。 -a 用于设置后备编辑器。在 Windows 中,你不能运行带有 --daemon 标志的 emacs,所以如果你像 emacsclient -a emacs 一样运行 emacsclient(假设它在你的 PATH 中)并且你已经设置了 emacs-server,那么第一次运行 emacsclient将启动 emacs 服务器,所有后续运行都将使用该服务器。

    【讨论】:

      【解决方案2】:

      不确定是否有更新,或者我只是不耐烦,但似乎对话框在延迟几秒钟后自行关闭。

      【讨论】:

        猜你喜欢
        • 2010-11-21
        • 1970-01-01
        • 2012-10-11
        • 2011-02-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多