Then going on implode and for the example, putting my cursor after the "i" then M-x yas/create-php-snippet:
the status bar says : You can run the commandyas/create-php-snippet' with C-c C-y`
a newline (nothing else) is inserted between the "i" and the "m"
My hypothesis is that it's not impossible that 2 bugs live here, one about the snippet builder itself (backtrace1) and another one about the interactive/non-interactive function call and empty argument (or something related).
When loading php-auto-yasnippets with my normal .emacs I get the above errors
wrong-type-argument stringp nil
)But when running : $ emacs -nw -D -Q --debug-init a.php (load-file ~/.emacs.d/php-mode.el) (load-file ~/.emacs.d/dropdown-list.el) (load-file ~/.emacs.d/yasnippet.el) (load-file ~/.emacs.d/php-auto-yasnippets.el) M-: (setq php-auto-yasnippet-php-program "/tmp/Create-PHP-YASnippet.php") M-: (define-key php-mode-map (kbd "C-c C-y") 'yas/create-php-snippet)
Then going on
implode
and for the example, putting my cursor after the "i" then M-xyas/create-php-snippet
:You can run the command
yas/create-php-snippet' with C-c C-y`My hypothesis is that it's not impossible that 2 bugs live here, one about the snippet builder itself (backtrace1) and another one about the interactive/non-interactive function call and empty argument (or something related).