让 vc-diff 在 Emacs 23.2 中使用 ediff
这在 Emacs 23.1.x 中运行良好,但在迁移到 Emacs 23.2 时似乎已损坏。
我想在将文件的工作副本与 SVN HEAD 进行比较时使用 ediff。
通常我按Cx v =并且ediff运行,因为我的.emacs中有以下配置
;; Use ediff and not diff
(setq diff-command "ediff")
但是,唉,我仍然出现正常的vc-diff缓冲区,并且没有ediff会话...
还有其他人遇到过这个吗并知道可能是什么问题?
Had this working well in Emacs 23.1.x but it appears to have broke in the move to Emacs 23.2
I want to use ediff when comparing working copy of a file with SVN HEAD.
Normally I press C-x v = and ediff runs because of the following configuration in my .emacs
;; Use ediff and not diff
(setq diff-command "ediff")
But, alas I still get the normal vc-diff buffer appearing and no ediff session...
Has anyone else encountered this and know what might be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我有点怀疑上面的设置是否达到了你所说的效果。
也就是说,这将绑定 '=' 以使用
'ediff-revision
:Am a bit skeptical that the above setting did what you say it did.
That said, this will bind '=' to use
'ediff-revision
:我使用命令 vc-ediff 跳过输入文件名:只需将当前修改的副本与基本版本 (HEAD) 进行比较。
然后
Cx v =
将启动 Ediff 会话。I use the command
vc-ediff
to skip entering the file names: just compare the current modified copy with the base version (HEAD).Then
C-x v =
will bring up the Ediff session.发现我可以将 Cx v = 重新绑定到以下内容:
这种方法意味着您不必指定要比较的版本,因为它默认比较 HEAD 和当前文件状态。
来源:http://www.groupsrv.com/computers/about152826.html
Found out I could just rebind C-x v = to the following:
This approach means you avoid having to specify the versions to compare as it defaults to comparing HEAD and the current file state.
Source: http://www.groupsrv.com/computers/about152826.html