ITレガシー

レガシー・エンジニア(hsato)の日記です

Emacs 23 / Ubuntu 10.04 / VirtualBox

2010-08-19 10:26:13 | Ubuntu
今日はCassandraの勉強会。予習のために設定をしようとしたが、Emacsの調子が悪い。

結局以下の設定をする。

~/.Xresources
----- CUT HERE -----
Emacs.geometry: 88x30
Emacs.font: VL Gothic-9
----- CUT HERE -----

$ xrdb -remove
$ xrdb -merge ~/.Xresources

関係しそうな .emacs は以下のだろう。

----- CUT HERE -----
(add-to-list 'default-frame-alist '(alpha . (88 30)))
(set-frame-parameter nil 'alpha '(88 30))

(setq initial-frame-alist
(append (list
'(foreground-color . "white") ;; 文字色
'(background-color . "#333366") ;; 背景色
'(border-color . "black")
'(mouse-color . "white")
; '(cursor-color . "white")
; '(cursor-type . 'box) ;; ボックス型カーソル
'(cursor-type . 'hbar) ;; 下線
; '(cursor-type . '(bar . 3)) ;; 幅3ポイントの縦棒カーソル
'(width . 88) ;; フレームの幅
'(height . 30) ;; フレームの高さ
; '(top . 0) ;; Y 表示位置
; '(left . 340) ;; X 表示位置
)
initial-frame-alist))
(setq default-frame-alist initial-frame-alist)
----- CUT HERE -----

やっと使える。

本業に戻ろう。^_^;

c.f.

HANZUBON.jp » Emacs23

UNIXの部屋 コマンド検索:xrdb (*BSD/Linux)

最新の画像もっと見る

post a comment

ブログ作成者から承認されるまでコメントは反映されません。