emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: 'John Hendy' <jw.hendy@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Recently emacs hangs on startup due to ESS
Date: Thu, 28 May 2015 22:07:50 +0000	[thread overview]
Message-ID: <677933f341514f91beddea4dd8e60957@exchsrv2.sgc.loc> (raw)
In-Reply-To: <CA+M2ft9okTax1YaQqRCxK43d+CVYyYxdg1VuG+Fg9HG1PEJowA@mail.gmail.com>

I would install latest ess fresh.

What version of emacs?  The package manager is a moving target these days.

Try to use the package manager to interactively install the latest 

> - emacs -Q
> following: http://melpa.org/?utm_source=dlvr.it&utm_medium=twitter#/getting-started
> - putting this in the buffer

(require 'package) ;; You might already have this line
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/") t)
(when (< emacs-major-version 24)
  ;; For important compatibility libraries like cl-lib
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line


> 
> - M-x eval-region on the above lines
>

Then, M-x list-packages and install it by positioning the cursor on the line mentioning the ess package from melpa and typing "I".

The type "x" to execute your decision, and confirm with "yes".

Now, delete or move/hide your old ess bits and restart emacs.

Did it work?

> -----Original Message-----
> From: emacs-orgmode-bounces+mec=stowers.org@gnu.org [mailto:emacs-
> orgmode-bounces+mec=stowers.org@gnu.org] On Behalf Of John Hendy
> Sent: Thursday, May 28, 2015 2:51 PM
> To: emacs-orgmode
> Subject: [O] Recently emacs hangs on startup due to ESS
> 
> Over the past couple of weeks, I've been having some issues with emacs
> hanging on startup. I usually kill the process, but inadvertently left it in the
> background today, noting much later that it ended up starting. I played with
> commenting out various parts of my config until I narrowed things down to
> the line:
> 
> (require 'ess-site)
> 
> the message buffer displays "enabling speedbar support" for a reeeaaally
> long time before it eventually starts up.
> 
> I tried debug-on-signal and eval-expression-debug-on-error... I'm not sure
> what is supposed to happen with debug options, but no debug buffer pops
> up. The only lines that appear relevant in *Messages* are:
> 
> ad-handle-definition: `ess-indent-command' got redefined
> ad-handle-definition: `ess-eval-line-and-step' got redefined
> 
> How might I diagnose this further?. I'm not familiar with chasing down Emacs
> issues other than narrowing it down to a config file option.
> 
> I can reproduce this with:
> - emacs -Q
> - putting this in the buffer
> 
> (add-to-list 'load-path "/path/to/ess/lisp") (require 'ess-site)
> 
> - M-x eval-region on the above two lines
> 
> 
> Thanks for any suggestions,
> John


  reply	other threads:[~2015-05-28 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 19:50 Recently emacs hangs on startup due to ESS John Hendy
2015-05-28 22:07 ` Cook, Malcolm [this message]
2015-05-28 22:20   ` John Hendy
2015-05-28 22:38     ` Cook, Malcolm
2015-05-28 23:23       ` John Hendy
2015-05-28 23:34         ` Cook, Malcolm
2015-05-29  4:15           ` John Hendy
2015-05-29  5:18             ` Cook, Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=677933f341514f91beddea4dd8e60957@exchsrv2.sgc.loc \
    --to=mec@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).