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

Compiler warnings, nothing critical #1215

Open
sjLambda opened this issue Jul 11, 2024 · 0 comments
Open

Compiler warnings, nothing critical #1215

sjLambda opened this issue Jul 11, 2024 · 0 comments
Labels

Comments

@sjLambda
Copy link

Several compiler warnings, I can't tell if any functionality was affected. Just FYI.

In smartparens-mode:
smartparens.el:746:11: Warning: reference to free variable ‘smartparens-strict-mode’
smartparens.el:1589:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:1595:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’

In sp-syntax-after-is-prefix:
smartparens.el:1954:26: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-syntax-after-is-word-or-symbol:
smartparens.el:1968:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-syntax-before-is-word-or-symbol:
smartparens.el:1979:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-point-in-comment:
smartparens.el:2025:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2027:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2029:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2031:39: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp--get-active-overlay:
smartparens.el:2941:22: Warning: value from call to ‘<’ is unused

In sp--reset-memoization:
smartparens.el:3023:37: Warning: Unused lexical argument ‘ignored’

In sp--strict-regexp-opt:
smartparens.el:3518:49: Warning: Unused lexical argument ‘ignored’

In sp--all-pairs-to-insert:
smartparens.el:3937:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-get-comment-bounds:
smartparens.el:4609:43: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:4612:43: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-get-expression:
smartparens.el:5162:10: Warning: Unused lexical variable ‘paired-delim’

In sp--skip-to-symbol-1:
smartparens.el:7775:10: Warning: Unused lexical variable ‘next-char-fn’

In sp-backward-symbol:
smartparens.el:8004:40: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-change-enclosing:
smartparens.el:8155:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-newline:
smartparens.el:9547:34: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
smartparens.el:9948:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9951:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9957:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9966:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’

  • smartparens version: 1.11.0
  • Active major-mode: emacs-lisp-compilation-mode
  • Smartparens strict mode: nil
  • Emacs version (M-x emacs-version): GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0)
  • Starterkit/Distribution: Vanilla
  • OS: gnu/linux

@github-project-automation github-project-automation bot moved this to To triage in Triage Jul 11, 2024
@Fuco1 Fuco1 moved this from To triage to Backlog in Triage Jul 13, 2024
@Fuco1 Fuco1 added the bug label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants