emacs不常用配置
来源:互联网 发布:杭州数据分析招聘 编辑:程序博客网 时间:2024/05/16 08:02
1. 修改emacs的界面大小/颜色
;; frame configuration (setq default-frame-alist '( (top . 16) (left . 64) (width . 144) (height . 40) ;(mouse-color . "gold1") (cursor-color . "gold1") (background-color . "black") (foreground-color . "grey") ;;(right-fringe) ;;(left-fringe) ) )
2. emacs最大化/最小化
;; linux(defun my-maximized () (interactive) (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0) ) (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0) ));;(my-maximized) ;;启动时最大化;; windows;; window maximize/minimize/normal(defun emacs-maximize () "Maximize emacs window in windows os" (interactive) (w32-send-sys-command 61488))(defun emacs-minimize () "Minimize emacs window in windows os" (interactive) (w32-send-sys-command #xf020))(defun emacs-normal () "Normal emacs window in windows os" (interactive) (w32-send-sys-command #xf120));;(emacs-maximize) ;;启动时最大化;; 自动控制(cond ((string-equal system-type "windows-nt") (progn (message "Windows-nt") (emacs-maximize)) ) ((string-equal system-type "gnu/linux") (progn (message "GNU/Linux") (my-maximized)) ) )
0 0
- emacs不常用配置
- emacs 常用配置
- emacs Window 常用配置
- Emacs 常用配置
- emacs 笔记 常用功能 配置
- 如何不重新启动 Emacs 就让 .emacs 的配置起作用
- 如何不重新启动 Emacs 就让 .emacs 的配置起作用
- 如何不重新启动 Emacs 就让 .emacs 的配置起作用
- [Emacs] 1.3 我的常用按键配置
- Emacs 常用
- Emacs中那些不常用的行操作命令
- emacs配置.emacs
- emacs配置
- emacs 配置
- emacs 配置
- emacs配置
- Emacs配置
- Emacs 配置
- CUDA异步和同步传输
- 教你理解复杂的C/C++声明
- Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义
- ios的浅复制和深复制 (NSCoping协议)
- 如何解决修改build.prop之后系统无法启动机器的问题
- emacs不常用配置
- OE移动版的框架目录(留档)
- (三)Singleton模式
- 第二张线性表
- JDK1.5新特性
- 什么是幂等性
- 对于工作和生活,都需要积极的人
- 某年某月某日是这年的那一天
- Sublime Text 2快捷键大全