Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos causes emacs warnings #487

Open
prgreadonly opened this issue Jan 31, 2024 · 1 comment
Open

Typos causes emacs warnings #487

prgreadonly opened this issue Jan 31, 2024 · 1 comment

Comments

@prgreadonly
Copy link

prgreadonly commented Jan 31, 2024

Hello,

There appear to be a few typographical errors in the c++ and cc modes that cause warnings in emacs:

Ignoring unknown directive "desc" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "\\${[0-9N]*" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "References" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/file_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/function_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/member_description
Ignoring unknown directive "desc" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "\\${[0-9N]*" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "References" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/file_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/function_description
Ignoring unknown directive "cotributor" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/cc-mode/member_description

The cotributor typo can be fixed with a simple search and replace
c++-mode/class11 needs the header comments to comply to the standard

Thanks!

@mzjn
Copy link

mzjn commented Feb 3, 2024

The function_docstring snippet for Python causes a similar warning:

Ignoring unknown directive "NOTE" in file: /home/user/.emacs.d/elpa/yasnippet-snippets-20240115.1138/snippets/python-mode/function_docstring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants