简体   繁体   English

Cygwin Emacs,Windows Everything和^ M.

[英]Cygwin Emacs, Windows Everything and ^M

Within a Cygwin Emacs, how is it possible to use Helm (and the fantastic es command-line tool from Everything) to locate files on Windows? 在Cygwin Emacs中,如何使用Helm(以及来自Everything的精彩es命令行工具)在Windows上查找文件?

I've the thing running easily, except that there are ^M after every file name from the es output. 我的事情很容易运行,除了es输出的每个文件名之后都有^ M.

Adding 添加

("es" undecided-dos . undecided-unix)

in process-coding-system-alist did not solve anything... process-coding-system-alist没有解决任何问题......

How can we fix this? 我们该如何解决这个问题?

This is how to resolve the problem: 这是解决问题的方法:

;; Strip `^M' characters.
(add-to-list 'process-coding-system-alist
             '("sh" . (undecided-dos . undecided-unix))) ; `es' process.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM