Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Symbol's function definition is void : yas--fom-set-next-fom #333

Closed
nopcall opened this Issue · 4 comments

3 participants

@nopcall

when i load *.c file
and type "printf" then use "tab" to complete
it disaplay
printf ("${1:%s}YASESCAPE92PROTECTGUARDn"${1:$(if (string-match "%" text) "," "YASESCAPE41PROTECTGUARD;")}$2${1:$(if (string-match "%" text) "YASESCAPE41PROTECTGUARD;" "")}
and the minbuffer display
Symbol's function definition is void : yas--fom-set-next-fom

when the emacs start it display
"Package assoc is obsolete"

@nibua-r

Here, I have emacs 24.3.50.1 compiled yesterday + latest master yasnippet and I have a similar issue.Maybe you could provide your emacs version.

Anyway, this seems a duplicate of #330. "Package assoc is obsolete" message at startup is not related.
This issue should be closed in favor of the ongoing discussion on #330.

In the meantime, a temporary workaround is to replace cl-flet occurrences by labels and wait for a better solution.

@capitaomorte

duplicate

@capitaomorte

duplicate #330 has been fixed, but I have not tested it with very recent emacsen.

@nibua-r

Thank you for the fix, it's best that the ugly workaround I worked myself ;) !

Functional here using my emacs compiled yesterday (bzr trunk 110908). But rake tests returns:

emacs -Q -L . -l yasnippet-tests.el -nw --batch -e yas/ert
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
Loading cc-langs...
Wrote /tmp/yasnippet-fixture5397SQx/.emacs.d/snippets/c-mode/foo-group-b/strcmp
Wrote /tmp/yasnippet-fixture5397SQx/.emacs.d/snippets/lisp-interaction-mode/ert-deftest
Selector: t
Passed: 25
Failed: 2
Total:  27/27

Started at:   2012-11-16 20:36:34+0100
Finished.
Finished at:  2012-11-16 20:36:37+0100

f.................f........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.