Skip to content

Instantly share code, notes, and snippets.

@icymist
Created June 6, 2015 20:08
Show Gist options
  • Save icymist/58c10c770dbd6a0cf51f to your computer and use it in GitHub Desktop.
Save icymist/58c10c770dbd6a0cf51f to your computer and use it in GitHub Desktop.
Debugger entered--Lisp error: (wrong-type-argument keymapp nil) define-key(nil [menu-bar Tools Helm Tools] ("Tools" keymap "Tools"))
Debugger entered--Lisp error: (wrong-type-argument keymapp nil)
define-key(nil [menu-bar Tools Helm Tools] ("Tools" keymap "Tools"))
#[0 "\300\242\203\300\2429\203\303\300\242!\204\300\211\242J\240\210\300\242\203/\303\300\242!\203*\300\242C\2021\300\242\2021\304 \300\242\204=\301\305\301\242B\240\210\301\242\211\203b\211@\306\307\310\311\312\313\314\315!\316\"\317\320%\"\"\262A\266\202\202?\210\302\203\202\211\211\203\201\211@\321\302\"\203z\322\323\"\210A\266\202\202h\210\211\203\214\322\323@\"\210\301\242\205\231\324\325\326\301\242!@\"\327!\330\300\242\206\244\331 \332\315\310\333\301\242\"\"\203\266B\202\267#\210\262\207" [(nil) ((menu-bar "Tools" "Helm" "Tools")) nil keymapp current-active-maps menu-bar delq nil mapcar make-byte-code 257 "\301\300\"\262\302!\205
\211\207" vconcat vector [easy-menu-lookup-name keymapp] 4 "\n\n(fn MAP)" easy-menu-lookup-name throw found format "%s" reverse make-sparse-keymap define-key current-local-map apply easy-menu-intern] 12 "\n\n(fn)"]()
funcall(#[0 "\300\242\203\300\2429\203\303\300\242!\204\300\211\242J\240\210\300\242\203/\303\300\242!\203*\300\242C\2021\300\242\2021\304 \300\242\204=\301\305\301\242B\240\210\301\242\211\203b\211@\306\307\310\311\312\313\314\315!\316\"\317\320%\"\"\262A\266\202\202?\210\302\203\202\211\211\203\201\211@\321\302\"\203z\322\323\"\210A\266\202\202h\210\211\203\214\322\323@\"\210\301\242\205\231\324\325\326\301\242!@\"\327!\330\300\242\206\244\331 \332\315\310\333\301\242\"\"\203\266B\202\267#\210\262\207" [(nil) ((menu-bar "Tools" "Helm" "Tools")) nil keymapp current-active-maps menu-bar delq nil mapcar make-byte-code 257 "\301\300\"\262\302!\205
\211\207" vconcat vector [easy-menu-lookup-name keymapp] 4 "\n\n(fn MAP)" easy-menu-lookup-name throw found format "%s" reverse make-sparse-keymap define-key current-local-map apply easy-menu-intern] 12 "\n\n(fn)"])
easy-menu-get-map(nil ("Tools" "Helm" "Tools") nil)
easy-menu-add-item(nil ("Tools" "Helm" "Tools") ["BibTeX" helm-bibtex t])
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\311\312\313\314\315\301%\210\316\317\313\320\315\312\321\322&\210\316\323\313\324\315\312\321\325&\210\316\326\327\330\315\312\321\331&\210\316\332\333\334\315\312\321\335&\210\316\336\337\340\315\312\321\341&\210\316\342\313\343\315\312\321\344&\210\316\345\346\347\315\312\321\335&\210\316\350\351\352\315\312\321\335&\210\316\353\354\355\315\312\321\356&\210\316\357\313\360\315\312\321\361&\210\316\362\313\363\315\312\321\364&\210\316\365\313\366\315\312\321\364&\210\367\313\370\371#\207" [require helm helm-net helm-plugin parsebib cl-lib dash s f custom-declare-group helm-bibtex nil "Helm plugin for searching entries in a BibTeX bibliography." :group custom-declare-variable helm-bibtex-bibliography "The BibTeX file or list of BibTeX files." :type (choice file (repeat file)) helm-bibtex-library-path "A directory or list of directories in which PDFs are\nstored. Helm-bibtex assumes that the names of these PDFs are\ncomposed of the BibTeX-key plus a \".pdf\" suffix." (choice directory (repeat directory)) helm-bibtex-pdf-open-function (quote find-file) "The function used for opening PDF files. This can be an\narbitrary function that takes one argument: the path to the PDF\nfile. The default is `find-file' which opens the PDF in\nEmacs (either with docview or, if installed, the much superior\npdf-tools. When set to `helm-open-file-with-default-tool', the\nsystems default viewer for PDFs is used." function helm-bibtex-pdf-symbol "⌘" "Symbol used to indicate that a PDF file is available for a\npublication. This should be a single character." string helm-bibtex-format-citation-functions (quote ((org-mode . helm-bibtex-format-citation-ebib) (latex-mode . helm-bibtex-format-citation-cite) (markdown-mode . helm-bibtex-format-citation-pandoc-citeproc) (default . helm-bibtex-format-citation-default))) "The functions used for formatting citations. The publication\ncan be cited, for example, as cite{key} or ebib:key depending on\nthe major mode of the current buffer. Note that the functions\nshould accept a list of keys as input. With multiple marked\nentries one can insert multiple keys at once,\ne.g. cite{key1,key2}. See the functions\n`helm-bibtex-format-citation-ebib' and\n`helm-bibtex-format-citation-cite' as examples." (alist :key-type symbol :value-type function) helm-bibtex-notes-path "The directory in which notes are stored. Helm-bibtex assumes\nthat the names of these notes are composed of the BibTeX-key plus\na suffix that is specified in `helm-bibtex-notes-extension'." directory helm-bibtex-notes-extension ".org" "The extension of the files containing notes." helm-bibtex-notes-symbol "✎" "Symbol used to indicate that a publication has notes. This\nshould be a single character." helm-bibtex-fallback-options (quote (("Google Scholar" . "http://scholar.google.co.uk/scholar?q=%s") ("Pubmed" . "http://www.ncbi.nlm.nih.gov/pubmed/?term=%s") ("arXiv" . helm-bibtex-arxiv) ("Bodleian Library" . "http://solo.bodleian.ox.ac.uk/primo_library/libweb/action/search.do?vl(freeText0)=%s&fn=search&tab=all") ("Library of Congress" . "http://www.loc.gov/search/?q=%s&all=true&st=list") ("Deutsche Nationalbibliothek" . "https://portal.dnb.de/opac.htm?query=%s") ("British National Library" . "http://explore.bl.uk/primo_library/libweb/action/search.do?&vl(freeText0)=%s&fn=search") ("Bibliothèque nationale de France" . "http://catalogue.bnf.fr/servlet/RechercheEquation?host=catalogue?historique1=Recherche+par+mots+de+la+notice&niveau1=1&url1=/jsp/recherchemots_simple.jsp?host=catalogue&maxNiveau=1&categorieRecherche=RechercheMotsSimple&NomPageJSP=/jsp/recherchemots_simple.jsp?host=catalogue&RechercheMotsSimpleAsauvegarder=0&ecranRechercheMot=/jsp/recherchemots_simple.jsp&resultatsParPage=20&x=40&y=22&nbElementsHDJ=6&nbElementsRDJ=7&nbElementsRCL=12&FondsNumerise=M&CollectionHautdejardin=TVXZROM&HDJ_DAV=R&HDJ_D2=V&HDJ_D1=T&HDJ_D3=X&HDJ_D4=Z&HDJ_SRB=O&CollectionRezdejardin=UWY1SPQM&RDJ_DAV=S&RDJ_D2=W&RDJ_D1=U&RDJ_D3=Y&RDJ_D4=1&RDJ_SRB=P&RDJ_RLR=Q&RICHELIEU_AUTRE=ABCDEEGIKLJ&RCL_D1=A&RCL_D2=K&RCL_D3=D&RCL_D4=E&RCL_D5=E&RCL_D6=C&RCL_D7=B&RCL_D8=J&RCL_D9=G&RCL_D10=I&RCL_D11=L&ARSENAL=H&LivrePeriodique=IP&partitions=C&images_fixes=F&son=S&images_animees=N&Disquette_cederoms=E&multimedia=M&cartes_plans=D&manuscrits=BT&monnaies_medailles_objets=JO&salle_spectacle=V&Monographie_TN=M&Periodique_TN=S&Recueil_TN=R&CollectionEditorial_TN=C&Ensemble_TN=E&Spectacle_TN=A&NoticeB=%s") ("Gallica Bibliothèque Numérique" . "http://gallica.bnf.fr/Search?q=%s"))) "Alist of online sources that can be used to search for\npublications. The key of each entry is the name of the online\nsource. The value is the URL used for retrieving results. This\nURL must contain a %s in the position where the search term\nshould be inserted. Alternatively, the value can be a function\nthat will be called when the entry is selected." (alist :key-type string :value-type (choice (string :tag "URL") (function :tag "Function"))) helm-bibtex-browser-function "The browser that is used to access online resources. If\nnil (default), the value of `browse-url-browser-function' is\nused. If that value is nil, Helm uses the first available\nbrowser in `helm-browse-url-default-browser-alist'" (choice (const :tag "Default" :value nil) (function-item :tag "Emacs interface to w3m" :value w3m-browse-url) (function-item :tag "Emacs W3" :value browse-url-w3) (function-item :tag "W3 in another Emacs via `gnudoit'" :value browse-url-w3-gnudoit) (function-item :tag "Mozilla" :value browse-url-mozilla) (function-item :tag "Firefox" :value browse-url-firefox) (function-item :tag "Chromium" :value browse-url-chromium) (function-item :tag "Galeon" :value browse-url-galeon) (function-item :tag "Epiphany" :value browse-url-epiphany) (function-item :tag "Netscape" :value browse-url-netscape) (function-item :tag "eww" :value eww-browse-url) (function-item :tag "Mosaic" :value browse-url-mosaic) (function-item :tag "Mosaic using CCI" :value browse-url-cci) (function-item :tag "Text browser in an xterm window" :value browse-url-text-xterm) (function-item :tag "Text browser in an Emacs window" :value browse-url-text-emacs) (function-item :tag "KDE" :value browse-url-kde) (function-item :tag "Elinks" :value browse-url-elinks) (function-item :tag "Specified by `Browse Url Generic Program'" :value browse-url-generic) (function-item :tag "Default Windows browser" :value browse-url-default-windows-browser) (function-item :tag "Default Mac OS X browser" :value browse-url-default-macosx-browser) (function-item :tag "GNOME invoking Mozilla" :value browse-url-gnome-moz) (function-item :tag "Default browser" :value browse-url-default-browser) (function :tag "Your own function") (alist :tag "Regexp/function association list" :key-type regexp :value-type function)) ...] 8)
#<subr require>(helm-bibtex nil t)
ad-Advice-require(#<subr require> helm-bibtex nil t)
apply(ad-Advice-require #<subr require> (helm-bibtex nil t))
require(helm-bibtex nil t)
(not (require (quote helm-bibtex) nil t))
(if (not (require (quote helm-bibtex) nil t)) (ignore (message (format "Could not load %s" (quote helm-bibtex)))))
(prog1 (if (not (require (quote helm-bibtex) nil t)) (ignore (message (format "Could not load %s" (quote helm-bibtex))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package helm-bibtex" elapsed) (message "%s...done" "Loading package helm-bibtex"))))
(let ((now (current-time))) (message "%s..." "Loading package helm-bibtex") (prog1 (if (not (require (quote helm-bibtex) nil t)) (ignore (message (format "Could not load %s" (quote helm-bibtex))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package helm-bibtex" elapsed) (message "%s...done" "Loading package helm-bibtex")))))
(progn (condition-case err (setq helm-bibtex-bibliography (quote ("~/work/mypapers/mynewrefs.bib")) helm-bibtex-library-path (quote ("~/work/papers")) helm-bibtex-pdf-open-function (quote helm-open-file-with-default-tool)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "helm-bibtex" ":init" (error-message-string err)) :error)))) (let ((now (current-time))) (message "%s..." "Loading package helm-bibtex") (prog1 (if (not (require (quote helm-bibtex) nil t)) (ignore (message (format "Could not load %s" (quote helm-bibtex))))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package helm-bibtex" elapsed) (message "%s...done" "Loading package helm-bibtex"))))))
eval-buffer(#<buffer *load*> nil "/Users/chaitanya/.emacs" nil t) ; Reading at buffer position 11367
load-with-code-conversion("/Users/chaitanya/.emacs" "/Users/chaitanya/.emacs" t t)
load("~/.emacs" t t)
#[0 "\205\262 \306=\203\307\310Q\202; \311=\204\307\312Q\202;\313\307\314\315#\203*\316\202;\313\307\314\317#\203:\320\nB\321\202;\316\322\323\322\211#\210 \322=\203a\324\325\326\307\327Q!\"\323\322\211#\210 \322=\203`\210 \203\243\330 !\331\232\203\243\332 !\211\333P\334!\203}\211\202\210\334!\203\207\202\210\314\262\203\241\335 \"\203\237\336\337 #\210\340\341!\210\266\f?\205\260\314\323\342\322\211#)\262\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
command-line()
normal-top-level()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment