在Emacs中反转视频光标 [英] Reverse video cursor in Emacs

查看:154
本文介绍了在Emacs中反转视频光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何使Emacs中的光标在黑色的底下显示为白色?



截图来自Carbon Emacs包,但我想在Cocoa Emacs 23中有相同的行为。

解决方案

至少在我的Emacs版本中,默认光标。您可以使用 M-x自定义面RET RET光标RET 来更改它。如果要停止光标闪烁,可以使用 Mx自定义变量RET眨眼光标模式RET



更新:由于您更新了您的帖子以提及您正在使用的Emacs版本,我可以确认这是适用于Mac OS X的Cocoa Emacs 23中的错误。我看到您的意思 - 没有什么似乎反转下面的角色。



有一个补丁来修复(部分)这里



这个和其他问题确保我还在使用Carbon Emacs。


How do I make the cursor in Emacs a black box with underneath text displayed in white?

like so:

Screenshot is from the Carbon Emacs package, but I want the same behavior in Cocoa Emacs 23.

解决方案

At least in my version of Emacs, that is the default cursor. You can use M-x customize-face RET cursor RET to change it, if you want. If you want to stop the cursor from blinking, you can use M-x customize-variable RET blink-cursor-mode RET.

Update: Since you updated your post to mention the version of Emacs you're using, I could confirm that this is a bug in Cocoa Emacs 23 for Mac OS X. I see what you mean - nothing seems to invert the character underneath.

There's a patch to fix it (partially) here.

This and other issues ensure I'm still using Carbon Emacs.

这篇关于在Emacs中反转视频光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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