emacs 28是从这里下载的吗?请问是否稳定?看了一下snapshot版本的下载包较一般的大了很多,如果是64位,该下载哪个包?谢谢。
今天更新之后,C/C++文件编辑输入>后或者按enter自动完成>后,后端弹出灰色文本和>前的一样,按tab或者enter均无法取消,必须c x c s保存才会消息……
不知道怎么重现这个问题,在本地测试没有看到这个现象。
我不用Windows ,帮不了你哈
google 一下就知道了,OS 都不明确无法回答你。我在 macOS 上用 emacs-plus.
操作系统是WSL1 Debian 10,纯终端命令行模式下
今天更新之后问题消失,可能是lsp的问题,后续不再频繁更新了
换成 -l也不行,容器里启动的结果也是一样的
这条命令是启动mini 模式,就是截图所示的样子,主要用于调试。 正常启动直接 emacs就好了,我在Windows 10上测试没有问题的。
你的emacs 27 28是从https://github.com/m-parashar/emax64/releases里下载的吗?
我用官方编译的,这个也用过,区别不大。
1 个赞
在 org-mode 下会报如下错误
Org mode fontification error in # at 8
File mode specification error: (wrong-type-argument sequencep t)
toggle-debug-on-error
看看 backtrace 吧
Debugger entered--Lisp error: (wrong-type-argument sequencep t)
mapcar(car t)
prettify-symbols--make-keywords()
prettify-symbols-mode(1)
(closure (t) nil "Beautify org symbols." (setq prettify-symbols-alist centaur-prettify-org-symbols-alist) (prettify-symbols-mode 1))()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer test.org> "~/Desktop/test.org" nil nil "~/Desktop/test.org" (8657091196 16777220))
find-file-noselect("/Users/mac/Desktop/test.org" nil nil nil)
find-file("/Users/mac/Desktop/test.org")
find-file-existing("/Users/mac/Desktop/test.org")
(lambda (&rest ignore) (find-file-existing "/Users/mac/Desktop/test.org"))((item :tag #(" ~/Desktop/test.org" 0 1 (face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) font-lock-face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) display (raise -0.06) rear-nonsticky t)) :action (lambda (&rest ignore) (find-file-existing "/Users/mac/Desktop/test.org")) :button-face (:underline nil) :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 593 to 613 in *dashboard*> :from #<marker (moves after insertion) at 593 in *dashboard*> :to #<marker at 613 in *dashboard*>) nil)
widget-apply((item :tag #(" ~/Desktop/test.org" 0 1 (face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) font-lock-face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) display (raise -0.06) rear-nonsticky t)) :action (lambda (&rest ignore) (find-file-existing "/Users/mac/Desktop/test.org")) :button-face (:underline nil) :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 593 to 613 in *dashboard*> :from #<marker (moves after insertion) at 593 in *dashboard*> :to #<marker at 613 in *dashboard*>) :action nil)
widget-apply-action((item :tag #(" ~/Desktop/test.org" 0 1 (face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) font-lock-face (:family "file-icons" :height 1.2 :inherit all-the-icons-dgreen) display (raise -0.06) rear-nonsticky t)) :action (lambda (&rest ignore) (find-file-existing "/Users/mac/Desktop/test.org")) :button-face (:underline nil) :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 593 to 613 in *dashboard*> :from #<marker (moves after insertion) at 593 in *dashboard*> :to #<marker at 613 in *dashboard*>) nil)
widget-button-press(593)
dashboard-return()
funcall-interactively(dashboard-return)
call-interactively(dashboard-return nil nil)
#f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x400b8c3f>)(dashboard-return nil nil nil)
ad-Advice-command-execute(#f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x400b8c3f>) dashboard-return)
apply(ad-Advice-command-execute #f(compiled-function (cmd &optional record-flag keys special) "Execute CMD as an editor command.\nCMD must be a symbol that satisfies the `commandp' predicate.\nOptional second arg RECORD-FLAG non-nil\nmeans unconditionally put this command in the variable `command-history'.\nOtherwise, that is done only if an arg is read using the minibuffer.\nThe argument KEYS specifies the value to use instead of (this-command-keys)\nwhen reading the arguments; if it is nil, (this-command-keys) is used.\nThe argument SPECIAL, if non-nil, means that this command is executing\na special event, so ignore the prefix argument and don't clear it." #<bytecode 0x400b8c3f>) dashboard-return)
command-execute(dashboard-return)
看看org buffer里这两个变量的值 prettify-symbols-alist
centaur-prettify-org-symbols-alist
。你的配置中 prettify-symbols-alist 为 t,这个不正常。
prettify-symbols-alist is a buffer-local variable defined in
prog-mode.el.gz.
Value in #<buffer test.org>
t
centaur-prettify-org-symbols-alist is a variable defined in
init-custom.el.
Value
t
Original Value
(("[ ]" . 9744)
("[X]" . 9745)
("[-]" . 9949)
("#+ARCHIVE:" . 128230)
("#+AUTHOR:" . 128100)
("#+CREATOR:" . 128129)
("#+DATE:" . 128198)
("#+DESCRIPTION:" . 11801)
("#+EMAIL:" . 128386)
("#+OPTIONS:" . 9965)
("#+SETUPFILE:" . 9966)
("#+TAGS:" . 127991)
("#+TITLE:" . 128366)
("#+BEGIN_SRC" . 9998)
("#+END_SRC" . 9633)
("#+BEGIN_QUOTE" . 187)
("#+END_QUOTE" . 171)
("#+HEADERS" . 9776)
("#+RESULTS:" . 128187))
这个是list,为什么设置为t?
谢谢帮助,好了
不客气~~~~~
@seagle0128
centaur-org-directory
怎么配置?
(setq centaur-org-directory '("~/workspace/notes"))
(setq centaur-org-directory (expand-file-name "~/workspace/notes"))
这两种写法都不起作用。