unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13869: 24.2; Theme slows emacs down
@ 2013-03-04 13:00 Silviu Vlad Oprea
  2013-03-04 18:03 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Silviu Vlad Oprea @ 2013-03-04 13:00 UTC (permalink / raw)
  To: 13869

1. smooth-scroll
2. load-theme->adwaita
-> scrolling is extremel slow and jumpy


In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2013-01-27 on foo-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
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: en_GB.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t

Major mode: Scala

Minor modes in effect:
global-linum-mode: t
linum-mode: t
global-semanticdb-minor-mode: t
global-semantic-idle-scheduler-mode: t
semantic-mode: t
global-ede-mode: t
ede-minor-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
transient-mark-mode: t

Recent input:
<C-down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <down> <down> <down> <down> <down> C-x
3 <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> M-x e m a c - s <backspace> <backspace>
s - r e <tab> <tab> <backspace> <backspace> <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
- - SPC b u <backspace> <C-backspace> <C-backspace>
<C-backspace> <C-backspace> <C-backspace> - - b u g
<tab> <escape> <escape> <escape> M-x r e p o <tab>
r t <tab> e <backspace> <return>

Recent messages:
Making completion list...
scroll-down-command: Beginning of buffer [3 times]
line-move-visual: End of buffer [4 times]
line-move-visual: Beginning of buffer [28 times]
line-move-visual: End of buffer [5 times]
line-move-visual: Beginning of buffer [16 times]
Making completion list... [2 times]
Quit
Making completion list...
delete-backward-char: Text is read-only

Load-path shadows:
/home/foo/.emacs.d/plugins/ensime/elisp/fuzzy hides 
/home/foo/.emacs.d/plugins/auto-complete/fuzzy
/home/foo/.emacs.d/plugins/ensime/elisp/auto-complete hides 
/home/foo/.emacs.d/plugins/auto-complete/auto-complete
/home/foo/.emacs.d/plugins/ensime/elisp/popup hides 
/home/foo/.emacs.d/plugins/auto-complete/popup
/home/foo/.emacs.d/plugins/cedet/lisp/speedbar/loaddefs hides 
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/loaddefs
/home/foo/.emacs.d/plugins/cedet/lisp/speedbar/loaddefs hides 
/home/foo/.emacs.d/plugins/cedet/lisp/cedet/loaddefs
/home/foo/.emacs.d/plugins/buffer-move/bs hides 
/usr/local/share/emacs/24.2/lisp/bs
/home/foo/.emacs.d/plugins/cedet/lisp/speedbar/loaddefs hides 
/usr/local/share/emacs/24.2/lisp/loaddefs
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/chart hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/chart
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio-opt hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio-opt
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio-datadebug hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio-datadebug
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio-custom hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio-custom
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio-base hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio-base
/home/foo/.emacs.d/plugins/cedet/lisp/eieio/eieio-speedbar hides 
/usr/local/share/emacs/24.2/lisp/emacs-lisp/eieio-speedbar

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils
solarized-dark-theme vc-dispatcher vc-svn ede/maven2 ede/lein2 ede/ant
ede/cpp-root ede/java-root ede/jvm-base cedet-files rx
solarized-light-theme solarized-definitions color-theme-autoloads
ecb-layout-defs linum cus-start cus-load ido buffer-move windmove
smooth-scrolling ecb ecb-symboldef ecb-analyse ecb-compatibility
ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell
ecb-help ecb-jde ecb-method-browser ecb-semantic ecb-file-browser
ecb-speedbar ecb-layout ecb-create-layout ecb-compilation
ecb-common-browser ecb-navigate ecb-mode-line ecb-face tree-buffer
ecb-upgrade ecb-cedet-wrapper ecb-util silentcomp ensime ensime-ui
ensime-semantic-highlight ensime-doc ensime-scalex url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-util
url-parse auth-source gnus-util password-cache url-vars mm-util
mail-prsvr mailcap json ensime-search ensime-undo ensime-refactor
ensime-builder ensime-debug ensime-inf ensime-sbt ensime-comint-utils
ensime-auto-complete ensime-config hideshow pp thingatpt auto-complete
popup nav bs dired ack compile comint ansi-color scala-mode2 derived
scala-mode2-map scala-mode2-fontlock scala-mode2-indent
scala-mode2-paragraph scala-mode2-syntax regexp-opt scala-mode2-lib
semantic/bovine/gcc semantic/dep semantic/ia semantic/analyze/refs
semantic/senator semantic/db-find semantic/db-ref ring semantic/db-mode
semantic/idle working fame semantic-tag-folding cl
semantic/decorate/mode semantic/decorate pulse cedet-devel-load warnings
eieio-opt help-mode view find-func advice help-fns advice-preload
srecode/map srecode semantic/canned-configs semantic/ia-sb
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
semantic/db semantic/ctxt semantic/format semantic/tag-ls semantic/find
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet-compat inversion ede/speedbar ede/files ede
ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image
ezimage dframe easymenu assoc eieio-custom wid-edit cedet eieio byte-opt
bytecomp byte-compile cconv macroexp cedet-remove-builtin edmacro kmacro
tabbar easy-mmode package tabulated-list time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13869: 24.2; Theme slows emacs down
  2013-03-04 13:00 bug#13869: 24.2; Theme slows emacs down Silviu Vlad Oprea
