rejeep / drag-stuff.el

Drag stuff around in Emacs
233 stars 12 forks source link

Warnings in emacs 28 w/ native compilation #36

Open ideasman42 opened 3 years ago

ideasman42 commented 3 years ago

Running drag-stuff in emacs 28 with native compilation shows the following warnings:

Warning (comp): drag-stuff.el:69:13: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): drag-stuff.el:106:8: Warning: reference to free variable `evilp' Disable showing Disable logging
Warning (comp): drag-stuff.el:106:14: Warning: reference to free variable `evil-visual-mark' Disable showing Disable logging
Warning (comp): drag-stuff.el:111:8: Warning: reference to free variable `evilp' Disable showing Disable logging
Warning (comp): drag-stuff.el:111:14: Warning: reference to free variable `evil-visual-point' Disable showing Disable logging
Warning (comp): drag-stuff.el:115:7: Warning: reference to free variable `evilp' Disable showing Disable logging
Warning (comp): drag-stuff.el:116:43: Warning: reference to free variable `evil-visual-mark' Disable showing Disable logging
Warning (comp): drag-stuff.el:121:7: Warning: reference to free variable `evilp' Disable showing Disable logging
Warning (comp): drag-stuff.el:122:43: Warning: reference to free variable `evil-visual-point' Disable showing Disable logging
Warning (comp): drag-stuff.el:230:14: Warning: `goto-line' is for interactive use only; use `forward-line' instead. Disable showing Disable logging
Warning (comp): drag-stuff.el:237:19: Warning: reference to free variable `arg' Disable showing Disable logging
Warning (comp): drag-stuff.el:235:6: Warning: `goto-line' is for interactive use only; use `forward-line' instead. Disable showing Disable logging
Warning (comp): drag-stuff.el:270:12: Warning: reference to free variable `evilp' Disable showing Disable logging
Warning (comp): drag-stuff.el:357:31: Warning: defcustom for `drag-stuff-global-mode' fails to specify containing group Disable showing Disable logging
Warning (comp): drag-stuff.el:357:31: Warning: defcustom for `drag-stuff-global-mode' fails to specify containing group Disable showing Disable logging
Warning (comp): drag-stuff.el:247:33: Warning: the function `evil-exit-visual-state' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:241:31: Warning: the function `evil-visual-line' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:240:8: Warning: the function `evil-visual-make-selection' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:220:28: Warning: the function `evil-visual-type' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:209:54: Warning: the function `evil-visual-goto-end' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:142:4: Warning: the function `longlines-mode' is not known to be defined. Disable showing Disable logging
Warning (comp): drag-stuff.el:94:38: Warning: the function `evil-visual-state-p' is not known to be defined. Disable showing Disable logging
axelson commented 1 year ago

If anyone is interested in a package that doesn't have these warnings, a partial replacement for drag-stuff is https://github.com/emacsfodder/move-text

8dcc commented 3 weeks ago

If anyone is interested in a package that doesn't have these warnings, a partial replacement for drag-stuff is https://github.com/emacsfodder/move-text

Thank you, that package looks simpler and doesn't have unbound variables in the code since years ago.