Subject: bug#42120: [feature/native-comp] Yasnippet reports no snippets found

From: Sébastien Miquel <[email-masked]>
Date: Mon, 29 Jun 2020 10:46:52 +0200

Hi Andrea,

Using the latest native-comp branch, once compiled, the yasnippet 
package fails to pick up snippets.

Calling yas-reload-all reports that no snippets were found (actually 
that was with yesterday's branch, now it complains that the --cl-rest-- 
variable is void). Calling yas-load-directory also fails to pick up 
snippets.

Calling yas-load-snippet-buffer works.

Manually loading yasnippet.el and reloading all snippets works.

Here's an example of the content of a snippet file :

# -*- mode: snippet -*-
# name: foo
# key: <f
# --
# foobar$0