Created
June 4, 2013 15:53
-
-
Save dhaley/5707074 to your computer and use it in GitHub Desktop.
yas/create-php-snippet debug
This file contains 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 stringp nil) | |
string-match("[ \f \n | |
]+" nil 0) | |
split-string(nil) | |
(let* ((input-chunks (split-string input)) (function-or-method-name (first input-chunks)) (class-name (or (second input-chunks) ""))) (call-process php-executable nil (current-buffer) nil php-auto-yasnippet-php-program function-or-method-name class-name)) | |
(progn (let* ((input-chunks (split-string input)) (function-or-method-name (first input-chunks)) (class-name (or (second input-chunks) ""))) (call-process php-executable nil (current-buffer) nil php-auto-yasnippet-php-program function-or-method-name class-name))) | |
(unwind-protect (progn (let* ((input-chunks (split-string input)) (function-or-method-name (first input-chunks)) (class-name (or (second input-chunks) ""))) (call-process php-executable nil (current-buffer) nil php-auto-yasnippet-php-program function-or-method-name class-name))) (set-match-data save-match-data-internal (quote evaporate))) | |
(let ((save-match-data-internal (match-data))) (unwind-protect (progn (let* ((input-chunks (split-string input)) (function-or-method-name (first input-chunks)) (class-name (or (second input-chunks) ""))) (call-process php-executable nil (current-buffer) nil php-auto-yasnippet-php-program function-or-method-name class-name))) (set-match-data save-match-data-internal (quote evaporate)))) | |
payas/create-template(nil) | |
(let ((exit-code (payas/create-template input))) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list (yas--parse-template)))) | |
(progn (let ((exit-code (payas/create-template input))) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list (yas--parse-template))))) | |
(unwind-protect (progn (let ((exit-code (payas/create-template input))) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list (yas--parse-template))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) | |
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((exit-code (payas/create-template input))) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list (yas--parse-template))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))) | |
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((exit-code (payas/create-template input))) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list (yas--parse-template))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) | |
(if (yas--get-template-by-uuid (quote php-mode) input) nil (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((exit-code ...)) (if (/= exit-code 0) (payas/report-error exit-code input)) (yas-define-snippets (quote php-mode) (list ...)))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) | |
payas/define-template(nil) | |
(if class (payas/define-template (concat function " " class)) (payas/define-template function)) | |
(let ((function (thing-at-point (quote symbol))) (class (if prefix (read-from-minibuffer "Class: ")))) (if class (payas/define-template (concat function " " class)) (payas/define-template function)) (yas-expand)) | |
yas/create-php-snippet(nil) | |
call-interactively(yas/create-php-snippet nil nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment