- Timestamp:
- May 30, 2000, 5:25:09 PM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 863cf1e4d6f0ae21c616a61d634ba3085db476eb
- Parents:
- 6519530ab757cd7259147cc3ee9d334ebf8b0dda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs-general
r651953 rbe70a74 1 1 ;;; Emacs edit mode for this file is -*- Emacs-Lisp -*- 2 ;;; $Id: .emacs-general,v 1. 1 2000-05-24 15:10:35obachman Exp $2 ;;; $Id: .emacs-general,v 1.2 2000-05-30 15:25:09 obachman Exp $ 3 3 4 4 ;;; … … 40 40 (add-hook 'shell-mode-hook 'turn-on-font-lock) 41 41 42 ;;; 43 ;;; settings for both Emacs and XEmacs 44 ;;; 45 (custom-set-variables 46 '(next-line-add-newlines nil) 47 '(require-final-newline nil) 48 '(line-number-mode t) 49 '(kill-whole-line t) 50 ; I like unique buffer names based on dirs 51 '(uniquify-buffer-name-style 'post-forward-angle-brackets)) 52 53 (require 'uniquify) 54 42 55 (cond ((string-match "XEmacs\\|Lucid" emacs-version) 56 ;; 43 57 ;; XEmacs specific stuff 58 ;; 44 59 45 60 ;; I like some more keybindings for better moving 46 (define-key global-map '(control ,)61 (define-key global-map '(control up) 47 62 '(lambda () (interactive) (scroll-up -1))) 48 63 ;; control-, scrolls up 49 (define-key global-map '(control 46)64 (define-key global-map '(control down) 50 65 '(lambda () (interactive) (scroll-up 1))) 51 ;; control-; and control-'52 (define-key global-map '(control 59) 'backward-word)53 (define-key global-map '(control 39) 'forward-word)54 66 55 67 ;; a function which on C-= reload a file automatically without 56 68 ;; asking for confirmation got it from From: Richard Mlynarik 57 69 ;; <mly@adoc.xerox.com> on 1/18/95 70 ;; find-alternate-file (C-x C-v) is almost equivalent 58 71 (global-set-key [(control =)] '(lambda () 59 72 (interactive) … … 64 77 (toggle-auto-compression 1) 65 78 66 ;; I like unique buffer names based on dirs 67 (setq uniquify-buffer-name-style 'post-forward-angle-brackets) 68 (require 'uniquify) 79 ;; Use the "Describe Variable..." option on the "Help" menu 80 ;; or C-h v to find out what these variables mean. 81 (custom-set-variables 82 '(complex-buffers-menu-p t) 83 '(kill-whole-line t)) 69 84 70 ;; Use the "Describe Variable..." option on the "Help" menu 71 ;; or C-x v to find out what these variables mean. 72 (setq find-file-use-truenames nil 73 find-file-compare-truenames t 74 minibuffer-confirm-incomplete t 75 complex-buffers-menu-p t 76 next-line-add-newlines nil 77 mail-yank-prefix "> " 78 kill-whole-line t 79 ) 85 (setq minibuffer-confirm-incomplete t) 86 87 ;; show matching parantheses 88 (paren-set-mode 'paren) 80 89 81 90 ;; func-menu is a package that scans your source file for function … … 108 117 ) 109 118 (t 119 ;; 110 120 ;; Emcas stuff 121 ;; 122 123 ;; show matching parantheses 124 (show-paren-mode t) 125 126 ;; turn on auto (de)compression of files 127 (auto-compression-mode t) 128 111 129 ;; End Emcas stuff 112 130 ) … … 114 132 115 133 ;; use auctex as default mode for editing latex stuff 116 ( setq auctex-filename (locate-library "tex-site"))117 (if auctex-filename118 (require 'tex-site auctex-filename))134 (let ((auctex-filename (locate-library "tex-site"))) 135 (if auctex-filename 136 (require 'tex-site auctex-filename))) 119 137 120 138 ;; put stuff here which should not be/only be executed under
Note: See TracChangeset
for help on using the changeset viewer.