为什么我的Emacs在Cygwin上运行Windows 7,总是创建崩溃转储?

我非常满意GNU工具在Windows 7上运行的Cygwin。我认为使用GNU / Linux更简单,但是我公司的这个方案有使用Windows 7作为程序员编程环境的政策。那么解决方案就是Cygwin。而我的Emacs集中用于我的编程目的。

但是,似乎在Cygwin中运行的Emacs会在控制台上创建一个一致的(phrew)故障转储。我不得不使用C-l刷新它,但是这让我很奇怪:反正有什么问题?

有人有同样的问题吗?什么是解决方
这是我运行org-googlecl的例子。

处理googlecl-list完成

*  List of blogs with  in the *  List of blogs with  in the title                       :gblog:

12719501 [main] emacs-X11 1168 exception::handle: Exception: STATUS_ACCESS_VIOLATION
                                                                                    12720164 [main] emacs-X11 1168 open_stackdumpfile: Dumping stack trace to emacs-X11.exe.stackdump
                      12889237 [main] emacs-X11 764 exception::handle: Exception: STATUS_ACCESS_VIOLATION
                                                                                                         12889852 [main] emacs-X11 764 open_stackdumpfile: Dumping stack trace to emacs-X11.exe.stackdump

它总是创建emacs-X11.exe.stackdump。它总是发生在我从emacs中运行另一个进程时,就是如果我从Emacs运行一个批处理文件

谢谢

我在Windows 7上通过cygwin运行控制台emacs也遇到了同样的问题。

我的解决方案是安装本机GNU Emacs Windows客户端:http://ftp.gnu.org/gnu/emacs/windows/,并将cygwin的bash.exe设置为我的shell。

您可以在https://github.com/tildedave/init.el/blob/master/init.el看到我的emacs.d / init.el:这里是确保Windows 7 Emacs与cygwin一起播放的部分,

(if is-windows 
    (progn 
      (add-hook 'comint-output-filter-functions
                'shell-strip-ctrl-m nil t)
      (add-hook 'comint-output-filter-functions
                'comint-watch-for-password-prompt nil t)
      (setq explicit-shell-file-name "bash.exe")
      (setq shell-file-name explicit-shell-file-name)))

对于重量轻的控制台编辑,我使用nano,而不是核心转储。

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...