Skip to content

Commit 337496f

Browse files
committed
change markdown to org-mode
1 parent 5aeb3e7 commit 337496f

18 files changed

+175
-1052
lines changed

README.md README.org

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ File me [tickets](https://github.com/DennyZhang/Denny-s-emacs-configuration/issu
77

88
**Emacs shapes me to be a better programmer.**
99

10+
#+BEGIN_SRC elisp
11+
(load-file "~/Dropbox/Denny-s-emacs-configuration/myemacs.el")
12+
(load-file "~/Dropbox/Denny-s-emacs-configuration/mac-setting.el")
13+
#+END_SRC
14+
1015
Discuss with Denny in [LinkedIn](https://www.linkedin.com/in/dennyzhang001) or [Blog](https://www.dennyzhang.com).
1116

1217
Code is licensed under [MIT License](https://www.dennyzhang.com/wp-content/mit_license.txt).

fundamental-setting.el

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
;; Author: DennyZhang([email protected])
55
;; Copyright 2015, https://DennyZhang.com
66
;; Created:2008-10-01
7-
;; Updated: Time-stamp: <2018-07-18 13:52:32>
7+
;; Updated: Time-stamp: <2018-07-23 17:08:41>
88
;; --8<-------------------------- separator ------------------------>8--
99
(eval-when-compile (require 'subr-x))
1010
(setq debug-on-error t)
@@ -139,12 +139,9 @@
139139
(defalias 'linux (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/linux.org"))))
140140
(defalias 'openstack (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/openstack.org"))))
141141
(defalias 'cloud (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/cloud.org"))))
142-
(defalias 'security (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/security.org"))))
143142
(defalias 'ai (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/ai.org"))))
144143
(defalias 'devops (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/devops.org"))))
145144
(defalias 'ai (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/ai.org"))))
146-
(defalias 'docker (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/docker.org"))))
147-
(defalias 'chef (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/chef.org"))))
148145
(defalias 'ios (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/ios.org"))))
149146
(defalias 'web (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/web.org"))))
150147
(defalias 'language (lambda() (interactive) (my-open-file (concat CONF-SHARE-DIR "/org_data/technical/language.org"))))

mac-setting.el

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
;; Author: Denny Zhang(https://www.dennyzhang.com/contact)
55
;; Copyright 2015, https://DennyZhang.com
66
;; Created:2008-10-01
7-
;; Updated: Time-stamp: <2018-07-01 21:14:58>
7+
;; Updated: Time-stamp: <2018-08-15 22:47:49>
88
;;
99
;; --8<-------------------------- separator ------------------------>8--
1010
(setenv "PATH" "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/:/usr/local/texlive/2013/bin/universal-darwin/:/opt/local/bin")
@@ -20,13 +20,16 @@
2020
(defun qiang-font-existsp (font)
2121
(if (null (x-list-fonts font)) nil t))
2222
(defvar font-list '("宋体" "新宋体" "Microsoft Yahei" "文泉驿等宽微米黑" "黑体" ))
23+
2324
(require 'cl) ;; find-if is in common list package
2425
(find-if #'qiang-font-existsp font-list)
26+
2527
(defun qiang-make-font-string (font-name font-size)
2628
(if (and (stringp font-size)
2729
(equal ":" (string (elt font-size 0))))
2830
(format "%s%s" font-name font-size)
2931
(format "%s %s" font-name font-size)))
32+
3033
(defun qiang-set-font (english-fonts
3134
english-font-size
3235
chinese-fonts
@@ -47,9 +50,7 @@ If set/leave chinese-font-size to nil, it will follow english-font-size"
4750
(set-fontset-font (frame-parameter nil 'font)
4851
charset
4952
zh-font))))
50-
(qiang-set-font
51-
'("Consolas" "Monaco" "DejaVu Sans Mono" "Monospace" "Courier New") ":pixelsize=19"
52-
'("宋体" "新宋体" "Microsoft Yahei" "文泉驿等宽微米黑" "黑体" ))
53+
(qiang-set-font '("Consolas" "Monaco" "DejaVu Sans Mono" "Monospace" "Courier New") ":pixelsize=19" '("宋体" "新宋体" "Microsoft Yahei" "文泉驿等宽微米黑" "黑体" ))
5354
;; --8<-------------------------- separator ------------------------>8--
5455
(set-face-foreground 'default "#996633")
5556
;; --8<-------------------------- separator ------------------------>8--

myemacs.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
;; Author: Denny Zhang(https://www.dennyzhang.com/contact)
55
;; Copyright 2015, https://DennyZhang.com
66
;; Created:2008-10-01
7-
;; Updated: Time-stamp: <2018-07-08 00:11:40>
7+
;; Updated: Time-stamp: <2018-08-15 22:48:17>
88
;; --8<-------------------------- separator ------------------------>8--
99
;; (load-file "~/Dropbox/Denny-s-emacs-configuration/myemacs.el")
1010
;; --8<-------------------------- separator ------------------------>8--
@@ -62,7 +62,7 @@
6262
"web-setting.el"
6363
"linux-setting.el"
6464
"shell-setting.el"
65-
"mac-setting.el"
65+
;; "mac-setting.el" ;; TODO this
6666
"interoperation-setting.el"
6767
"postfundamental-setting.el"
6868
"passwd.el"

0 commit comments

Comments
 (0)