alpaker/fill-column-indicator

Makes emacs really slow

Closed this issue · 3 comments

Hi, i noticed that when using Fill-Column-Indicator version 1.84 (not sure about prev versions), that my emacs starts to become a bit slower initially, and then really slow as time goes on. For example scrolling 700 lines (even much less) will scroll slowly, forcing for me to wait till it finishes scrolling. When not using this library, my emacs scrolling is near instant.

Here is my code that I use:

(require 'fill-column-indicator)
;;(setq fci-rule-image-format 'pbm) ;;tried this, but made no difference
(setq fci-rule-column 80)
(setq fci-rule-width 1)
(setq fci-rule-color "grey")
(add-hook 'after-change-major-mode-hook 'fci-mode)

This library is really useful, so I hope you can find the problem.

(Btw my computer uses an integrated intel graphics, if that means anything.)

edit:
Seems using fci-always-use-textual-rule only slows it by a small bearable amount.

Could you tell me what version of emacs you're using? Specifically, could
you post the output of "M-x emacs-version" and, if it's defined, "C-h v
emacs-bzr-version"? This is the first report I've received of such a
performance degradation.

On Sat, Mar 2, 2013 at 6:34 AM, halfling notifications@github.com wrote:

Hi, i noticed that when using Fill-Column-Indicator that my emacs starts
to become a bit slower initially, and then really slow as time goes on. For
example scrolling 700 lines (even much less) will scroll slowly, forcing
for me to wait till it finishes scrolling. When not using this library, my
emacs scrolling is near instant.

Here is my code that I use:

(require 'fill-column-indicator)
;;(setq fci-rule-image-format 'pbm) ;;tried this, but made no difference
(setq fci-rule-column 80)
(setq fci-rule-width 1)
(setq fci-rule-color "grey")
(add-hook 'after-change-major-mode-hook 'fci-mode)

This library is really useful, so I hope you can find the problem.

(Btw my computer uses an integrated intel graphics, if that means
anything.)


Reply to this email directly or view it on GitHubhttps://github.com//issues/30
.

"GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-01-20 on eric"
and "C-h v emacs-bzr-version" said no match.

edit:
Ok I went and disabled every single thing but Fill-Column-Indicator and it was scrolling instantly fast again, then I went and re-enabled each setting in my emacs file and found that when used together with line numbers it would cause it to slow down a lot. But either of them used by themselves was fast.

(global-linum-mode t)

I no longer think that this should be considered a bug, as line numbers are known to be slow.

Thanks. I also meant to ask whether you can reproduce the problem when
invoking emacs as "emacs -Q" (i.e., with no init file or site init file).

On Sun, Mar 3, 2013 at 6:24 AM, halfling notifications@github.com wrote:

"GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of
2013-01-20 on eric"
and "C-h v emacs-bzr-version" said no match.


Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-14345471
.