Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hippie-exp customization breaks ESK in emacs-snapshot #30

Closed
akaihola opened this issue Oct 6, 2012 · 2 comments
Closed

hippie-exp customization breaks ESK in emacs-snapshot #30

akaihola opened this issue Oct 6, 2012 · 2 comments

Comments

@akaihola
Copy link

akaihola commented Oct 6, 2012

I'm using an up-to-date Emacs from Damien Cassou's emacs-snapshot PPA. After a recent upgrade to version 2:20121004-1ppa1precise1, emacs24-starter-kit fails to start. With the --debug-init option, I get the following traceback (file paths un-prefixed for brevity):

Debugger entered--Lisp error: (void-variable hippie-expand-try-functions-list)
  (delete (quote try-expand-line) hippie-expand-try-functions-list)
  eval-buffer(#<buffer  *load*-217193> nil "starter-kit-misc.el" nil t)  ; Reading at buffer position 1999
  load-with-code-conversion("starter-kit-misc.el" "starter-kit-misc.el" nil nil)
  load("starter-kit-misc.el" nil nil t)
  load-file("starter-kit-misc.el")
  org-babel-load-file("starter-kit-misc.org")
  (let ((file (expand-file-name (if (string-match "starter-kit-.+.org" file) file (format "starter-kit-%s.org" file)) starter-kit-dir))) (org-babel-load-file (if header-or-tag (let* ((base (file-name-nondirectory file)) (dir (file-name-directory file)) (partial-file (expand-file-name (concat "." ... ".part." header-or-tag ".org") dir))) (if (file-exists-p partial-file) nil (let ((temp-file partial-file) (temp-buffer ...)) (unwind-protect (prog1 ... ...) (and ... ...)))) partial-file) file)))
  starter-kit-load("starter-kit-misc.org")
  eval-buffer(#<buffer  *load*-922140> nil "starter-kit.el" nil t)  ; Reading at buffer position 3319
  load-with-code-conversion("starter-kit.el" "starter-kit.el" nil nil)
  load("starter-kit.el" nil nil t)
  load-file("starter-kit.el")
  org-babel-load-file("starter-kit.org")
  eval-buffer(#<buffer  *load*> nil "init.el" nil t)  ; Reading at buffer position 348
  load-with-code-conversion("init.el" "init.el" t t)
  load("init" t t)
  #[0 "�\205\262

If I insert (require 'hippie-exp) at the top of init.el, it works.

I should probably just use a Emacs 24 release, but consider this as a heads-up for possible future breakage.

akaihola added a commit to akaihola/emacs24-starter-kit that referenced this issue Oct 6, 2012
@nathanleclaire
Copy link

I can confirm that this is happening for me on an install of Emacs 24 from ppa:cassou on Linux Mint 13 with xmonad. Exact same stuff: My init.el file makes no mention of hippie-expand-try-functions-list, yet emacs spits out an error almost exactly like this on startup, complaining about the symbol's definition being void.

Kind of odd, since I don't remember this happening before, but I haven't used Emacs in a while.

The (require 'hippie-exp) workaround works for me as well.

Thanks.

@eschulte
Copy link
Owner

This should now be fixed, as we test to see if hippie-expand-try-functions-list is bound before manipulating it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants