doglooksgood / dogemacs Goto Github PK
View Code? Open in Web Editor NEWpersonal .emacs.d
personal .emacs.d
在 modeline font setting 中,是不是需要加入(set-face-attribute 'mode-line-active frame :font font-spec)
?
我使用 Unifont 时好像并不等宽
I have borrowed this configuration, and I am getting the following two issues:
Debugger entered--Lisp error: (void-variable +modeline-font-family)
(format "%s-%d" +modeline-font-family +font-size)
(let ((font-spec (format "%s-%d" +font-family +font-size)) (line-font-spec (format "%s-%d" +modeline-font-family +font-size)) (variable-pitch-font-spec (format "%s-%d" +variable-pitch-family +font-size)) s (fixed-pitch-font-spec (format "%s-%d" +fixed-pitch-family +font-size))) (set-face-attribute 'variable-pitch frame :font variable-pitch-font-spec :height 1.2) (set-face-attribute 'fixed-pitch frame :font fixed-pitch-font-spec) (set-face-attribute 'fixed-pitch-serif frame :font fixed-pitch-font-spec) (set-face-attribute 'tab-bar frame :font font-spec :height 1.0) (set-face-attribute 'mode-line frame :font line-font-spec) (set-face-attribute 'mode-line-inactive frame :font line-font-spec))
+load-face-font()
+load-font()
load-with-code-conversion("/home/zenny/.emacs.d/elisp/init-font.el" "/home/zenny/.emacs.d/elisp/init-font.el" nil t)
require(init-font)
load-with-code-conversion("/home/zenny/.emacs.d/init.el" "/home/zenny/.emacs.d/init.el" t t)
load("/home/zenny/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode -0xa451c205c134f20>) #f(compiled-function () #<bytecode -0x1f3c686ddc0ca9b5>) t)
command-line()
normal-top-level()
But when I commented the following lines of the elisp/init-font.el
, it compiles normally.
;; (defun +load-face-font (&optional frame)
;; (let ((font-spec (format "%s-%d" +font-family +font-size))
;; (line-font-spec (format "%s-%d" +modeline-font-family +font-size))
;; (variable-pitch-font-spec (format "%s-%d" +variable-pitch-family +font-size))s
;; (fixed-pitch-font-spec (format "%s-%d" +fixed-pitch-family +font-size)))
;; (set-face-attribute 'variable-pitch frame
;; :font variable-pitch-font-spec
;; :height 1.2)
;; (set-face-attribute 'fixed-pitch frame :font fixed-pitch-font-spec)
;; (set-face-attribute 'fixed-pitch-serif frame :font fixed-pitch-font-spec)
;; (set-face-attribute 'tab-bar frame :font font-spec :height 1.0)
;; (set-face-attribute 'mode-line frame :font line-font-spec)
;; (set-face-attribute 'mode-line-inactive frame :font line-font-spec)))
...
;; (+load-face-font)
...
;; (+load-ext-font)))
Thanks.
PS: I had another issue with normal mode which was solved meow-edit/meow#241. Kudos to the input from @Linnere (https://github.com/Linerre).
我用spacemacs打开中文的文件太慢了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.