Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1239799
  • 博文数量: 264
  • 博客积分: 10772
  • 博客等级: 上将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-25 11:54
文章分类

全部博文(264)

文章存档

2012年(4)

2011年(51)

2010年(31)

2009年(57)

2008年(51)

2007年(70)

分类: LINUX

2007-10-14 22:24:19

文件:_emacs.zip
大小:0KB
下载:下载

;; set maximum windows on startup
(defun w32-restore-frame ()
    "Restore a minimized frame"
     (interactive)
     (w32-send-sys-command 61728))

(defun w32-maximize-frame ()
    "Maximize the current frame"
     (interactive)
     (w32-send-sys-command 61488))

(w32-maximize-frame)

;; show line numbers
(require 'setnu)
(setnu-mode t)
(global-set-key [f3] (quote setnu-mode))

;; display euc-jp encoding
(set-default-coding-systems 'euc-jp)
(set-language-environment 'Japanese)
(set-keyboard-coding-system 'euc-jp)
(set-clipboard-coding-system 'euc-jp)
(set-terminal-coding-system 'euc-jp)
(set-buffer-file-coding-system 'euc-jp)
(set-selection-coding-system 'euc-jp)
(modify-coding-system-alist 'process "*" 'euc-jp)
(setq default-process-coding-system
             '(euc-jp . euc-jp))
(setq-default pathname-coding-system 'euc-jp)

;;set the indentation
(setq c-basic-offset 4)

;;set copy paste from interprogram
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)


阅读(3079) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~