emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* New ELPA addition bogs down Emacs
@ 2015-02-11 19:35 Lawrence Bottorff
  2015-02-11 20:07 ` Grant Rettke
  2015-02-11 21:13 ` Nick Dokos
  0 siblings, 2 replies; 5+ messages in thread
From: Lawrence Bottorff @ 2015-02-11 19:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2320 bytes --]

Once again, I've added some package that makes a 20k-line/1 mg .org file
kill Emacs' performance and max out my CPU. Here's my ELPA installed:

  auctex             11.88.2       installed             Integrated
environment for *TeX*
  dash               20141220.1452 installed             A modern list
library for Emacs
  epl                20140823.609  installed             Emacs Package
Library
  exec-path-from-... 20141212.846  installed             Get environment
variables such as $PATH from the shell
  git-commit-mode    20141014.1634 installed             Major mode for
editing git commit messages
  git-rebase-mode    20150122.1114 installed             Major mode for
editing git rebase files
  gnuplot            20141231.1337 installed             drive gnuplot from
within emacs
  gnuplot-mode       20131203.2159 installed             Major mode for
editing gnuplot scripts
  graphviz-dot-mode  20140303.1301 installed             Mode for the
dot-language used by graphviz (att).
  htmlize            1.39          installed             Convert buffer
text and decorations to HTML.
  ido-ubiquitous     20141210.1353 installed             Use ido (nearly)
everywhere.
  magit              20150124.930  installed             control Git from
Emacs
  ob-sml             0.2           installed             org-babel
functions for template evaluation
  org                20150202      installed             Outline-based
notes management and organizer
  org-plus-contrib   20150202      installed             Outline-based
notes management and organizer
  paredit            20150126.155  installed             minor mode for
editing parentheses
  pkg-info           20140610.630  installed             Information about
packages
  projectile         20150201.1134 installed             Manage and
navigate projects in Emacs easily
  queue              0.1.1         installed             Queue data
structure
  s                  20140910.334  installed             The long lost
Emacs string manipulation library.
  smex               20141210.1422 installed             M-x interface with
Ido-style fuzzy matching.
  sml-mode           6.5           installed             Major mode for
editing (Standard) ML
  tagedit            20141021.2139 installed

Any suspicious-looking stuff there?

LB

