- Timestamp:
- May 17, 2000, 3:05:40 PM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 1dfacb01966c89b36afa74788d0aa786aec947f1
- Parents:
- f0d41bc11d2424e12935103af141165658b6ccb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs-singular
rf0d41bc r30e007 1 1 ;;; Emacs edit mode for this file is -*- Emacs-Lisp -*- 2 ;;; $Id: .emacs-singular,v 1.1 3 2000-05-17 12:02:55obachman Exp $2 ;;; $Id: .emacs-singular,v 1.14 2000-05-17 13:05:40 obachman Exp $ 3 3 4 4 ;;; … … 82 82 ;; other, "non-customizable" settings 83 83 84 ;; lazy-lock seems to be broken under mswindows: 85 ;; causes delay of input (only reacts after mouse click), or even total 86 ;; hang 84 ;; put stuff here which should not be/only be executed under 85 ;; mswindows/unix 87 86 (cond ((not (or (eq system-type 'cygwin32) 88 (eq system-type 'windows-nt))) 89 (add-hook 'font-lock-mode-hook 'lazy-lock-mode) 90 (setq font-lock-support-mode 'lazy-lock-mode))) 87 (eq system-type 'windows-nt))) 88 89 ;; lazy-lock seems to be broken under mswindows: 90 ;; causes delay of input (only reacts after mouse click), or even total 91 ;; hang 92 (add-hook 'font-lock-mode-hook 'lazy-lock-mode) 93 (setq font-lock-support-mode 'lazy-lock-mode) 94 95 ;; somewhat nicer scrolling This causes a core dump with 21.1.9 96 ;; under cygwin, when a file is opened with a button 97 ;; Fixed it with a simmple patch, by working around the 98 ;; assertion in file indent.c line 517 (or so). This was 99 ;; officially fixed in 21.1.10 -- still sometimes 100 ;; interactive windows disappeared. Hence, do not set it under 101 ;; Windows 102 (setq scroll-step 10) 103 ) 104 ) 105 91 106 92 107 (add-hook 'singular-interactive-mode-hook … … 99 114 (function (lambda () (font-lock-mode 1)))) 100 115 101 ;; somewhat nicer scrolling102 ;; This causes a core dump with 21.1.9 under cygwin, when a file is opened103 ;; with a button104 ;; obachman: Fixed it with a simmple patch, by working around the assertion105 ;; in file indent.c line 517 (or so)106 ; (setq scroll-step 10)107 116 108 117 … … 121 130 (customize-face face) 122 131 (message "No face defined at point")))) 132 133 134 ;; for Xemacs, use func-menu 135 ;;; func-menu is a package that scans your source file for function 136 ;;; definitions and makes a menubar entry that lets you jump to any 137 ;;; particular function definition by selecting it from the menu. The 138 ;;; following code turns this on for all of the recognized languages. 139 (cond ((string-match "XEmacs\\|Lucid" emacs-version) 140 (require 'func-menu) 141 (define-key global-map 'f8 'function-menu) 142 (add-hook 'find-file-hooks 'fume-add-menubar-entry) 143 (define-key global-map "\C-cl" 'fume-list-functions) 144 (define-key global-map "\C-cg" 'fume-prompt-function-goto) 145 146 ;; The Hyperbole information manager package uses (shift button2) and 147 ;; (shift button3) to provide context-sensitive mouse keys. If you 148 ;; use this next binding, it will conflict with Hyperbole's setup. 149 ;; Choose another mouse key if you use Hyperbole. 150 (define-key global-map '(shift button3) 'mouse-function-menu) 151 152 ;; For descriptions of the following user-customizable variables, 153 ;; type C-h v <variable> 154 (setq fume-max-items 25 155 fume-fn-window-position 3 156 fume-auto-position-popup t 157 fume-display-in-modeline-p t 158 fume-menubar-menu-location "File" 159 fume-buffer-name "*Function List*" 160 fume-no-prompt-on-valid-default nil) 161 )) 123 162 124 163 ;; tricky stuff: these customization settings are not used any … … 142 181 143 182 (custom-set-faces 183 '(info-xref ((t (:foreground "blue" :bold t)))) 184 '(info-node ((t (:foreground "blue" :bold t :italic t)))) 144 185 '(show-paren-match-face ((((class color)) (:foreground "Red")))) 145 '(font-lock-string-face ((((class color) (background light)) (:foreground "Blue")) (((class color) (background dark)) (:foreground "LightSkyBlue"))) t)146 186 '(font-lock-variable-name-face ((t (:foreground "black"))) t) 147 187 '(paren-match ((t (:foreground "Red"))) t) 148 188 '(singular-section-input-face ((t (:bold t)))) 189 '(font-lock-string-face ((((class color) (background light)) (:foreground "green4")))) 190 '(font-lock-doc-string-face ((((class color) (background light)) (:foreground "green4")))) 149 191 '(font-lock-keyword-face ((t (:bold t :foreground "violet"))) t) 150 192 '(singular-section-output-face ((t (:bold nil)))) … … 161 203 ;; '(paren-match ((t (:foreground "Red"))) t) 162 204 ;; '(show-paren-match-face ((((class color)) (:foreground "Red"))))) 163 164 205 ) 165 206
Note: See TracChangeset
for help on using the changeset viewer.