jixiuf / vterm-toggle

toggles between the vterm buffer and whatever buffer you are editing.
GNU General Public License v3.0
188 stars 12 forks source link

Issue defining autoloads #24

Closed Ergus closed 3 years ago

Ergus commented 3 years ago

Hi:

After a fresh installation with use-package I am getting this message:

command-execute: Autoloading file /home/XXX/.emacs.d/elpa/vterm-toggle-20210130.1149/vterm-toggle.elc failed to define function vterm-toggle-cd

when I reinstall the package the problem seems to do away, but every time vterm is updated the problem comes back.

jixiuf commented 3 years ago

see https://emacs.stackexchange.com/questions/30898/how-to-solve-autoloading-failed-to-define-function-sml-mode

Ergus commented 3 years ago

see https://emacs.stackexchange.com/questions/30898/how-to-solve-autoloading-failed-to-define-function-sml-mode

Hi I already checked that but that's not the problem. Any other idea?

Ergus commented 3 years ago

Looking at the vterm-toggle-autoloads.el file the code seems to be fine but the vterm-toggle.elc is wrong. It only has this inside:

(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require cl-lib tramp tramp-sh vterm] 2)

I had to recompile the file and then the generated code is fine. But after an update the regenerated code is wrong again.

jixiuf commented 3 years ago

should be fixed 6342d42e5c3016e62a622cf3c855fa9a33d6d24b

Ergus commented 3 years ago

thanks