[-- Attachment #2: Type: text/html, Size: 3015 bytes --]

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

* Re: New ELPA addition bogs down Emacs
  2015-02-11 19:35 New ELPA addition bogs down Emacs Lawrence Bottorff
@ 2015-02-11 20:07 ` Grant Rettke
  2015-02-11 21:13 ` Nick Dokos
  1 sibling, 0 replies; 5+ messages in thread
From: Grant Rettke @ 2015-02-11 20:07 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: emacs-orgmode@gnu.org

Add to your document

,----
| #+STARTUP: showeverything
`----

Does that resolve the performance issue?

If not I would do the usual dance of unloading packages until the
performance issues goes away and then adding them back until it
returns.

On Wed, Feb 11, 2015 at 1:35 PM, Lawrence Bottorff <borgauf@gmail.com> wrote:
> Once again, I've added some package that makes a 20k-line/1 mg .org file
> kill Emacs' performance and max out my CPU. Here's my ELPA installed:
>
>   auctex             11.88.2       installed             Integrated
> environment for *TeX*
>   dash               20141220.1452 installed             A modern list
> library for Emacs
>   epl                20140823.609  installed             Emacs Package
> Library
>   exec-path-from-... 20141212.846  installed             Get environment
> variables such as $PATH from the shell
>   git-commit-mode    20141014.1634 installed             Major mode for
> editing git commit messages
>   git-rebase-mode    20150122.1114 installed             Major mode for
> editing git rebase files
>   gnuplot            20141231.1337 installed             drive gnuplot from
> within emacs
>   gnuplot-mode       20131203.2159 installed             Major mode for
> editing gnuplot scripts
>   graphviz-dot-mode  20140303.1301 installed             Mode for the
> dot-language used by graphviz (att).
>   htmlize            1.39          installed             Convert buffer text
> and decorations to HTML.
>   ido-ubiquitous     20141210.1353 installed             Use ido (nearly)
> everywhere.
>   magit              20150124.930  installed             control Git from
> Emacs
>   ob-sml             0.2           installed             org-babel functions
> for template evaluation
>   org                20150202      installed             Outline-based notes
> management and organizer
>   org-plus-contrib   20150202      installed             Outline-based notes
> management and organizer
>   paredit            20150126.155  installed             minor mode for
> editing parentheses
>   pkg-info           20140610.630  installed             Information about
> packages
>   projectile         20150201.1134 installed             Manage and navigate
> projects in Emacs easily
>   queue              0.1.1         installed             Queue data
> structure
>   s                  20140910.334  installed             The long lost Emacs
> string manipulation library.
>   smex               20141210.1422 installed             M-x interface with
> Ido-style fuzzy matching.
>   sml-mode           6.5           installed             Major mode for
> editing (Standard) ML
>   tagedit            20141021.2139 installed
>
> Any suspicious-looking stuff there?
>
> LB



-- 
Grant Rettke
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

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

* Re: New ELPA addition bogs down Emacs
  2015-02-11 19:35 New ELPA addition bogs down Emacs Lawrence Bottorff
  2015-02-11 20:07 ` Grant Rettke
@ 2015-02-11 21:13 ` Nick Dokos
  2015-02-11 21:56   ` Lawrence Bottorff
  1 sibling, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2015-02-11 21:13 UTC (permalink / raw)
  To: emacs-orgmode

Lawrence Bottorff <borgauf@gmail.com> writes:

> Once again, I've added some package that makes a 20k-line/1 mg .org file kill Emacs' performance and max out my CPU. Here's my
> ELPA installed:
>
> ...
>   org                20150202      installed             Outline-based notes management and organizer
>   org-plus-contrib   20150202      installed             Outline-based notes management and organizer
> ...

Probably not the reason, but as Rasmus pointed out, you need one or the
other - not both.

Nick

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

* Re: New ELPA addition bogs down Emacs
  2015-02-11 21:13 ` Nick Dokos
@ 2015-02-11 21:56   ` Lawrence Bottorff
  2015-02-11 22:34     ` Puneeth Chaganti
  0 siblings, 1 reply; 5+ messages in thread
From: Lawrence Bottorff @ 2015-02-11 21:56 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Changing to #+STARTUP: showeverything did the trick . . . although I don't
know why. Why?

On Wed, Feb 11, 2015 at 4:13 PM, Nick Dokos <ndokos@gmail.com> wrote:

> Lawrence Bottorff <borgauf@gmail.com> writes:
>
> > Once again, I've added some package that makes a 20k-line/1 mg .org file
> kill Emacs' performance and max out my CPU. Here's my
> > ELPA installed:
> >
> > ...
> >   org                20150202      installed             Outline-based
> notes management and organizer
> >   org-plus-contrib   20150202      installed             Outline-based
> notes management and organizer
> > ...
>
> Probably not the reason, but as Rasmus pointed out, you need one or the
> other - not both.
>
> Nick
>
>
>

[-- Attachment #2: Type: text/html, Size: 1288 bytes --]

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

* Re: New ELPA addition bogs down Emacs
  2015-02-11 21:56   ` Lawrence Bottorff
@ 2015-02-11 22:34     ` Puneeth Chaganti
  0 siblings, 0 replies; 5+ messages in thread
From: Puneeth Chaganti @ 2015-02-11 22:34 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: Nick Dokos, emacs-orgmode

On Thu, Feb 12, 2015 at 3:26 AM, Lawrence Bottorff <borgauf@gmail.com> wrote:
> Changing to #+STARTUP: showeverything did the trick . . . although I don't
> know why. Why?

One of the reasons I discovered recently was this inconspicuous change
(around v8.2.6) [1], though this may or may not be what is happening
for you.

Calling `org-overview` on large files takes a lot of time and is CPU
intensive.  #+STARTUP: showeverything basically turns off a call to
this, when a file is opened -- so, the file is displayed with
everything shown.

Before this change, `org-overview` had a call to `recenter`, and when
a file was opened by visiting `org-agenda`, the file would be opened
in a buried (not currently visible) buffer. This would case `recenter`
to error out (since it expects the buffer to be current), there by
causing an error in `org-overview`.  Co-incidentally, this saved all
the CPU cycles. This change removed this "broken" call to `recenter`.

[1] - http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=b88c5464db2cb0d90d4f30e43b5e08d2b1c1fcea;hp=8cc4e09950594b2abec2502e9218318570595ac5

-- Puneeth

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

end of thread, other threads:[~2015-02-11 22:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 19:35 New ELPA addition bogs down Emacs Lawrence Bottorff
2015-02-11 20:07 ` Grant Rettke
2015-02-11 21:13 ` Nick Dokos
2015-02-11 21:56   ` Lawrence Bottorff
2015-02-11 22:34     ` Puneeth Chaganti

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).