emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

100% CPU load for (mouse-wheel...


From: Stanislav Brabec
Subject: 100% CPU load for (mouse-wheel...
Date: Mon, 6 Sep 2004 09:03:07 +0200

Symptoms:

I have experienced 100% CPU load with Emacs, when it is off-screen.
Exactly, when you are not typing more that cca 3 sec, emacs become
busy. When Emacs is out of focus or in focus, but not typing, about
3 sec is in 100% load, then 1 sec without load and loop repeats. When
you start typing again, you have to wait about for 4 sec for freeing
cursor.

Experimeting with my setting, it seems, that problem disappears after
commenting out following .emacs settings:

 '(mouse-wheel-follow-mouse t)
 '(mouse-wheel-mode t nil (mwheel))

(These setting come from older Emacs version, now it seems obsolete.)

Note that this problem does not appear immediatelly, but about 1
minute after Emacs start (maybe abter first time going off-screen or
out of focus.

There is a my complete .emacs file. Simply use it, open any (.c) file
go offscreen, out of focus, do something, go back and you will
experience 100%=8a0CPU load.

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(add-log-full-name "Stanislav Brabec" t)
 '(add-log-mailing-address "address@hidden" t)
 '(backup-by-copying-when-linked t)
 '(case-fold-search t)
 '(column-number-mode t)
 '(current-language-environment "Czech")
 '(default-input-method "czech")
 '(desktop-enable t nil (desktop))
 '(file-precious-flag t)
 '(global-font-lock-mode t nil (font-lock))
 '(keyboard-coding-system (quote iso-8859-2))
 '(line-number-display-limit 3000000)
 '(mouse-wheel-follow-mouse t)
 '(mouse-wheel-mode t nil (mwheel))
 '(next-line-add-newlines nil)
 '(resize-minibuffer-mode t nil (rsz-mini))
 '(resize-minibuffer-window-max-height 3)
 '(scroll-margin 2)
 '(scroll-preserve-screen-position t)
 '(scroll-step 1)
 '(sentence-end "[.?!][]\"')}]*\\($\\|  \\| \\)[        
]*")
 '(sentence-end-double-space nil)
 '(spell-command "ispell -dczech")
 '(tex-close-quote "\"")
 '(tex-open-quote "\"")
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
 '(visible-bell t))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(default ((t (:stipple nil :background "white" :foreground "black" 
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil 
:slant normal :weight normal :height 100 :width normal :family 
"adobe-courier")))))


In GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.4.9)
 of 2004-09-05 on utx
configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' 
'--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-debug' 
'--program-suffix=-21.3.50' '--with-x' '--with-xpm' '--with-jpeg' '--with-tiff' 
'--with-gif' '--with-png' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'CC=gcc' 'host_alias=i686-pc-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: cs_CZ.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  desktop-save-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:

Recent messages:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]