Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (message"*** In ./.emacs.d/.emacs ***")
- ;; this file is /Users/Daniel/.emacs.d/.emacs on gorf
- ;; to get here ~/.emacs consists of these four lines
- ;(setq load-path (cons "~daniel/src/el" load-path))
- ;(setq Info-default-directory-list
- ; (cons "~daniel/l/info" Info-default-directory-list))
- ;(load-file "~daniel/.emacs.d/.emacs")
- ;; And, that's it. And, a Terminal.app *save*file* is necessary.
- ;; with the corresponding *user* added*keycodes* like vtLarge.term
- ;; https://pastebin.com/0fstVwX4
- ;; previously, https://pastebin.com/SEJRQYbY
- (switch-to-buffer "*Messages*")
- ;; move ispellregion to f11, f10?? something?
- ;; f10 selective mode toggle???? transient-mark mode
- ;; esc ~ ctrl ~ switch to undo and redo.. compile? next? ctrl-x
- ;; f4 mode map ??
- ;; f4= bury buffer ??
- ;; dired by date delete ?
- ;; ctrl-f4 goto line
- ;; esc-g mode map ? % into file 1 home 2 home 3 home
- ;; esc-
- ;; f2= ctrl x b? ctrl f2... buffer select ??? thing below? yes!!! the
- ;; load up f4 like f1.. but maybe not f2 and f3.. .. maybe make those
- ;; mode senstive like compile, etc...
- ;; registers are middle block.. f5 f6 f7 f8 nope
- ;; nope nope split the difference numlock insert mode map. ??
- ;;
- ;;
- ;; ASAP ??? bind dynal expan to function key maybe menu??? shift-shiftreq?
- ;; also mental note: bind f11 to toggle that "lamecool" show selection thing
- ;; re ASAP dont bind to ctrl varient esp. on f12
- ;; consider 2. making a switchtoandkillrecomendedbufferthing
- ;; consider 1. making if theres aCTRLting bound to cTRL f12 make
- ;; a macro that produces "-=-" or etc for cTRLU potential
- ;; set fill column on insert?? goal column as well??? on INSERT??
- ;; add mksh dash to interpreter-mode-alist
- ;; also consider adding a yes-kill-buffer-alreadyplzmacro off f1 somehow!
- ;; also make a macro that damn! iforget DMNA?? #LOL
- ;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;; get rid of junk I don' want ;;;;;;;;;;;
- (setq initial-scratch-message nil)
- (menu-bar-mode -1)
- (setq visible-bell t)
- (setq custom-file "~/.emacs.d/.emacs.custom") (load custom-file)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fixups ;;;;;;;;;;;;;;;
- (message "*** ^^^below fixups ^^^ *** ")
- ; get rid of maps on f1 and f2 and meta-g
- (global-unset-key [f1]) ;; help is also C-h
- (global-unset-key [f2]) ;; two column is also on C-X 6
- (global-unset-key [f10]) ;; Menu bar, is also M-`
- (global-unset-key "\eg" ) ;; Format Faces remove from M-g
- (global-set-key [(control \[) (g)] 'goto-line) ; ESC-G , next is ESC-CTRL-G
- (global-set-key [(control \[) (control g)] (lambda () (interactive) (ding t)))
- ;(global-set-key "\e\r" 'facemenu-keymap);; then add to ESC RET / M-RET
- ; when did i Have use this? nice example of being polite to imaginary people!
- ;(global-unset-key [help]) ; or f15
- ; emacs please stop being *everybodies*class*project*damn*it!
- (global-unset-key "\e`" ) ; ESC-` remove tmm-menubar
- (global-unset-key "\e~" ) ; ESC-~ remove command not-modifed
- ; lol another stupid thing that could be done in emacs ;
- ; make a grey-key mode map, and bind every grey key. ESP. the cursors keys
- ; as lolol so you'd always have a press a grey twice. ;;;
- ; im considering this more and more.
- (define-key function-key-map "\e[7~" [Home]) ; VT100's had Find/Select
- (define-key function-key-map "\e[8~" [End]) ; here, not in terminfo
- ; hm maybe I do that other thing like the home key mode map;
- ; and the end key modemap.
- ;
- ; relics from when I cared to use emacs with X11 features
- (define-key function-key-map "\eOa" [S-up]) ; app mode cursor keys are
- (define-key function-key-map "\eOb" [S-down]) ; "\eOA" etc, this variant
- (define-key function-key-map "\eOc" [S-right]) ; lets emacs see it.
- (define-key function-key-map "\eOd" [S-left]) ; for option-cursorkeys
- (define-key function-key-map "\e[35~" [f21]) ; not set in vt102/lk201.el
- (define-key function-key-map "\e[36~" [f22]) ; custom for terminal.app
- (define-key function-key-map "\e[37~" [f23]) ; these are CTRL-f1==f21
- (define-key function-key-map "\e[38~" [f24])
- (define-key function-key-map "\e[39~" [f25])
- (define-key function-key-map "\e[40~" [f26])
- (define-key function-key-map "\e[41~" [f27])
- (define-key function-key-map "\e[42~" [f28])
- (define-key function-key-map "\e[43~" [f29])
- (define-key function-key-map "\e[44~" [f30])
- (define-key function-key-map "\e[45~" [f31])
- (define-key function-key-map "\e[46~" [f32]) ; CTRL-f12=f32
- (define-key function-key-map "\e[47~" [f33]) ; CTRL-insert
- (define-key function-key-map "\e[48~" [f34]) ; CTRL-delete
- (define-key function-key-map "\e[49~" [f35]) ; CTRL-home
- (define-key function-key-map "\e[50~" [f36]) ; CTRL-end
- (define-key function-key-map "\e[51~" [f37]) ; CTRL-f13
- (define-key function-key-map "\e[52~" [f38]) ; CTRL-f14
- (define-key function-key-map "\e[53~" [f39]) ; CTRL-up
- (define-key function-key-map "\e[54~" [f40]) ; CTRL-left
- (define-key function-key-map "\e[55~" [f41]) ; CTRL-down
- (define-key function-key-map "\e[56~" [f42]) ; CTRL-right
- (define-key function-key-map "\e[57~" [f43]) ; CTRL-f15
- ;; need more keys here.. and also in the DOT-term files for
- ;; shift variants of grey keys.. esp. arrows.PauseBreak
- ;;;;;;;;;;;;;;;;;;;
- (define-key function-key-map "\e[24~" [f666]) ;; WTF does this?
- (global-set-key [f666] (lambda () (interactive) (message "f666")))
- ; /sometimes F12 , color console, insertchar is numlock???
- ; leave C-X RET as is.
- ; consider doing something with window config on C-x 9
- ; ctrl-x 7, ctr-x *
- ;(define-key function-key-map "\e[27~" [f15]) ; not set in vt102/lk201.el
- ;(define-key function-key-map "\e[30~" [f16]) ; custom for terminal.app
- ;;;;;;;;;;;;;;;;;;;;;;;;;; global keybindings ;;;;;;;;;;;;;;;;;;;;
- (message "*** ^^^below global keybindings ^^^ *** ")
- (global-set-key [Home] 'beginning-of-buffer)
- (global-set-key [End] 'end-of-buffer) ;
- (global-set-key "\e`" 'scroll-other-window) ; ESC-` and ESC-~
- ;(global-set-key "\e~" (lambda () (interactive) (scroll-other-window '-)))
- ; ESC-~ is arkward, maybe do something else with it.
- ;; maybe make esc ~ a function, so esc 1 etc does move ctrl-x-o
- ;: ESC-CTRL-SPACE ? mark-sexp
- ; would be better as move other window alternative
- ; and detects and end, and reverses???...mmmm
- ; points as registers ????
- (global-set-key "\e~" 'toggle-transient-mark-mode ) ; ESC-~
- (global-set-key [f1] 'list-bookmarks) ;
- (global-set-key [f21] 'bookmark-set) ; ctrl-f1 set
- (global-set-key [(control \[) (f1)] 'bookmark-jump) ; esc-f1
- ;(global-set-key [kp-1] (lambda () (interactive) (ding)))
- (global-set-key [kp-1] 'list-buffers)
- ; ok grab elite ultra damaging emacs lisp thing and tie, that unto insert??
- ;(global-set-key [kp-1] (lambda () (interactive)
- ; (switch-to-buffer "*scratch*")))
- ; why does ctrl-shift-f1 ding but at alower volume but I cant
- ; seem to grab the key to bind it!?!
- ; how about this stuff with f2 instead ' switch to various buffers
- ; how bout start with bury-buffer on f2
- ;(global-set-key [kp-1] (lambda () (interactive) (switch-to-buffer "*scratch*"
- ; 'NORECORD))) ; shift-f1
- ; then switch-to-buffer as ctrl f2
- ; but f21 on gorf
- ; and still stormy? isit?
- (message "*** ???above this???? *** ")
- (global-set-key [f5] (lambda () (interactive) (ding)))
- (global-set-key [f8] (lambda () (interactive) (ding)))
- (global-set-key [f25] (lambda () (interactive) (ding)))
- (global-set-key [f26] (lambda () (interactive) (ding)))
- (global-set-key [f9] '140charactersforward ) ;
- (global-set-key [kp-9] '140charactersbackward ); shift-f9
- ; ctrl-f9 ??? 280,, or ctrl-x-x.. you know you do have 2 ctrl's Dan!
- ; make macros set mark as well, but keeporg in case you change your mind
- ; then ctrl-f9 is swap on the cool other thing, toggle thing.. key
- ; ok but now, I think overwrite-toggle needs to be somewhat accessible
- (global-set-key [f29] 'overwrite-mode) ; CTRL-F29 toggle overwrite
- ; bc here they work well together
- ; so keep it un ctrl-insert ?
- ; other toggles on it?
- (global-set-key [f29] 'insert-line-number) ; CTRL-F29 insert-line-number
- ; 10 is the ctrl-s replacement you want!.. almost!
- (global-set-key [f10] 'isearch-forward)
- (global-set-key [kp-0] 'isearch-backward) ; shift-F10
- ; ctrl-variation simply bc I don't know what it is.
- (global-set-key [f30] 'isearch-yank-word) ; that is wierd 4 CTRL-F10
- (global-set-key [f11] 'ispell-word);
- (global-set-key [f31] 'ispell-complete-word); should be 1st alternative
- ; ctrl-f11, is above, next naturally that's control ;
- ; next, natural is shift, so how put delete that word, then shift-F11
- (global-set-key [kp-decimal] 'kill-word) ; YES set in terminal preference
- ; and this no magic delete, this, word, here, where I am, guess
- ; I should have done that, when I was into emacs-lisp-progamming
- ; but I should try to use, not merely remember-bury
- ; of which, rework, everything, on delete except bury buffer
- ; lol! bother
- ; maybe? make that save, instead... radical...did a girlfriend.
- ; suggest this in college? kept things too close at times , Dan.
- ;;; yes make shift delete saves...
- ; ctrl delete is message: stupid dock thing here, do it now!, no...
- ;
- ; ctrl-x-o f3 you use it that much
- ; shift f3 back then ;;; NEXT
- ; f4 == ctrl-x 2,, shift-f4 ctr-x-1 you use that, that much.
- ; tho. esc,esc,esc, does the samething,, tho. that's also on the left side
- ; so... do that like you want
- ; home, end, can set, use, registers
- ; like home/end home, use
- ; home/end end/ set, since you end one to set the other
- ;; then home/end left, home/end/right also end
- ;; always TWO ways less damage!!!
- ; undo to F12 undo is also CTRL-_ and C-X u
- ; CTRL-U C-X- u , undoes one batch of changes in a region
- (global-set-key [f12] 'undo) ; F12
- (global-set-key [kp-separator] 'other-window); SHIFT-F12
- (global-set-key [f32] (lambda () (interactive) (other-window -1 t))) ; CTRL-F12
- (global-set-key [?\ef12] (lambda ()(interactive)(set-mark-command 1))) ;ESC-F12
- (global-set-key [?\ekp-separator] 'exchange-point-and-mark) ; ESC-SHIFT-F12
- (global-set-key [?\ef32] (lambda ()(interactive) ; ESC-CTRL-F12 )
- (message (int-to-string (mark))))) ; ; report marks position
- ;; CTRL-X p, other window, reverse
- ;(mark)
- ;;mark-ring list of marks ( )
- ;;exchange-dot-and-mark ??? just an alias
- ;;exchange-point-and-mark
- (global-set-key [f16] 'undo) ; ??? dan how do have an f16? ???
- ;;;;;;; UR not using above, move
- (global-set-key [f13] "|tweetpaste") ; sys-req or F-13
- (global-set-key [f37] "|tweetpaste") ; CTRL-f13
- (global-set-key [menu] (lambda () (interactive) (ding))); menu or SHIFT-sysreq
- ;; save shift down arrow
- ;; haha nor ding mode, ding only once in any buffer. minor mode!!
- ; at this momemt f12 produces f666 what does that!
- ; see line for what I did to make sure to catch... that's still working
- ; yeah I WAS thinking I dont want to random undo's
- ; but it wasn't doing it on undo, or f12 then.. I think it was insert then
- ; C lines 407> and 68 ; hope it isnt wierd compiler bug related
- ;(global-set-key [help] "PauseBreak") ; another way to make keyboard macro
- ;;;; maybe make a minor mode where you every window, simutaneously;;;;;
- (global-set-key [f14] (lambda () (interactive) (message "ScrollLock")))
- (global-set-key [f14] 'execute-extended-command ); meta-x alt okey-do-key
- ; [keycode] is more better this way.. less imperfect
- ; meta-x compile would be good for ctrl-f14
- (global-set-key [f38] 'compile ) ; ctrl-f14
- (global-set-key [f38] 'rename-buffer) ; for esc-f14
- ; see compilation-buffer-name-function
- ; shift f14 some stuffs in ctrl-x ; for damage control / shock value
- (global-set-key [f17] 'shell-command-on-region ) ; shift-scrollook
- ;;;;;;; UR not using above, move to do-key alternatives !!!!!
- ;;(global-set-key [f13] "|pbcopy
- "); macro can made this simply
- ;(global-set-key [help] 'describe-key) ;
- (global-set-key [help] 'keyboard-escape-quit) ; f15 ; another control-G
- (global-set-key [f18] 'suspend-emacs) ; shift-f15
- ; escape help or f15
- ; super duper dock bounce thing,, with keyboard, terminal stuffing
- ; or use send-string-to-terminal???
- ; which emacs has somehow I forget
- ; CTRL-f15- CTRL-help
- ;; ctrl-right-arrow is giving me the same ctrl-f43
- ;;; compilation next error? on ctrl-15
- (message "*** 252");
- ; maybe make somthing-f13 bring up dock since Mac is like windoze on that
- ; meh
- ; anyway it's f12 ///// f13, f14, f15 or help. cursestermcap has it
- ; you don't... that was wierd. but I think that happened..
- ; maybe f5,, but it's good to leave some functions free for later\\\\\never!
- ; how bout control you alternative, since ctrl-u 5 backslash created
- ; the above backspace joke/!!!
- ;;getting shift-12 undefined; could I not make shiftvarients
- ;or did I run out of stuff cursers defines.. etc.. meh
- ;cute but now it's undefined instead; buffer? wow
- ;what if I come to my own unpatched damn closing brace error back
- ;thru here...how ironical <.> for a selfpwn;
- ;speaking of which seen my fixes for VMS-EMPIRE Yup
- ;its the same damn thing
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (message "*** 267");
- (global-set-key [f4] 'universal-argument) ; F4
- (global-set-key [f24]'center-line) ; CTRL-F4 takes number of lines
- ;; ;
- ;; `M-q'
- ;; Fill current paragraph (`fill-paragraph').
- ;; `C-x f'
- ;; Set the fill column (`set-fill-column').
- ;; `M-x fill-region'
- ;; Fill each paragraph in the region (`fill-region').
- ;; `M-x fill-region-as-paragraph'
- ;; Fill the region, considering it as one paragraph.
- ;; `M-s'
- ;; Center a line.
- ;; To put <TAB>, <RET>, <ESC>, or <DEL> in the string, you can use the
- ;; Emacs Lisp escape sequences, `\t', `\r', `\e', and `\d'. Here is an
- ;; example which binds `C-x <TAB>':
- ;; (global-set-key "\C-x\t" 'indent-rigidly)
- ;; (global-set-key "\C-x\e\e" 'repeat-complex-command) ;; <ESC>
- ;; (global-set-key [?\ef12] (lambda () (interactive) (ding t)))
- ;; (global-set-key [?\C-x ?\e ?\e] 'repeat-complex-command)
- ;; (global-set-key [?\C-x ?\t] 'indent-rigidly)
- (global-set-key [f5] (lambda () (interactive) (backward-word 10)))
- (global-set-key [f6] 'enlarge-window)
- (global-set-key [f7] (lambda () (interactive) (enlarge-window -1)))
- (global-set-key [f8] (lambda () (interactive) (forward-word 10)))
- ; check esc i, maybe change; check esc i, maybe change forward to stop?
- ; stupid ??? ?? forward by 20% ? backward by 20% ?
- ; CHANGE f5 to CTRL-X o equiiv,
- ;dabrrev-expand on somthing!!!!!!!!!!!!!!!!!!!!!!!!!
- ; maybe maybye maybe currently esc /
- ;;; move comma left move coma right on arrow keys somehow,
- ;; spellcheck word goto up arrow somehow
- ;;
- ;; ok try to remember scroll lock is meta-X Do Key on vt200 keyboar
- ;; I forgot there was a Center line.. so that on something handy
- ;; set fill column on f9 somehow, I'm wed to f9 for forward now.
- ;; usb 1.0 manufactures spec, keeps numlock insert, and
- ;; if not, that would really ruin spotlight for all the elbows
- ;; center-line
- ;; insert toggle file ; keep numlock what key?
- ;;
- ;; ok grey mode thing map thing;;;
- ;; pgup and pgdown still do there thing.
- ;; but because you're you. then home and end
- ;; both enter gray mode map; or is called keymultimap
- ;; Bruce Willis movie joke here****
- ;;
- ; above should be ctrl-j alternative, maybe keyboard macro
- ; and elite emacs eval thing
- ; none of those work, esc-insert goes to num pad.
- ; how bout something move % buffer there
- ; more wisely.. spell check word on up arrow.
- ; you barely use arrow keys as it is, without doing hoverdamage,Dan.
- ; down something set bookmark?
- ; save this on something arrow key too
- ; did store detectives have to go along with
- ; -- in law-- ; paymasters, pursers, and drawing salary,
- ; and rather att. can lawfully admit a right to admit there's
- ; petty cash, for the client.
- ;
- ; maybe make delete, grey delete mode map
- ; err never but seriously tho.
- ; format paragraph on insert !! somehow.. re-range!!!!
- ; yes rearrange, but no.. insert needs to be switch back buffer
- ; some form off
- ; grey=insert should be zap.. then zap to end of line, == ESC-Z m-Z
- ; no kill..
- ;(global-set-key [delete] '(lambda () (interactive) (ding)))
- ;(global-set-key [delete] 'keyboard-escape-quit)
- (global-set-key [delete] 'bury-buffer) ; no bury buffer is better here
- (global-set-key [f34] 'kill-buffer ); ctrl-grey-delete
- (global-set-key [f34] 'kill-this-buffer ); ctrl-grey-delete
- ; kill-buffer-and-window ... is this good, U haven't used it much.
- (global-set-key [kp-divide] (lambda () (interactive) (ding))) ; shift-delete
- ;(global-set-key [kp-divide] 'kill-comment) ; shift-delete :: hmm not
- (global-set-key [(control \[) (delete)] 'kill-word)
- ; turn off ; but leaving this still on numlock
- ; meta-insert in terminal reliably produces an escape, then insert seq.
- ; remove esc-~
- (message "**** 208" ) ;
- ;; dont work because something isn't loaded
- ;; and these are going to shift function key variants you set up.
- ;; did I overflow a limit in Terminal file?
- ;; thing is I wrote it that way the Curses could have the most syms.
- ;; thinking for things not emacs
- ;; ah ; ah kp-f1; and kp-1 are different right..
- (global-set-key [kp-f1] 'forward-comment) ; shift-up-arrow ; ???
- (global-set-key [kp-f2] 'forward-comment)
- (global-set-key [kp-f3] 'backward-comment)
- (global-set-key [kp-f4] 'backward-comment) ; shift-right-arrow
- ; undefined keysyms could be it??????????????
- (global-set-key [kp-f1] (lambda () (interactive) (message "kp-f2")))
- (global-set-key [kp-f2] (lambda () (interactive) (message "kp-f2")))
- (global-set-key [kp-f3] (lambda () (interactive) (message "kp-f3")))
- (global-set-key [kp-f4] (lambda () (interactive) (message "kp-f4")))
- ; maybe c-mode-mode-map
- ;(global-set-key [f39] 'previous-error) ; ctrl-up-arrow
- ;(global-set-key [f40] 'first-error) ; ctrl-left-arrow
- ;(global-set-key [f41] 'next-error) ; ctrl-down-arrow
- ;(global-set-key [f43] 'compilation-next-error) ; ctrl-right-arrow
- ;;;; ctrl-f15 conflict some how
- (global-set-key [f39] (lambda () (interactive) (message "f39))
- (global-set-key [f40] (lambda () (interactive) (message "f40")))
- (global-set-key [f41] (lambda () (interactive) (message "f41")))
- (global-set-key [f43] (lambda () (interactive) (message "f43)))
- ;(global-set-key [prior] 'scroll-down) ; pg-up
- ;(global-set-key [next] 'scroll-up) ; pg-dn
- (global-set-key [kp-subtract] (lambda () (interactive) (scroll-other-window '-)
- )) ; shift-pgup
- (global-set-key [kp-add] 'scroll-other-window) ; shift-pgdn
- ; this is good for looking at help
- (global-unset-key "\e{" ) ; remove backward paragraph
- (global-unset-key "\e}" ) ; and forward paragraph, and
- (global-set-key [(control \[)(prior)] 'backward-paragraph) ;put them here
- (global-set-key [(control \[)(next)] 'forward-paragraph) ; & here meta-pgdn
- ;;;;;;;;;;;;;; ALL-INSERT-KEYS-HERE----------------
- (message "*** 405");
- (global-set-key [insert] 'describe-key) ; this is numlock ; maybe register ???
- (global-set-key [kp-enter] 'describe-key) ; ctr-numlock
- (global-set-key [kp-tab] 'describe-key) ; shift-numlock
- ; (global-set-key [insert] (lambda () (interactive) (message "[insert]")))
- ; sometime, something is making insert key. ;it's numlock!
- ; ok so I thinking something is randomly doing insert?? wierd--anyway
- ;(global-set-key [insert] 'ispell-word ) ; typically ESC $ but this is near greykeys
- ; insert in itself is dead when one used a windoze keyboard on mac
- ; except numlock isnt, it keysym is insert, as it should be
- ;
- ;tell application "Dictionary"
- ;activate
- ;end tell
- ;open location "DICT:///word
- ;;tell application "Dictionary" to activate
- ;;open location "DICT:///word"
- ;;run with osascript
- (message "*** !!!!!!");
- ;;;;;;;;;;;; GREY INSERT ----------------------------
- (global-set-key [f33] 'overwrite-mode) ; ctrl-grey-insert
- ; ESC-f33 sometime???
- ;global-set-key [(control \[) (insert)] (lambda ()
- ; (interactive)
- ; (overwrite-mode -1)))
- (global-set-key [kp-multiply] 'what-cursor-position); shift-grey-insert
- ; meta-grey-insert, works, but not ESC grey-insert
- (global-set-key [(control \[) (insert)] 'desribe-char-after)
- ;(global-set-key 'comment-ident-new-line) ; shift-insert
- ;(global-set-key [kp-multiply] (lambda () (interactive) ; esc-shift
- ; (switch-to-buffer "2tweet.txt"))) ; insert
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (setq max-mini-window-height 3) ; default is ratio 0.25, this is 4 lines
- (setq resize-mini-windows t)
- (setq echo-keystrokes 0.61) ; seconds to pause before echoing m-x etc
- ;(ding)
- (message "*** 244 ")
- ; indent-relative
- ; bury-buffer
- ; help where-is C-h-w
- ; describe key c-h k
- ; C-h b describe-bindings
- ; describe-mode C-h-m
- ;; these next two lines really improve emacs's behavior IMO
- ; comment-region
- ; indent-for-comment comment-column
- ; c-tab-always-indent ???
- ;(setq next-line-add-newlines nil ) ;; t if you want std emacs behavior
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ^^^ now default
- (setq require-final-newline nil) ;; 1 is interactive, nil is dont bother me
- ;;;;;;;;;;;;;;;; various variables ;;;;;;;;;;;;;;;;;;;;;;;;;
- (setq bookmark-save-flag 1) ;book marks save after each command
- (setq bookmark-search-size 20) ; save this much context x2 each bm
- (setq bookmark-sort-flag nil)
- (setq bookmark-default-file "~/.emacs.d/.emacs.bmk")
- ;(next-screen-context-lines ); next/pgdn/ pior/pgup
- ;;;;;;;; also scroll zone ??? where is that... think I want to swap those!
- ;;try bs.el -- bs-mode electric-buffer-list
- ;; This package offers two functions for buffer cycling. If you want to cycle
- ;; through buffer list you can use `bs-cycle-next' or `bs-cycle-previous'.
- ;; Bind these function to a key like
- ;; (global-set-key [(f9)] 'bs-cycle-previous)
- ;; (global-set-key [(f10)] 'bs-cycle-next)
- ;;
- ;;;; try pc-select
- ;; see ws-model.el esp. ws-show-markers....
- ;;;;; terminal / modeline/ highlighting etc ;;;;;;;;
- ;; try enriched-mode
- ;; try follow
- ;; try hi-lock mode see info bookmarks registers...
- ;; hi-line-highlight hl-line-face
- ;; hi-line-mode
- ;; underline face / blinkface
- ;(toggle-scroll-bar -1)
- ;(setq visible-bell nil)
- ;(insert-directory "*.el" ".")ls: *.el: No such file or directory
- ; ls-lisp.el
- ; make-command-summary
- ; copy-from-above-command --- misc.el
- ; copy-from-above-command --- misc.el --- misc.el
- ; zone leave me alone
- ; zone
- ; artist.el
- ;;;;; terminal / modeline/ highlighting etc ;;;;;;;;
- ;(toggle-scroll-bar -1)
- ;(setq visible-bell nil)
- (column-number-mode 1)
- ;;;;;;;;;;;;;;;;;
- (line-number-mode 1)
- (message "*** 309");
- ;(setq line-number-display-limit-width)
- ;; VV-c how to make this a toggle
- ;(display-time)
- ;(setq display-time-day-and-date)
- ;(setq display-time-24hr-format t)
- ;(setq display-time-interval 120)
- ;(setq display-time-format)
- ;(setq display-time-hook)
- ;(resize-minibuffer-mode 1) ; obsolete
- ;(global-hl-line-mode 0)
- ;(blink-cursor-mode 1) ; need term cap vi,vs,ve
- ;(setq show-trailing-whitespace t)
- ;(setq-default show-trailing-whitespace t)
- ;m-x check-parens
- ;; paren matching ;;; ;; also remember c-m-a c-m-e
- (if nil
- (progn ;;; paren.el
- (show-paren-mode 1)
- (setq show-paren-style 'mixed)
- (setq show-paren-delay 0.3 )
- (copy-face 'default 'show-paren-match-face)
- (copy-face 'default 'show-paren-mismatch-face)
- (set-face-underline-p 'show-paren-match-face t) ; _bold_underline match
- (set-face-bold-p 'show-paren-match-face t) ;
- (set-face-underline-p 'show-paren-mismatch-face t);is _inverse_underline
- (set-face-inverse-video-p 'show-paren-mismatch-face t)
- )
- (progn ;;; alternative; flash-paren
- (require 'flash-paren)
- (set-face-bold-p 'flash-paren-face-on t)
- (set-face-inverse-video-p 'flash-paren-face-off t)
- (set-face-underline-p 'flash-paren-face-region t)
- (setq flash-paren-method 'flash-paren-do-flash-with-overlay-faces)
- ; (setq blink-paren-function nil) ; ??
- (setq flash-matching-delay 0.34)
- (flash-paren-mode 1) ;; may need work with show-trailing-whitespace
- ))
- (message "*** paren matching ***")
- ;;
- ;; (require 'dot-mode)
- ;; (add-hook 'find-file-hooks 'dot-mode-on)
- ;(tty-display-color-p)
- ; syntax highlighting
- (global-font-lock-mode t) ; always highlight source code
- ;; (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
- ;(setq font-lock-maximum-decoration 'maximum)
- (setq font-lock-maximum-decoration 'nil)
- (setq font-lock-maximum-size nil)
- (setq font-lock-verbose 'always)
- ;(setq font-lock-support-mode nil)
- ;; custom faces ???
- ;(setq font-lock-comment-face) ; red
- ;(setq font-lock-string-face) ; green
- ;(setq font-lock-doc-face) ; green
- ;(setq font-lock-builtin-face ) ; blue
- ;(setq font-lock-function-name-face) ; blue
- ;(setq font-lock-type-face) ; green
- ;(setq font-lock-constant-face) ; purple
- ;(setq font-lock-warning-face) ; red
- ;(setq c-font-lock-extra-types )
- ;(font-lock-add-keywords 'c-mode '("\\<\\(and\\|or\\|not\\)\\>"))
- ;( hi-lock-mode -1 ) ; m-x highlight-phrase ; hi-lock.el
- ; (global-highlight-changes 0 ) ; ; also m-x hightlight-changes
- ;(setq hilit-background-mode 'dark)
- ;(setq gnus-background-mode 'dark)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; spelling ; ispell-word M-$,
- ;(flyspell-mode)
- (message "*** 286")
- (setq eval-expression-debug-on-error nil)
- ; tab stops
- (defun list-of-multiples ( num nogreater )
- "make a list of multiples of num, useful for setting tabstops"
- (let ((lom (list num)))
- (while (> nogreater (+ num (car (last lom))))
- (setq lom (append lom (list (+ num (car (last lom)))))))
- lom))
- (setq tab-stop-list (list-of-multiples 3 132))
- (setq-default indent-tabs-mode nil) ; add tab characters , or not
- (message "*** 302")
- (setq default-major-mode 'text-mode)
- ;;;; picture-mode improvements ;;;;;;;;;;;;;;;
- (defun picture-movement-none ()
- "set picture-movement-motion to none"
- (interactive)
- (picture-set-motion 0 0)
- )
- (cond
- (t
- ;;((not (boundp 'picture-mode-hook))
- (setq picture-mode-hook
- '(lambda ()
- (picture-set-motion 0 0)
- (define-key picture-mode-map "\C-co" 'picture-movement-none)
- ;; picture mode is most useful with no insert motion, IMO
- ;
- ;
- )
- )
- )
- )
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;(setq dired-listing-switches "-al")
- ;;;; enable /disable commands
- (put 'eval-expression 'disabled nil)
- (put 'upcase-region 'disabled nil)
- ;(setq term-file-prefix nil)
- (put 'rmail 'disabled nil)
- ;(setq mail-default-reply-to "nospam-d4l@")
- (setq mail-from-style 'angles)
- ;(setq mail-specify-envelope-from)
- ;;;;
- ;(setq rmail-file-coding-system binary)
- ;(setq buffer-file-coding-system )
- ;(set-terminal-coding-system )
- ; m-x list-coding-systems
- (put 'upcase-region 'disabled nil)
- (setq-default fill-column 77)
- (setq standard-indent 4)
- (setq scroll-margin 2) ;1
- ;(setq scroll-step 1)
- (setq scroll-conservatively 4) ; 10
- (setq dired-listing-switches "-al")
- (setq perl-tab-to-comment nil)
- ; (setq comment-style )
- (message "*** 251")
- ;; to try to speed up editing in large files...
- ;;;(setq mark-ring-max 8) ;; default is 16
- ;;;(setq kill-ring-max 20) ;; default is 60
- (setq mark-ring-max 20)
- (setq kill-ring-max 80)
- (setq undo-limit 20000 );
- (setq undo-limit 40000 ); default 20000
- (setq undo-strong-limit 60000) ; default 30000
- ;;;;; backup and auto-asave ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;; these settings make emacs
- ;;;;;;;;; keep 2 numbered backups. the ~1~ one is the original file
- ;;;;;;;;; and is kept between sessions.. the latest backup is the highest
- ;;;;;;;;; numbered one
- (setq version-control t)
- (setq kept-old-versions 3)
- (setq kept-new-versions 2)
- (setq delete-old-versions t)
- (setq backup-inhibited nil)
- ;;;; toggle with M-x auto-save-mode
- (setq auto-save-default t) ; if this is nil no auto-save are done by default
- (setq auto-save-interval 600) ; key-strokes
- (setq auto-save-timeout (* 4 60)) ; if you're idle for this long save
- ;(setq auto-save-list-file-prefix)
- ; m-x do-auto-save
- ; m-x recover-session, then C-c, C-c
- ; m-x recover-file
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (defun insert-line-number () "inserts the current-line-number into the buffer"
- "inserts the current-line-number into the buffer"
- (interactive)
- (insert-string (1+ (count-lines 1 (point)))))
- ;(global-set-key [f666] 'insert-line-number)
- ;send-string-to-terminal
- (defun forward-to-fill-column () "forward to fill" ""
- (interactive)
- (beginning-of-line)
- (forward-char fill-column))
- ;;;; some useful functions
- (defun other-window-back ()
- "reverse order of ^Xo"
- (interactive)
- (other-window -1)
- )
- ;
- ;(global-set-key "" 'backward-kill-word)
- ;(global-set-key "" 'backward-kill-sexp)
- ;(define-key emacs-lisp-mode-map "" 'backward-kill-word)
- ;(define-key lisp-interaction-mode-map "" 'backward-kill-word)
- ;(define-key lisp-mode-map "" 'backward-kill-word)
- ;(setq inferior-lisp-program "gcl")
- ;(defvar resume-emacs-args-file (expand-file-name "~/.emacs_args")
- (setq resume-emacs-args-file "~/.emacs.d/.emacs_args")
- (load-library "resume") ;; etc/emacs.bash , resume suspended emacs with args
- (add-hook 'suspend-hook 'resume-suspend-hook)
- (add-hook 'suspend-resume-hook 'resume-process-args)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;; kludge to kill abbrev-mode everywhere
- (abbrev-mode 0)
- (load-library "abbrev")
- (defun abbrev-mode (&optional arg)
- "set abbrev-mode always off hack"
- (interactive "P")
- (setq abbrev-mode nil)
- (force-mode-line-update)
- )
- (setq-default abbrev-mode nil)
- (setq default-abbrev-mode nil)
- ;; kludge to kill ins.rt-f.ck, if I want to use a triple chevron <<<
- (require 'sh-script)
- (defun sh-maybe-here-document (arg)
- "nuked. bc It makes it painful to use to use <<< in k-shell and better."
- (interactive "P")
- (insert "<")
- )
- ;(message "*** 329")
- (setq case-fold-search t) ; search is case-insensitive
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; M-/ dabbrev-expand
- ; C-M-/ dabbrev-completion c-u - m-/ search after point
- ;
- (setq dabbrev-case-replace t)
- (setq dabbrev-case-fold-search nil)
- (setq dabbrev-upcase-means-case-search t)
- ;(setq dabbrev-limit (* 1024 1024 3)) ; 3 MB
- ;(setq dabbrev-abbrev-skip-leading-regexp nil)
- ; `dabbrev-abbrev-char-regexp'
- ; `dabbrev-abbrev-skip-leading-regexp'.
- (setq dabbrev-ignored-buffer-regexp '( "\*Minibuf-[012345689]+\*"))
- (setq dabbrev-check-other-buffers t) ; t means look for buffers via
- ;;; dabbrev-select-buffers-function ; which defaults to dabbrev--select-buffers
- ;;; which returns list of buffers, based on buffer-list, but discarding based
- ;;; on dabbrev-ignored-buffer-names , and dabbrev-ignored-buffer-regexps
- ;;; and for which dabbrev-friend-buffer-function ( if bound ) returns nil
- ;(setq dabbrev-friend-buffer-function 'get-buffer-window-list )
- (defun dabbrev-check-bufferp (buf )
- "true if dabbrev should check this,returns true of other buffer, or buffer
- buffer in window"
- (or (eq buf (other-buffer)) (get-buffer-window-list buf)))
- (setq dabbrev-friend-buffer-function 'dabbrev-check-bufferp)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;; ange-ftp ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; /HOST:FILENAME
- ; /USER@HOST:FILENAME
- ; /USER@HOST#PORT:FILENAME
- ; `ange-ftp-make-backup-files' to `nil'.
- ; ange-ftp-default-user
- ; use: ftp or anonymous for USER
- ;(setq mail-host-address "@earthlink.net")
- ;(setq ange-ftp-generate-anonymous-password
- ;(concat (user-login-name) mail-host-address))
- (setq ange-ftp-generate-anonymous-password "@")
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (require 'cc-mode)
- ;(c-initialize-cc-mode) ;; mentioned in cc-mode.el needed?
- ;eval-after-load ???
- ;; The style variables are: `c-basic-offset',
- ;; `c-comment-only-line-offset', `c-block-comment-prefix',
- ;; `c-comment-prefix-regexp', `c-cleanup-list', `c-hanging-braces-alist',
- ;; `c-hanging-colons-alist', `c-hanging-semi&comma-criteria',
- ;; `c-backslash-column', `c-special-indent-hook',
- ;; `c-label-minimum-indentation', and `c-offsets-alist'.
- (defconst c-style-djl '("k&r" ;; inherit this style
- (c-basic-offset . 4 )))
- (c-add-style "djl" t)
- (defun c-mode-common-djl ()
- (c-set-offset 'case-label '+) ;; can it be added to style?
- (setq tab-width 4)
- (setq indent-tabs-mode nil) ;; this will make sure spaces are
- ; used instead of tabs
- ;(c-toggle-auto-hungry-state 1)
- (abbrev-mode 0)
- (define-key c-mode-base-map "\e-i" 'indent-relative) ; instead of tab-to-tab
- )
- (add-hook 'c-mode-common-hook 'c-mode-common-djl)
- ;;(read-char "?")
- ;;;;;;; look at all this again!!!!
- (setq make-header-c++ '(make-c++-header2)) ;; turn on autoheaders
- (setq make-header-c '(make-c-header2)) ;;
- (setq c-includes "#include <stdio.h>\n")
- (setq c-includes (concat c-includes "#include <unistd.h>\n"))
- (setq c-includes (concat c-includes "#include <stdlib.h>\n"))
- (setq c-includes (concat c-includes "#include <sys/types.h>\n"))
- ; ^^^ consider skletons, or auto-insert
- ;executable-make-buffer-file-executable-if-script-p
- ;need packages--
- ;color-theme
- ;planner.el
- ;remember
- ;plannerdiary
- ;flymake
- ;perldoc
- ;htmlize
- ; copy region as kill? kill-ring-save region... copy-line
- ; aggregate killed text ; c-m-w before ... m-w
- ; append to buffer ???
- (fset 'rubout-control-h
- [?\C-s ?\C-q ?\C-h ?\C-m backspace])
- (fset 'remove-control-m
- [?\M-x ?r ?e ?p ?l ?a ?c ?e ?- ?s ?t ?i ?n delete delete ?r ?i ?n ?g return ?\C-q ?\C-m return return])
- ;;; insert the date
- (fset 'insert-date
- "\C-u\C-[!/bin/date +'%B %d, %Y'\C-m")
- ;;; insert the date, typical computer format
- (fset 'insert-date-unix
- "\C-u\C-[!/bin/date")
- ;; (current-time-string) ? use this???
- ;; (format-time-string) ? use this???
- ;;; insert the time
- (fset 'insert-time
- "\C-u\C-[!/bin/date +'%l:%M %p'")
- ;;; insert-include
- (fset 'insert-include
- "\C-a#include <>\C-b")
- (fset 'insert-main
- [?i ?n ?t ? ?m ?a ?i ?n ? ?( ? ?i ?n ?t ? ?a ?r ?g ?c ?, ? ?c ?h ?a ?r ? ?* ? ?a ?r ?g ?v ?[ ?] ? ?) return ?{ return tab ?} ?\C-a ?\C-o tab ?r ?e ?t ?r ?u ?n backspace backspace backspace ?u ?r ?n ? ?0 ?; ?\C-a ?\C-o ?\C-o ?\C-l tab])
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;; keyboard macros
- (fset '140charactersforward "\C-u140\C-f") ; useful when composing a tweet.
- (fset '140charactersbackward "\C-u140\C-b") ; useful when composing a tweet.
- (fset 'tweetpaste "\C-[|tweetpaste\C-m" ) ; now I can just meta-x
- ;;; !!!!!!! Xcept that it clears the message area now!FUCK!
- (fset 'mcompile
- "\C-u\C-xs\C-[xeval-expr\C-m(setq compilation-read-command nil)\C-m\C-[xcompile\C-m\C-[xeval-expr\C-m(setq compilation-read-command t)\C-m")
- ;(fset 'insert-char-=
- ; "=")
- ;(fset 'insert-char-/
- ; "/")
- ;(fset 'insert-char-*
- ; "*")
- ;(cond
- ; ;;((not (boundp 'c-mode-hook))
- ; (t
- ; (setq c-mode-hook
- ; '(lambda ()
- ; (define-key c++-mode-map "\C-ci" 'insert-include)
- ; (define-key c++-mode-map "\C-cm" 'insert-main)
- ; (cond
- ; ((boundp 'hilit-default-face-table)
- ; (define-key c-mode-map "\C-j" 'hilit-newline-and-indent))
- ; )
- ; (setq fill-column default-fill-column)
- ; (setq backup-inhibited nil)
- ; (setq kept-new-versions number-of-source-backups)
- ; (line-number-mode 1)
- ; (make-local-variable 'compile-command)
- ; (setq compile-command
- ; (cond
- ; ((file-exists-p ( concat default-directory "Makefile"))
- ; "make")
- ; (t (concat compile-command-pre-string-c buffer-file-name
- ; compile-command-post-string-c)
- ; )
- ; ))
- ; (if (= (buffer-size) 0 )
- ; (progn
- ; (eval make-header-c)
- ; )
- ; )
- ; )
- ; )
- ; )
- ; )
- ;;; autoloads
- ;;;;(autoload 'w3 "w3")
- ;(autoload 'w3 "w3/w3" "WWW Browser" t)
- ;;(load-library "w3")
- ;(load-library "dos-mode")
- ;(autoload 'dos-mode "dos-mode")
- ;;(load-library "8bits-mode")
- ;;;(autoload '8bits-mode "8bits-mode")
- ;;;; Commands added by calc-public-autoloads on Thu Nov 14 23:27:42 1996.
- ;(autoload 'calc-dispatch "calc" "Calculator Options" t)
- ;(autoload 'full-calc "calc" "Full-screen Calculator" t)
- ;(autoload 'full-calc-keypad "calc" "Full-screen X Calculator" t)
- ;(autoload 'calc-eval "calc" "Use Calculator from Lisp")
- ;(autoload 'defmath "calc" nil t t)
- ;(autoload 'calc "calc" "Calculator Mode" t)
- ;(autoload 'quick-calc "calc" "Quick Calculator" t)
- ;(autoload 'calc-keypad "calc" "X windows Calculator" t)
- ;(autoload 'calc-embedded "calc" "Use Calc inside any buffer" t)
- ;(autoload 'calc-embedded-activate "calc" "Activate =>'s in buffer" t)
- ;(autoload 'calc-grab-region "calc" "Grab region of Calc data" t)
- ;(autoload 'calc-grab-rectangle "calc" "Grab rectangle of data" t)
- ;(setq load-path (nconc load-path (list "/usr/local/emacs/share/site-lisp/calc-2.02e")))
- ;(global-set-key "\e#" 'calc-dispatch)
- ;(auto-compression-mode t)
- ;;;;;;;;;;; mode hooks ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;(cond
- ; ;;((not (boundp 'text-mode-hook))
- ; (t
- ; (setq text-mode-hook
- ; '(lambda ()
- ; ;(auto-fill-mode 1)
- ; ;(line-number-mode 1)
- ; ;(column-number-mode 1)
- ; )
- ; )
- ; )
- ; )
- ;(add-hook 'mail-mode-hook
- ; '(lambda ()
- ; (auto-fill-mode 1)))
- ;(setq emacs-lisp-mode-hook
- ; '(lambda ()
- ; (setq backup-inhibited nil)
- ; (setq verson-control nil)
- ;))
- ;; this is the recommended method for setting up hooks
- ;; however it then runs into 'order problems', I'd rather set the
- ;; hook absolutly or leave it alone.
- ; (add-hook 'text-mode-hook
- ; (function (lambda ()
- ; (setq fill-column default-fill-column)
- ; (line-number-mode 1)
- ; (column-number-mode 1)
- ; )
- ; )
- ; )
- ;; was doing something with auto loaded in here, and that file
- ;; could not be bytecompiled and work, or so it seemed
- ;;;;;; mail stuff ;;;;;;;;;;;;;;;;;;;
- ;; don't need this on drake
- ;;; (setq mail-default-reply-to (concat (user-login-name) "@pcs."))
- ;;;
- ;(setq mail-aliases t)
- ;(setq mail-interactive t)
- ;(setq send-mail-program "/usr/sbin/sendmail")
- ;;(setq mail-archive-file-name "mail/sent-mail") ; it assumes it is off of ~
- (setq mail-yank-ignored-headers "^Sender:\\|^via:\\|^mail-from:\\|^origin:\\|^status:\\|^remailed\\|^received:\\|^message-id:\\|^summary-line:\\|^to:\\|^subject:\\|^in-reply-to:\\|^return-path:\\|^Mime.*:\\|^Content[-a-zA-Z]*:\\|^Organization:\\|^Lines:\\|^NNTP-Posting-Host:\\|^X-.*:\\|^Path:")
- ;(setq rmail-ignored-headers "^received:\\|^X-.*:\\|^Return-Path:\\|^Content[-a-zA-Z]*:\\|^M.*:")
- ;(setq rmail-dont-reply-to-names (concat (user-login-name) "\\|everyone.*\\|students.*\\|treet.*")) ; this is a regexp
- (setq mail-yank-prefix ") ")
- ;; end of mail-stuff
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- (cond
- (window-system (window-setup))
- (t (menu-bar-mode -1)))
- ;(defun move-right ()
- ; "scroll when moving right"
- ; (interactive)
- ; (scroll-left 1)
- ; )
- ;(defun move-left ()
- ; "scroll when moving left"; (interactive)
- ; (scroll-right 1)
- ; )
- ;(defun move-up ()
- ; "scroll when moving up"
- ; (interactive)
- ; (scroll-down 1)
- ; )
- ;(defun move-down ()
- ; "scroll when moving down"
- ; (interactive)
- ; (scroll-up 1)
- ; )
- (if window-system
- ; (setq mouse-wheel-mode t) ; enable mouse wheel in graphical mode
- (toggle-scroll-bar -1)
- (tool-bar-mode -1)
- (menu-bar-mode -1)
- (set-face-attribute 'mode-line nil :box nil)
- ;(mouse-wheel-mode t)
- ; fringe?
- ;(setq confirm-kill-emacs yes-or-no-p)
- ;(setq indicate-empty-lines
- ;(setq default-indicate-empty-lines)
- )
- ;(global-set-key [kp-1] 'delete-other-windows )
- ;; ok if I'm running xterm-color, like brown,
- ;; I could run into this
- ;<deletechar> runs the command delete-char
- ;(delete-char N &optional KILLFLAG)
- ; which is an interactive built-in function.
- ; which means <deletechar> is sym for my grey delete!!
- ; later I think
- ; korny this should load in messages
- (animate-string "**** Start Edtings ********" 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement