Changeset be70a74 in git for emacs


Ignore:
Timestamp:
May 30, 2000, 5:25:09 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
863cf1e4d6f0ae21c616a61d634ba3085db476eb
Parents:
6519530ab757cd7259147cc3ee9d334ebf8b0dda
Message:
* clean-up time


git-svn-id: file:///usr/local/Singular/svn/trunk@4416 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emacs/.emacs-general

    r651953 rbe70a74  
    11;;; Emacs edit mode for this file is  -*- Emacs-Lisp -*-
    2 ;;; $Id: .emacs-general,v 1.1 2000-05-24 15:10:35 obachman Exp $
     2;;; $Id: .emacs-general,v 1.2 2000-05-30 15:25:09 obachman Exp $
    33
    44;;;
     
    4040(add-hook 'shell-mode-hook 'turn-on-font-lock)
    4141
     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
    4255(cond ((string-match "XEmacs\\|Lucid" emacs-version)
     56       ;;
    4357       ;; XEmacs specific stuff
     58       ;;
    4459
    4560       ;; I like some more  keybindings for better moving
    46        (define-key global-map '(control ,)
     61       (define-key global-map '(control up)
    4762         '(lambda () (interactive) (scroll-up -1)))
    4863       ;; control-, scrolls up
    49        (define-key global-map '(control 46)
     64       (define-key global-map '(control down)
    5065         '(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)
    5466
    5567       ;; a function which on C-= reload a file automatically without
    5668       ;; asking for confirmation got it from From: Richard Mlynarik
    5769       ;; <mly@adoc.xerox.com> on 1/18/95
     70       ;; find-alternate-file (C-x C-v) is almost equivalent
    5871       (global-set-key [(control =)] '(lambda ()
    5972                                        (interactive)
     
    6477       (toggle-auto-compression 1)
    6578
    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))
    6984
    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)
    8089
    8190       ;; func-menu is a package that scans your source file for function
     
    108117       )
    109118      (t
     119       ;;
    110120       ;; 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
    111129       ;; End Emcas stuff
    112130       )
     
    114132
    115133;; use auctex as default mode for editing latex stuff
    116 (setq auctex-filename (locate-library "tex-site"))
    117 (if auctex-filename
    118     (require 'tex-site auctex-filename))
     134(let ((auctex-filename (locate-library "tex-site")))
     135  (if auctex-filename
     136      (require 'tex-site auctex-filename)))
    119137
    120138;; put stuff here which should not be/only be executed under
Note: See TracChangeset for help on using the changeset viewer.