今日回顾
emacs配置
包管理
浏览包
list-packages
安装包
package-install
删除包
package-delete
重新安装包
package-reinstall
刷新包的元信息
package-refresh-contents
加载包
load-file
load-library
require
包文档
C-h i, info top search specific package
C-h r, emacs manual focus related topic
C-h P, package description including link to more reference
C-h m, current major and minor mode help
C-h k, keymap help
C-h c, command help
C-h f, function help and can browse source code and comment
C-h v, variable help
M-x customize, options within easy customization
包配置
which behaviour can be configured and how to config refer above help
emacs的php开发环境
phps-mode
php-mode
emmet-mode
web-mode
emacs的org写作环境
markdown书写和发布
- markdown-mode的安装和使用,快捷键类似于org-mode
- cnblogs的两个markdown编辑器的使用,和发布文章的用法
org-export导出为markdown格式的支持
- org-export-backends: '(ascii html icalendar latex odt)
- (require 'ox-md)
- C-c C-e中间遇到了molokai主题的bug,显示不了当前内容
- 导出选项格式定制,在org export的定制组下
包括定制是否生成org-export-with-toc: nil默认t表示生成 - 导出选项中除了上面的格式设置,还有一些重要的元数据设置用关键词设置
是否打印标题到导出文件: org-export-with-title: t,默认t表示打印
title, author,email,date,对于比较文件内容的版本很重要 - 影响导出选项的三个位置:
- global-variable for all files,
- individual keyword and option keyword for a,
- properties for a subtree
org-publish发布到本地或远程的特定路径下
- project definition
- from where to where
- selection files
- publishing action
- upload files
org-upload 同步和上传文件到web servr上
org-agenda导致卡顿的排错无论是打开还是导出、发布org文件