-
Notifications
You must be signed in to change notification settings - Fork 324
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
define-abbrev-table 缩写展开无法生效 #42
Comments
我这里没问题,能不能给你全部编辑器的配置信息。空格后会自动展开,在缩写表中定义的字符串。 |
我编辑器的全部配置都是照着山人的视频一句一句敲的,我也觉得很奇怪 |
在define-abbrev-table的最后 C-x C-e,输出字符nil, |
@ziyuanjun 我也是输出 nil... 不过这并不影响。 |
@ziyuanjun 你试一下手动在当前 buffer 调用 M-x abbrev-mode 试试 |
@ziyuanjun |
@zilongshanren 在当前buffer 调用 M-x abbrev-mode就可以啦! 调用后: |
@ziyuanjun 我觉得你也需要检查下配置文件诶 一句句敲可能会敲错的,之前我全部都是自己敲的然后发现不对的时候就直接拷贝粘贴师傅的配置,然后就好了... @zilongshanren 师傅,我回 S 国了,可以更新文字版啦。 |
@li-xinyang 上周的视频我这周末补上,上周比较忙,没有来得及录。 |
在你的配置里面添加 : |
Emacs 版本#: GNU Emacs 25.1.50.1
操作系统#: LXLE 14.04 LTS
语句#:
(abbrev-mode t)
(define-abbrev-table 'global-abbrev-table '(
;;me
("8zy" "ziyuan")
;;mic
("8ms" "Microsoft")
))
现象#:敲完8zy后按空格或tab都不会变成我想要的字符串。
The text was updated successfully, but these errors were encountered: