LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3661|回复: 17

独立界面的emacs有什么好处呢?

[复制链接]
发表于 2006-4-19 21:30:47 | 显示全部楼层 |阅读模式
我的意思是指那种用了gtk,自己拥有一个独立X界面运行的emacs,。
我自己是一直在一个terminal里面运行emacs的,因为X11 terminal比如xterm/rxvt之类的,都会使用X的字体,所以字体配置从来都不是问题,emacs自然会用你为xterm设定的字体。我以前也曾费劲地去搞emacs的中文显示问题,但是后来发现这个意义真的不大,就在xterm里面运行emacs,什么问题都没有了。
因为没有怎么用过不用-nw参数启动的emacs,所以现在想知道那样有X11支持的emacs有什么更强或者更好的特性吗?能带来什么特别的方便吗?对了,可能鼠标事件的响应是要好很多吧,但是我想用emacs的本意可能就是不想经常去摸鼠标吧。
发表于 2006-4-21 11:21:41 | 显示全部楼层
这个...

比如auctex下, 上下标能用不同大小和位置的字体来做fontlock. term里fontlock就只有颜色之分了吧


又比如preview-latex可以在当前buffer里on the fly显示typesetting的效果,公式多的话很方便的, -nw的emacs就不行

http://www.gnu.org/software/auctex/preview-latex

再比如 imaxima 可以捕捉inferior maxima的tex输出然后以图片形式显示计算结果的公式

http://members3.jcom.home.ne.jp/imaxima/Site/Welcome.html

怎么方便怎么用嘛何必放着鼠标不用呢
回复 支持 反对

使用道具 举报

发表于 2006-4-30 11:46:44 | 显示全部楼层
大部分时候用鼠标是比较低效率的
能少用就少用,习惯了以后就不想用了,呵呵

X下的Emacs可以用tab呀,多爽……
至于字体,有时候确实也很头疼,term下就爽歪歪

即爱又恨吧!
回复 支持 反对

使用道具 举报

发表于 2006-5-1 22:57:33 | 显示全部楼层
terminal下面用speedbar不方便,而且独立界面可以定义的快捷键比终端下多,比如Ctrl+Enter,如果是在纯终端下,我甚至不能用Alt来按M-  ,只能去按老远的ESC,好麻烦。
回复 支持 反对

使用道具 举报

发表于 2006-5-2 18:58:35 | 显示全部楼层
我在termianl下能用右边的alt键作M-,左边的不行。
回复 支持 反对

使用道具 举报

发表于 2006-5-2 22:32:29 | 显示全部楼层
Post by whiz
我在termianl下能用右边的alt键作M-,左边的不行。

请问这是为何?
回复 支持 反对

使用道具 举报

发表于 2006-5-3 09:17:19 | 显示全部楼层
不知道,我是个新手....
回复 支持 反对

使用道具 举报

发表于 2006-5-3 10:04:29 | 显示全部楼层
这个应该是配置问题吧,因为我在终端下面是只能用左边的Alt,不能用右边的,而且,Alt一般是右边的用得比较多的——M-x 是很常用的嘛。
回复 支持 反对

使用道具 举报

发表于 2006-5-3 10:39:14 | 显示全部楼层
if you encounter the problem in x terminal emulators then it probably can be solved by some conf mod.
e.g., for xterm add the following line to ~/.Xresources:
XTerm*metaSendsEscape: true
I use urxvt so there is no such problem.

If you mean a virtual terminal, the ones you switch to by (ctrl-)alt-Fx, it might be due to different reasons. If it's due to the keymap you are using, then you may try
loadkeys emacs
which is a keymap that enabled many mod combinations. see
/usr/share/keymaps/i386/qwerty/emacs.map.gz

another probability could be that `alt' is set to modify higher bits. then use
setmetamode esc
to let `alt' send escape sequences
回复 支持 反对

使用道具 举报

发表于 2006-5-3 12:42:21 | 显示全部楼层
Post by galilette
if you encounter the problem in x terminal emulators then it probably can be solved by some conf mod.
e.g., for xterm add the following line to ~/.Xresources:

I use urxvt so there is no such problem.

If you mean a virtual terminal, the ones you switch to by (ctrl-)alt-Fx, it might be due to different reasons. If it's due to the keymap you are using, then you may try

which is a keymap that enabled many mod combinations. see


another probability could be that `alt' is set to modify higher bits. then use

to let `alt' send escape sequences

我确实是指的Ctrl-Alt-Fx得到的那种虚拟终端里面。不过,我执行了

  1. loadkeys emacs
复制代码

之后还是一样,只有左边的Alt能用,右边的不能用。
我又执行了

  1. setmetamode esc
复制代码

可是问题依旧,是怎么回事呢?:ask
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表