We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Contacting host: melpa.org:443 [2 times] Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN sis-autoloads.el Error loading autoloads: (user-error Local variables entry is missing the suffix) Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... File mode specification error: (user-error Local variables entry is missing the suffix) File local-variables error: (user-error Local variables entry is missing the suffix) Compiling d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis-autoloads.el... Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... [2 times] Compiling d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis.el...done Wrote d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis.elc Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... Done (Total of 1 file compiled, 1 failed, 1 skipped) Package ‘sis’ installed. Operation [ Install 1 ] finished Error running timer ‘sis--respect-post-cmd-timer-fn’: (wrong-number-of-arguments (lambda (buffer) (sis--string-match-p "^magit.*:" (buffer-name buffer))) 0)
安装 sis-20230305.1006 后Error running timer ‘sis--respect-post-cmd-timer-fn’:
配置如下:
(use-package sis :after yasnippet :init (setq sis-respect-go-english-triggers (list 'isearch-forward 'isearch-backward) ; isearch-forward 命令时默认进入en sis-respect-restore-triggers (list 'isearch-exit 'isearch-abort)) ; isearch-forward 恢复, isearch-exit `<Enter>', isearch-abor `C-g' :config (sis-ism-lazyman-config nil t 'w32) (sis-global-cursor-color-mode t) (sis-global-respect-mode t) (sis-global-inline-mode t) ; 中文输入法状态下,中文后<spc>自动切换英文,结束后自动切回中文 ;; 特殊定制 (setq ;; sis-default-cursor-color "green yellow" ; 英文光标色 sis-other-cursor-color "#FF2121" ; 中文光标色传统的中国红,又称绛色 ;; sis-inline-tighten-head-rule 'all ; 删除头部空格,默认1,删除一个空格,1/0/'all sis-inline-tighten-tail-rule 'all ; 删除尾部空格,默认1,删除一个空格,1/0/'all sis-inline-with-english t ; 默认是t, 中文context下输入<spc>进入内联英文 sis-inline-with-other t) ; 默认是nil,而且prog-mode不建议开启, 英文context下输入<spc><spc>进行内联中文 ;; 特殊buffer禁用sis前缀,使用Emacs原生快捷键 setqsis-prefix-override-buffer-disable-predicates (setq sis-prefix-override-buffer-disable-predicates (list 'minibufferp (;; magit 的keymap是基于text property的,优先级比sis更高。进入 magit 后,disable sis的映射 lambda (buffer) (sis--string-match-p "^magit.*:" (buffer-name buffer))) (;; special buffer lambda (buffer) ; special buffer,所有*打头的buffer,但是不包括*Scratch* *New, *About GNU等buffer (and (sis--string-match-p "^\*" (buffer-name buffer)) (not (sis--string-match-p "^\*About GNU Emacs" (buffer-name buffer))) ; *About GNU Emacs" 仍可使用 C-h/C-x/C-c 前缀 (not (sis--string-match-p "^\*sdcv" (buffer-name buffer))) ; ??? (not (sis--string-match-p "^\*new\*" (downcase (buffer-name buffer)))) (not (sis--string-match-p "^\*scratch\*" ; *Scratch* 仍可使用 C-h/C-x/C-c 前缀 (downcase (buffer-name buffer)))))))))
The text was updated successfully, but these errors were encountered:
File mode specification error: (user-error Local variables entry is missing the suffix)
可能是你的windows系统的文件encoding的问题。 我给指定了utf8,你再看看, 也请把结果反馈过来。
Sorry, something went wrong.
No branches or pull requests
Contacting host: melpa.org:443 [2 times] Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN sis-autoloads.el Error loading autoloads: (user-error Local variables entry is missing the suffix) Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... File mode specification error: (user-error Local variables entry is missing the suffix) File local-variables error: (user-error Local variables entry is missing the suffix) Compiling d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis-autoloads.el... Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... [2 times] Compiling d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis.el...done Wrote d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006/sis.elc Checking d:/Q/360/Emacs/winrc/emacsrc/.emacs.d/elpa/sis-20230305.1006... Done (Total of 1 file compiled, 1 failed, 1 skipped) Package ‘sis’ installed. Operation [ Install 1 ] finished Error running timer ‘sis--respect-post-cmd-timer-fn’: (wrong-number-of-arguments (lambda (buffer) (sis--string-match-p "^magit.*:" (buffer-name buffer))) 0)
安装 sis-20230305.1006 后Error running timer ‘sis--respect-post-cmd-timer-fn’:
配置如下:
The text was updated successfully, but these errors were encountered: