fix _ local variable bug
This commit is contained in:
parent
b6f6616b81
commit
eb78e5316f
2
ekp.el
2
ekp.el
@ -614,8 +614,6 @@ So the length of line glues is: line-boxes-num + 1"
|
||||
(t
|
||||
(let* ((lines-gaps (ekp-dp-data string line-pixel :gaps))
|
||||
(line-gaps (nth i lines-gaps))
|
||||
(_ ;; (elog-debug "line-gaps:%S" line-gaps)
|
||||
)
|
||||
(latin-gaps (nth 0 line-gaps))
|
||||
(mix-gaps (nth 1 line-gaps))
|
||||
(cjk-gaps (nth 2 line-gaps))
|
||||
|
||||
@ -78,3 +78,9 @@
|
||||
(sit-for 0.00001))))))
|
||||
|
||||
;; (ekp-test-demo 400 800 1)
|
||||
|
||||
;; (ekp-clear-caches)
|
||||
;; (ekp-test-justify "zh2" "en_US" "Cascadia Next SC" 666)
|
||||
;; (ekp-boxes (ekp-test-str "zh2" "en_US" "Cascadia Next SC"))
|
||||
;; (ekp-split-to-boxes "用户可通过Emacs Lisp (elisp) 重新定义编辑行为")
|
||||
;; (ekp-split-to-boxes "用户可通过Emacs Lisp (elisp) 重新定义编辑行为")
|
||||
|
||||
1
tests/text-zh2-en_US.txt
Normal file
1
tests/text-zh2-en_US.txt
Normal file
@ -0,0 +1 @@
|
||||
用户可通过Emacs Lisp (elisp) 重新定义编辑行为。M-x 是每个Emacer的魔法咒语——按下Alt(或Meta键)加x即可召唤任意命令,比如M-x butterfly这样的复活节彩蛋。中国开发者常戏称其为“永远的操作系统”,因为你可以通过org-mode管理TODO list、用magit操作Git仓库、甚至用EMMS播放MP3音乐。在Unix哲学中,Emacs坚持“一个编辑器统治所有”(One Editor to Rule Them All)的理念,这与VS Code等现代编辑器形成鲜明对比。C-x C-f打开文件,C-x C-s保存文档,看似复杂的组合键一旦形成肌肉记忆,效率就会呈指数级飙升。著名Python库Black的开发者曾公开表示:"My .emacs is my second brain."
|
||||
Loading…
Reference in New Issue
Block a user