小编mtg*_*red的帖子

如何使用无效的Windows文件名处理在Linux上提交给Git的文件?

我提交了一些名称中包含':'和'"'字符的文件,这些文件在Windows上无效.当我尝试从Windows机器上git pull时,它会给我一个错误消息.

有没有办法在Windows机器上重命名这些文件?或者还有其他解决方法吗?

linux windows git

10
推荐指数
1
解决办法
1001
查看次数

仅在打开Python文件时加载Pymacs和Ropemacs?

我用Pymacs加载ropemacs绳索与以下行我的.emacs描述文件在这里.

(autoload 'pymacs-load "pymacs" nil t)
(pymacs-load "ropemacs" "rope-")
Run Code Online (Sandbox Code Playgroud)

然而,由于加载Ropemacs需要一段时间,因此它显着减慢了Emacs的启动速度.

我尝试了以下行,但每次打开Python文件时都会加载Ropemacs:

(add-hook 'python-mode-hook (lambda () (pymacs-load "ropemacs" "rope-")))
Run Code Online (Sandbox Code Playgroud)

有没有办法pymacs-load在打开Python文件时执行操作,但只有在尚未加载ropemacsrope时

python emacs ropemacs pymacs

5
推荐指数
1
解决办法
2352
查看次数

标签 统计

emacs ×1

git ×1

linux ×1

pymacs ×1

python ×1

ropemacs ×1

windows ×1