gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz] 9th-13th (jvk)


From: Janne Kujala
Subject: [Gzz] 9th-13th (jvk)
Date: Mon, 14 Oct 2002 11:06:00 +0300
User-agent: Mutt/1.2.5i

9th-13th: libpaper work, cleanups, configuring emacs

I added a TAGS target in the top-level Makefile.
It creates an emacs tag file from all cvs files in 
gfx and gzz subdirectories.

Use M-. in emacs to serch for a definition of a tag.

Some useful settings to put in .emacs:

; highlight syntax
(global-font-lock-mode 1) 

; indent by 4 in c modes
(setq c-basic-offset 4)

; search TAGS file from the top-level gzz directory
(setq tags-table-list '("~/savannah/gzz"))

; get rid of the tool-bar
(tool-bar-mode nil)

; disable C-z iconification (very annoying)
(global-unset-key "\C-z")

; Use C-p for completing symbols (I use M-tab for cycling windows)
(keyboard-translate ?\C-p 'M-tab)

; setup mouse wheel scrolling
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)

(defun up-one () (interactive) (scroll-up 1))
(defun down-one () (interactive) (scroll-down 1))
(global-set-key [S-mouse-4] 'down-one)
(global-set-key [S-mouse-5] 'up-one)

(defun up-a-lot () (interactive) (scroll-up))
(defun down-a-lot () (interactive) (scroll-down))
(global-set-key [C-mouse-4] 'down-a-lot)
(global-set-key [C-mouse-5] 'up-a-lot)

        jvk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]