昨天安装好Ubuntu 9.10之后,通过sudo apt-get install emacs23安装了emacs23,发现默认的mode的所有菜单都能打开,但是在cc mode中,打开C++文件之后,菜单上的“C++”菜单就不能打开,其他菜单还是可以。
下图是正常的菜单显示:
下面是不能正常显示的菜单:
后来安装了包括一些ecb之类,其菜单也都不能正常显示,请大家帮我看看什么问题,谢谢。
在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
-
- 帖子: 31
- 注册时间: 2009-05-09 15:40
-
- 帖子: 31
- 注册时间: 2005-10-15 12:24
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
呵呵,同样的问题。
参考 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551302
Got this from #Emacs on Freenode. Calling emacs in the following way
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
验证可以让那些menu的内容显示出来
参考 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551302
Got this from #Emacs on Freenode. Calling emacs in the following way
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
验证可以让那些menu的内容显示出来
-
- 帖子: 31
- 注册时间: 2009-05-09 15:40
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
Thanks, it works.
-
- 帖子: 3
- 注册时间: 2008-11-10 16:12
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
你好,能否详细说一下 ,如何Calling emacs in the following way
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
修改哪个配置文件
谢谢
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
修改哪个配置文件
谢谢
-
- 帖子: 3
- 注册时间: 2008-11-10 16:12
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
shoutrain, 你好,能否详细说一下 ,如何Calling emacs in the following way
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
修改哪个配置文件
谢谢
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
修改哪个配置文件
谢谢
-
- 帖子: 31
- 注册时间: 2009-05-09 15:40
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
就是修改Linux的环境变量,这个是Linux的基本操作,一般可以有几种方式:alsichkann 写了:shoutrain, 你好,能否详细说一下 ,如何Calling emacs in the following way
fixes the problem:
bash% export GDK_NATIVE_WINDOWS=1
bash% emacs &
修改哪个配置文件
谢谢
1. 在shell中: export GDK_NATIVE_WINDOWS=1,不过及其注销或者重启之后,这个变量就没有了
2. 在你个人的配置文件中,在ubuntu 9.10中在~/.bashrc中,在这个文件后面加入后面上面哪句话就可以了,然后注销或者重新启动,环境变量以后就都自动添加了。这种方式最好,最安全。
3. 最后一种就是修改系统的环境变量,这中不安全,不推荐,这里不说了。
-
- 帖子: 31
- 注册时间: 2005-10-15 12:24
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
如果在~/.bashrc中改动的就没有必要重启或者注销了,只要打开一个新的shell就会生效了。如果时~/.profile的话要注销或者重启才能生效。shoutrain 写了: 就是修改Linux的环境变量,这个是Linux的基本操作,一般可以有几种方式:
1. 在shell中: export GDK_NATIVE_WINDOWS=1,不过及其注销或者重启之后,这个变量就没有了
2. 在你个人的配置文件中,在ubuntu 9.10中在~/.bashrc中,在这个文件后面加入后面上面哪句话就可以了,然后注销或者重新启动,环境变量以后就都自动添加了。这种方式最好,最安全。
3. 最后一种就是修改系统的环境变量,这中不安全,不推荐,这里不说了。
-
- 帖子: 31
- 注册时间: 2009-05-09 15:40
Re: 在Ubuntu 9.10上安装emacs23,为什么扩展的菜单不能打开?
最近更新了Emacs的GTK,发现Emacs修复了这个Bug,不需要再输出一些环境变量了。