为什么我的Emacs在Cygwin运行在Windows 7,总是创建崩溃转储? [英] Why my Emacs in Cygwin running on Windows Seven, always create Crash Dump?

查看:191
本文介绍了为什么我的Emacs在Cygwin运行在Windows 7,总是创建崩溃转储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常满意GNU工具在我的Cygwin在Windows 7上运行。我认为更容易只是使用GNU / Linux,但我的公司在这里有使用Windows Seven的Programmer编程环境的政策。所以,解决方案是Cygwin。然而,我使用Emacs密集地用于我的编程目的。



但是,看来Emacs运行在Cygwin中创建一个一致的(phrew)崩溃转储打印在控制台上。我不得不刷新它使用C-l,但是这让我想知道:什么是问题吗?



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



处理googlecl-list已完成

  
*博客列表中的博客标题:gblog:

12719501 [main] emacs-X11 1168 exception :: handle:Exception:STATUS_ACCESS_VIOLATION
12720164 [main] emacs- X11 1168 open_stackdumpfile:将堆栈跟踪转储到emacs-X11.exe.stackdump
12889237 [main] emacs-X11 764 exception :: handle:Exception:STATUS_ACCESS_VIOLATION
12889852 [main] emacs-X11 764 open_stackdumpfile:Dumping堆栈跟踪到emacs-X11.exe.stackdump

并且它总是创建emacs-X11.exe.stackdump 。它总是发生在我从emacs运行另一个过程,也就是说如果我从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 :这里是相关的部分,以确保Windows 7 Emacs与cygwin一起使用 -

  -windows 
(progn
(add-hook'comint -output-filter-functions
'shell-strip-ctrl-m nil t)
(add-hook'输出过滤器函数
'comint-watch-for-password-prompt nil t)
(setq显式shell文件名bash.exe)
(setq shell-file -name explicit-shell-file-name)))

使用nano,这不会核心转储。


I quite satisfied of how GNU tools run in my Cygwin on Windows Seven. I think it's easier just to use GNU/Linux, but my company here has the policy of using Windows Seven for the Programmer programming environment. So, the solution is Cygwin. And I use Emacs intensively for my programming purpose.

But, it seems that Emacs running in Cygwin create a consistent (phrew) crash dump that printed on the console. I had to refresh it using C-l, but that makes me wonder : what is the problem anyway?

Does anyone has the same problem here? And what is the solution. This is my example of running org-googlecl.

Process googlecl-list finished


*  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

And it always create emacs-X11.exe.stackdump. It always happen when I run another process from within emacs, that is if I run a batch file from Emacs.

Thank you

解决方案

I have had this same problem in running console emacs through cygwin on Windows 7.

My solution to this was to install the native GNU Emacs Windows client: http://ftp.gnu.org/gnu/emacs/windows/ and set cygwin's bash.exe as my shell.

You can see my emacs.d/init.el at https://github.com/tildedave/init.el/blob/master/init.el: here is the part relevant to making sure that the Windows 7 Emacs plays well with 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)))

For light-weight in-console editing I use nano, which does not core dump.

这篇关于为什么我的Emacs在Cygwin运行在Windows 7,总是创建崩溃转储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