Created
November 17, 2015 09:33
-
-
Save terrycojones/c1113ccba31c0a4426cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: (wrong-type-argument integerp nil) | |
yas--populate-template([cl-struct-yas--template nil nil nil nil nil nil nil nil nil nil nil nil] :table [cl-struct-yas--table "python-mode" #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ( ...)) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ( ...)) nil (keymap)] :key "while" :content "while ${condition}:\n $0" :name "while ... : ..." :group nil :condition nil :expand-env nil :file "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/while" :keybinding nil :uuid "while ... : ...") | |
yas-define-snippets-1(("while" "while ${condition}:\n $0" "while ... : ..." nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/while" nil nil) [cl-struct-yas--table "python-mode" #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ( ...)) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ( ...)) nil (keymap)]) | |
yas-define-snippets(python-mode (("while" "while ${condition}:\n $0" "while ... : ..." nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/while" nil nil) ("propsg" "def _set_${1:foo}(self, value):\n self._$1 = value\n\ndef _get_$1(self):\n return self._$1\n\n$1 = property(_get_$1, _set_$1)\n\n$0" "_get_foo ... _set_foo ... foo=property(...)" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/propsg" nil nil) ("propg" "def _get_${1:foo}(self):\n return self._$1\n\n$1 = property(_get_$1)\n\n$0" "_get_foo ... foo=property(...)" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/propg" nil nil) ("prop" "def ${1:foo}():\n doc = \"\"\"${2:Doc string}\"\"\"\n def fget(self):\n return self._$1\n def fset(self, value):\n self._$1 = value\n def fdel(self):\n del self._$1\n return locals()\n$1 = property(**$1())\n\n$0" "prop" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/prop" nil nil) ("ifmain" "if __name__ == '__main__':\n $0" "if __name__ == '__main__': ..." nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/ifmain" nil nil) ("for" "for ${var} in ${collection}:\n $0" "for ... in ... : ..." nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/for" nil nil) ("defm" "def ${1:name}(self, $2):\n \"\"\"$3\n ${2:$\n (let* ((indent\n (concat \"\\n\" (make-string (current-column) 32)))\n (args\n (mapconcat\n '(lambda (x)\n (if (not (string= (nth 0 x) \"\"))\n (concat \"- \" (char-to-string 96) (nth 0 x)\n (char-to-string 96) \":\")))\n (mapcar\n '(lambda (x)\n (mapcar\n '(lambda (x)\n (replace-regexp-in-string \"[[:blank:]]*$\" \"\"\n (replace-regexp-in-string \"^[[:blank:]]*\" \"\" x)))\n x))\n (mapcar '(lambda (x) (split-string x \"=\"))\n (split-string text \",\")))\n indent)))\n (if (string= args \"\")\n (make-string 3 34)\n (mapconcat\n 'identity\n (list \"\" \"Arguments:\" args (make-string 3 34))\n indent)))\n }\n $0" "defm" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/defm" nil nil) ("def" "def ${1:name}($2):\n \"\"\"$3\n ${2:$\n (let* \n ((indent\n (concat \"\\n\" (make-string (current-column) 32)))\n (args\n (mapconcat\n '(lambda (x)\n (if (not (string= (nth 0 x) \"\"))\n (concat \"- \" (char-to-string 96) (nth 0 x)\n (char-to-string 96) \":\")))\n (mapcar\n '(lambda (x)\n (mapcar\n '(lambda (x)\n (replace-regexp-in-string \"[[:blank:]]*$\" \"\"\n (replace-regexp-in-string \"^[[:blank:]]*\" \"\" x)))\n x))\n (mapcar '(lambda (x) (split-string x \"=\"))\n (split-string text \",\")))\n indent)))\n (if (string= args \"\")\n (make-string 3 34)\n (mapconcat\n 'identity\n (list \"\" \"Arguments:\" args (make-string 3 34))\n indent)))\n }\n $0" "def" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/def" nil nil) ("class" "class ${1:ClassName}(${2:object}):\n \"\"\"$3\n \"\"\"\n\n def __init__(self, $4):\n \"\"\"$5\n ${4:$\n (let* ((indent\n (concat \"\\n\" (make-string (current-column) 32)))\n (args\n (mapconcat\n '(lambda (x)\n (if (not (string= (nth 0 x) \"\"))\n (concat \"- \" (char-to-string 96) (nth 0 x)\n (char-to-string 96) \":\")))\n (mapcar\n '(lambda (x)\n (mapcar\n (lambda (x)\n (replace-regexp-in-string \"[[:blank:]]*$\" \"\"\n (replace-regexp-in-string \"^[[:blank:]]*\" \"\" x))) x))\n (mapcar '(lambda (x) (split-string x \"=\"))\n (split-string text \",\")))\n indent)))\n (if (string= args \"\")\n (make-string 3 34)\n (mapconcat\n 'identity\n (list \"\" \"Arguments:\" args (make-string 3 34))\n indent)))\n }\n ${4:$\n (mapconcat\n '(lambda (x)\n (if (not (string= (nth 0 x) \"\"))\n (concat \"self._\" (nth 0 x) \" = \" (nth 0 x))))\n (mapcar\n '(lambda (x)\n (mapcar\n '(lambda (x)\n (replace-regexp-in-string \"[[:blank:]]*$\" \"\"\n (replace-regexp-in-string \"^[[:blank:]]*\" \"\" x)))\n x))\n (mapcar '(lambda (x) (split-string x \"=\"))\n (split-string text \",\")))\n (concat \"\\n\" (make-string (current-column) 32)))\n }\n $0" "class" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/class" nil nil) ("__" "__${init}__" "__...__" nil nil nil "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode/__" nil nil))) | |
yas--load-directory-2("/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode" python-mode) | |
yas--load-directory-1("/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode" python-mode (text-mode)) | |
eval((yas--load-directory-1 "/Users/terry/.emacs.d/elpa/yasnippet-0.8.0/snippets/python-mode" (quote python-mode) (quote (text-mode)))) | |
yas--load-pending-jits() | |
yas-minor-mode(1) | |
elpy-module-yasnippet(buffer-init) | |
apply(elpy-module-yasnippet buffer-init nil) | |
elpy-modules-run(buffer-init) | |
elpy-modules-buffer-init() | |
elpy-mode() | |
run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook) | |
apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook)) | |
run-mode-hooks(python-mode-hook) | |
python-mode() | |
set-auto-mode-0(python-mode nil) | |
set-auto-mode() | |
normal-mode(t) | |
after-find-file(nil t) | |
find-file-noselect-1(#<buffer connector.py> "~/dark-matter/light-matter/light/connector.py" nil nil "~/dark-matter/light-matter/light/connector.py" (61480732 16777220)) | |
find-file-noselect("/Users/terry/dark-matter/light-matter/light/connector.py" nil nil) | |
ido-file-internal(raise-frame) | |
ido-find-file() | |
funcall-interactively(ido-find-file) | |
call-interactively(ido-find-file nil nil) | |
command-execute(ido-find-file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment