Emacs调整重新调整速度很慢

时间:2011-02-06 23:50:06

标签: emacs

我刚刚升级到emacs 24的最新git仓库并按照说明进行编译: http://www.emacswiki.org/emacs/EmacsSnapshotAndDebian

重绘时看起来相当缓慢,特别是在调整缓冲区时,无论是垂直还是水平。

我使用相当不错的硬件在1920x1080的两个屏幕上运行Ubuntu 10.04 64bit: i7-930,12GB DDR3内存,英特尔SSD X25M,Nvidia 8400GS 512MB DDR2。

调整窗口大小时,我注意到在尝试重新绘制屏幕时,一个核心最大值为100%。

在编译期间或我的系统中是否可以进行任何优化?

如果我有一个非常小的emacs窗口,那么它重新粉刷 我需要更快的显卡吗?或者这不是显卡问题,是emacs在后台做的事情吗?

这是我的配置选项:

Configured for `x86_64-unknown-linux-gnu'.

  Where should the build process find the source code?    /home/map7/emacs/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/amdx86-64.h'
  What compiler should emacs be built with?               gcc -g -O2
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use imagemagick?                             yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 yes
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     yes

1 个答案:

答案 0 :(得分:1)

  1. Emacs 24有时会变慢。但它尚未发布。

  2. 您的帖子是2011/02年,这是一个旧版本。从那以后,很多都发生了变化。特别是,由于双向文本(bidi)的发展,显示引擎有很多非常大的减速。这些减速很大程度上得到了照顾。

  3. 结论:升级到最新的Emacs 24 prelease(#2)。