Open tobiasBora opened 4 years ago
Hello, I don't know why, but if I enable both the auto-indent-mode together with the smooth-scrolling-mode, any time I just try to mode my cursor I get an error with lot's of unreadible chars:
smooth-scrolling-mode
apply: Wrong number of arguments: #[(ad--addoit-function arg) "ÆÇÈÆ\"\0 \0ÉÊ!\0ÉË!\0Æ! G\0 G\0Ì=G\0Í G\0ÎÏ !ÇÈÆ\"G\0ÐÆw\0\0 \0>\0h\0ÑÒ!\0Ó \0\0Ô \0Ï ÇÈÆ\"ÐÆw))" [ad-return-value at-beginning auto-indent-home-is-beginning-of-indent-when-spaces-follow ad--addoit-function arg auto-indent-fix-org-move-beginning-of-line nil looking-back "^[ ]*" looking-at ...] 4], 1
To get this issue I just need to enable both modes:
;; Auto-indent when pasting code ;; https://github.com/mattfidler/auto-indent-mode.el (use-package auto-indent-mode :ensure t :config (auto-indent-global-mode)) ;; Smooth scrolling package, ;; https://github.com/aspiers/smooth-scrolling (use-package smooth-scrolling :ensure t :config (smooth-scrolling-mode 1))
Here is a full example init.el, you just need to save it in, say, /tmp/debugemacs/.emacs.d/init.el, and run:
/tmp/debugemacs/.emacs.d/init.el
env HOME=/tmp/debugemacs/ emacs
Then, just type "C-n" in any buffer, and observe the error.
I don't know in which package there is an issue, so I'll submit in both repos, here is the corresponding issue in the other repo https://github.com/mattfidler/auto-indent-mode.el/issues/66.
Thanks for the report and sorry for the very slow response. Please see #34 - would love to get your feedback!
Hello, I don't know why, but if I enable both the auto-indent-mode together with the
smooth-scrolling-mode
, any time I just try to mode my cursor I get an error with lot's of unreadible chars:To get this issue I just need to enable both modes:
Here is a full example init.el, you just need to save it in, say,
/tmp/debugemacs/.emacs.d/init.el
, and run:Then, just type "C-n" in any buffer, and observe the error.
I don't know in which package there is an issue, so I'll submit in both repos, here is the corresponding issue in the other repo https://github.com/mattfidler/auto-indent-mode.el/issues/66.