@ 2013-03-04 18:03 ` Eli Zaretskii
       [not found]   ` <5134EAB5.4010406@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2013-03-04 18:03 UTC (permalink / raw)
  To: Silviu Vlad Oprea; +Cc: 13869

> Date: Mon, 04 Mar 2013 13:00:03 +0000
> From: Silviu Vlad Oprea <sopreain1@gmail.com>
> 
> 1. smooth-scroll

Please give more detail about this.  Did you start from "emacs -Q",
and if so, did you customize any of the smooth-scrolling.el's options?
Anyway, there's no command named smooth-scroll in smooth-scrolling.el,
perhaps I downloaded an incorrect package?  You didn't say where to
find it and how to activate it.

> 2. load-theme->adwaita
> -> scrolling is extremel slow and jumpy

Just by doing this:

 emacs -Q
 M-x load-file RET smooth-scrolling.el RET
 C-x C-f src/xdisp.c
 M-x load-theme RET adwaita RET

I don't see any significant degradation in scroll quality.  How did
you scroll (with which keys)?  In what major mode and with which file?
Does this happen in every mode (including Fundamental) and with every
file?

Thanks.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13869: 24.2; Theme slows emacs down
       [not found]       ` <5134F2D8.4030704@gmail.com>
@ 2013-03-04 20:21         ` Eli Zaretskii
  2020-08-21 14:06           ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2013-03-04 20:21 UTC (permalink / raw)
  To: Silviu Vlad Oprea; +Cc: 13869

> Date: Mon, 04 Mar 2013 19:15:36 +0000
> From: Silviu Vlad Oprea <sopreain1@gmail.com>
> 
> On 04/03/13 18:54, Eli Zaretskii wrote:
> >> Date: Mon, 04 Mar 2013 18:40:53 +0000
> >> From: Silviu Vlad Oprea <sopreain1@gmail.com>
> >>
> >> Turns out it's because linum-mode. Once I enable it (M-x linum-mode
> >> RET), it lags every 2 seconds when scrolling, and it's very frustrating.
> >> The same happens with tabbar-mode (separately; If I enable both
> >> linum-mode and tabbar-mode, it's even worse).
> > With linum-mode, I see a 3-fold increase in CPU usage, but Emacs can
> > still keep up.  What CPU do you have there?
> Now fancy at all. Celeron(R) Dual-Core CPU T3000  @ 1.80GHz.

Could be why you see the problem, while I don't.

> > linum-mode kills many potential redisplay optimizations, so it's a
> > small wonder it makes the display engine work harder.
> Any idea how I could get the same effect (line numbers) w/o the lag? Is 
> there a better mode?

Maybe try nlinum.el from ELPA.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13869: 24.2; Theme slows emacs down
  2013-03-04 20:21         ` Eli Zaretskii
@ 2020-08-21 14:06           ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2020-08-21 14:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Silviu Vlad Oprea, 13869

tags 13869 + wontfix
close 13869
thanks

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 04 Mar 2013 19:15:36 +0000
>> From: Silviu Vlad Oprea <sopreain1@gmail.com>
>>
>> On 04/03/13 18:54, Eli Zaretskii wrote:
>> >> Date: Mon, 04 Mar 2013 18:40:53 +0000
>> >> From: Silviu Vlad Oprea <sopreain1@gmail.com>
>> >>
>> >> Turns out it's because linum-mode. Once I enable it (M-x linum-mode
>> >> RET), it lags every 2 seconds when scrolling, and it's very frustrating.
>> >> The same happens with tabbar-mode (separately; If I enable both
>> >> linum-mode and tabbar-mode, it's even worse).
>> > With linum-mode, I see a 3-fold increase in CPU usage, but Emacs can
>> > still keep up.  What CPU do you have there?
>> Now fancy at all. Celeron(R) Dual-Core CPU T3000  @ 1.80GHz.
>
> Could be why you see the problem, while I don't.
>
>> > linum-mode kills many potential redisplay optimizations, so it's a
>> > small wonder it makes the display engine work harder.
>> Any idea how I could get the same effect (line numbers) w/o the lag? Is
>> there a better mode?
>
> Maybe try nlinum.el from ELPA.

(No further updates within 7 years.)

The solution here is to use nlinum.el or even better the more recent
display-line-numbers-mode.

I'm therefore closing this bug report.  If anyone disagrees, feel free
to reopen.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-21 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 13:00 bug#13869: 24.2; Theme slows emacs down Silviu Vlad Oprea
2013-03-04 18:03 ` Eli Zaretskii
     [not found]   ` <5134EAB5.4010406@gmail.com>
     [not found]     ` <8338wbt2pp.fsf@gnu.org>
     [not found]       ` <5134F2D8.4030704@gmail.com>
2013-03-04 20:21         ` Eli Zaretskii
2020-08-21 14:06           ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).