emacs23安装后,碰到的问题

Vim、Emacs配置和使用
回复
头像
tosail2010
帖子: 83
注册时间: 2011-03-27 19:01
联系:

emacs23安装后,碰到的问题

#1

帖子 tosail2010 » 2011-11-07 8:38

最近安装了eamcs23,
运行emacs upd_ip.c,emacs能够打开,但是shell中如下显示,

代码: 全选

** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
请问这是什么原因。
A year's plan starts with spring.
头像
anix
帖子: 88
注册时间: 2009-05-18 22:33
联系:

Re: emacs23安装后,碰到的问题

#2

帖子 anix » 2011-11-11 19:53

很可能是wm的原因,无视好了.
I firmly believe that the Internet and knowledge should be open, public, and accessible to everyone without any restrictions.
头像
josephyoung
帖子: 158
注册时间: 2011-11-05 18:53
来自: 南极圈

Re: emacs23安装后,碰到的问题

#3

帖子 josephyoung » 2011-11-11 20:38

:em06 我也老是这样,从来都无视它,哈哈
pheyx
帖子: 6
注册时间: 2006-01-19 20:47

Re: emacs23安装后,碰到的问题

#4

帖子 pheyx » 2011-11-13 20:26

tosail2010 写了:最近安装了eamcs23,
运行emacs upd_ip.c,emacs能够打开,但是shell中如下显示,

代码: 全选

** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
请问这是什么原因。
gtk主题的问题
头像
tosail2010
帖子: 83
注册时间: 2011-03-27 19:01
联系:

Re: emacs23安装后,碰到的问题

#5

帖子 tosail2010 » 2011-11-13 21:09

pheyx 写了:
tosail2010 写了:最近安装了eamcs23,
运行emacs upd_ip.c,emacs能够打开,但是shell中如下显示,

代码: 全选

** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (emacs:2821): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
请问这是什么原因。
gtk主题的问题
如何解决?
A year's plan starts with spring.
头像
anix
帖子: 88
注册时间: 2009-05-18 22:33
联系:

Re: emacs23安装后,碰到的问题

#6

帖子 anix » 2011-11-16 23:04

你可以用emacs -nw filename 2>stderr.txt ,打开该文件后看stderr.txt是否还有这个信息,如果没有了就是主题原因了。

换个主题。
I firmly believe that the Internet and knowledge should be open, public, and accessible to everyone without any restrictions.
头像
tosail2010
帖子: 83
注册时间: 2011-03-27 19:01
联系:

Re: emacs23安装后,碰到的问题

#7

帖子 tosail2010 » 2011-11-17 13:20

anix 写了:你可以用emacs -nw filename 2>stderr.txt ,打开该文件后看stderr.txt是否还有这个信息,如果没有了就是主题原因了。

换个主题。
stderr.txt 是空的,换个主题是什么意思? 请赐教。
A year's plan starts with spring.
头像
森森的豪豪
帖子: 6
注册时间: 2012-02-01 18:11

Re: emacs23安装后,碰到的问题

#8

帖子 森森的豪豪 » 2012-02-01 18:18

sudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
打开后,把 GtkRange::trough-under-steppers = 0 修改为 GtkRange::trough-under-steppers = 1
然后就好了。

还有一种方法就是直接换主题,方法就是右键单击桌面,选择“更换桌面背景”,在主题中另选一个

希望能解决你的问题
回复