Closed leoncamel closed 12 years ago
Oops, it seems my bad. My elpa directory contains two version of helm. So, it seems good after a clean install.
leoncamel reply@reply.github.com writes:
I upgrade to the latest helm, but I got a error : (wrong-type-argument symbolp "elisp") Which version of Emacs are you using? I can't reproduce here, maybe it is a bug in defcustom with last Emacs.
Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Ah! Ok, can I close this issue so?
OK, sorry for this wrong issue.
@thierryvolpiatto Hey, may I ask if you can do "make" in your helm.git, and restart your emacs? I can produce this bug again, if I byte-compile helm from git repo.
Please provide the information which emacs version you use.
I can't reproduce with emacs24.1.50 and a byte-compiled HEAD.
Given that the relevant file (helm-info.el) has not been changed for a month I doubt that the code is the culprit. I'm using the info index sources myself as well and they work fine.
On both following version, I can reproduce this bug.
GNU Emacs 24.1.50.1 (i386-apple-darwin11.4.0, NS apple-appkit-1138.47) of 2012-05-31 on Leon-no-MBP
and
GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-05-30 on leon-new-desktop
I just wrote the following simple configs into init.el:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/vendor/helm.git/"))
(require 'helm-config)
(helm-mode 1)
And, if I do not do "make" in helm.git
, it works fine. But, if I do "make", it will show the following backtrace:
Debugger entered--Lisp error: (wrong-type-argument symbolp "elisp")
helm-c-define-info-index-sources(("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "make" "automake" "au$
helm-info-index-set(helm-c-default-info-index-list ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "ma$
custom-initialize-reset(helm-c-default-info-index-list (quote ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils"$
custom-declare-variable(helm-c-default-info-index-list (quote ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils"$
require(helm-info)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\301%\210\312\313\314\315\311\306%\210\312\316\317\320\311\306%\210\312\321\322\320\311\306%$
require(helm-bookmark)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\300\314!\210\300\315$
require(helm-files)
byte-code("\300\301!\210\300\302!\210\303\304\305\306\307\301%\210\310\311\312\313\307\304\314\315&^G\207" [require helm helm-files custom-declare-group helm-mode nil "Enable $
(helm-mode 1)
eval-buffer(#<buffer *load*> nil "/home/leon/.emacs.d/init.el" nil t) ; Reading at buffer position 112
load-with-code-conversion("/home/leon/.emacs.d/init.el" "/home/leon/.emacs.d/init.el" t t)
load("/home/leon/.emacs.d/init" t t)
#[0 "^H\205\262^@ \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\317#\203:^@\320\nB^R\321\202;^@\316\322^S\$
command-line()
normal-top-level()
I am so confused about this bug. Probably, this bug is related to the latest emacs's build. Any other clue?
BTW: @cofi could you show me your emacs's version?
Oops, I just rebuild a latest emacs, it works now. My latest working version is:
GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-06 on leon-new-desktop
Updated: I guess, this bug #11594 introduce this problem.
I upgrade to the latest helm, but I got a error : (wrong-type-argument symbolp "elisp")
Here is the backtrace:
Debugger entered--Lisp error: (wrong-type-argument symbolp "elisp") helm-c-define-info-index-sources(("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "make" "automake" "autoconf" "emacs-lisp-intro" "emacs" "elib" "eieio" "gauche-refe" "guile" "guile-tut" "goops" "screen" "latex" "gawk" "sed" "m4" "wget" "binutils" "as" "bfd" "gprof" "ld" "diff" "flex" "grep" "gzip" "libtool" "texinfo" "info" "gdb" "stabs" "cvsbook" "cvs" "bison" "id-utils" "global") t) helm-info-index-set(helm-c-default-info-index-list ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "make" "automake" "autoconf" "emacs-lisp-intro" "emacs" "elib" "eieio" "gauche-refe" "guile" "guile-tut" "goops" "screen" "latex" "gawk" "sed" "m4" "wget" "binutils" "as" "bfd" "gprof" "ld" "diff" "flex" "grep" "gzip" "libtool" "texinfo" "info" "gdb" "stabs" "cvsbook" "cvs" "bison" "id-utils" "global")) custom-initialize-reset(helm-c-default-info-index-list (quote ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "make" "automake" "autoconf" "emacs-lisp-intro" "emacs" "elib" "eieio" "gauche-refe" "guile" "guile-tut" "goops" "screen" "latex" "gawk" "sed" "m4" "wget" "binutils" "as" "bfd" "gprof" "ld" "diff" "flex" "grep" "gzip" "libtool" "texinfo" "info" "gdb" "stabs" "cvsbook" "cvs" "bison" "id-utils" "global"))) custom-declare-variable(helm-c-default-info-index-list (quote ("elisp" "cl" "org" "gnus" "tramp" "ratpoison" "zsh" "bash" "coreutils" "fileutils" "find" "sh-utils" "textutils" "libc" "make" "automake" "autoconf" "emacs-lisp-intro" "emacs" "elib" "eieio" "gauche-refe" "guile" "guile-tut" "goops" "screen" "latex" "gawk" "sed" "m4" "wget" "binutils" "as" "bfd" "gprof" "ld" "diff" "flex" "grep" "gzip" "libtool" "texinfo" "info" "gdb" "stabs" "cvsbook" "cvs" "bison" "id-utils" "global")) ("/home/leon/.emacs.d/elpa/helm-20120531/helm-info.elc" . 2229) :group helm-info :type (repeat (choice string)) :set helm-info-index-set) require(helm-info) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\301%\210\312\313\314\315\311\306%\210\312\316\317\320\311\306%\210\312\321\322\320\311\306%\210\312\323\324\325\311\306%\210\312\326\327\330\311\306%\210\312\331\332\333\311\306%\210\312\334\335\333\311\306%\207" [require helm helm-utils helm-info helm-adaptative custom-declare-group helm-bookmark nil "Predefined configurations for `helm.el'." :group custom-declare-face helm-bookmarks-su ((t (:foreground "red"))) "Face for su/sudo bookmarks." helm-bookmark-info ((t (:foreground "green"))) "_Face used for W3m Emacs bookmarks (not w3m bookmarks)." helm-bookmark-w3m ((t (:foreground "yellow"))) helm-bookmark-gnus ((t (:foreground "magenta"))) "_Face used for Gnus bookmarks." helm-bookmark-man ((t (:foreground "Orange4"))) "_Face used for Woman/man bookmarks." helm-bookmark-file ((t (:foreground "Deepskyblue2"))) "_Face used for file bookmarks." helm-bookmark-directory ((t (:inherit helm-ff-directory)))] 6) require(helm-bookmark) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\300\314!\210\300\315!\210\300\316!\210\300\317!\210\300\320!\210\321\322\323\324\325\302%\210\326\327\330\331\325\322\332\333&\210\326\334\335\336\332\337\325\322&\210\326\340\341\342\332\343\325\322&\210\326\344\345\346\325\322\332\347&\210\326\350\351\352\325\322\332\353&\210\326\354\345\355\325\322\332\347&\210\326\356\357\360\325\322\332\343&\210\326\361\345\362\325\322\332\347&\210\326\363\345\364\325\322\332\347&\210\326\365\366\367\325\322\332\353&\210\326\370\371\372\325\322\332\353&\210\326\373\345\374\332\347\325\322&\210\326\375\376\377\332\347\325\322&\210\326\201@