417 ;; Turn on auto-fill mode |
417 ;; Turn on auto-fill mode |
418 (add-hook 'html-mode-hook 'turn-on-auto-fill) |
418 (add-hook 'html-mode-hook 'turn-on-auto-fill) |
419 (add-hook 'text-mode-hook 'turn-on-auto-fill) |
419 (add-hook 'text-mode-hook 'turn-on-auto-fill) |
420 |
420 |
421 ;; ---------------------------------------------------------------------- |
421 ;; ---------------------------------------------------------------------- |
422 ;; DESIRE |
422 ;; unknown |
423 |
423 |
424 ;; (require 'desire) |
424 ;; (require 'desire) |
425 |
|
426 ;; (add-to-list 'desire-load-path |
425 ;; (add-to-list 'desire-load-path |
427 ;; (expand-file-name "~/share/emacs/desire")) |
426 ;; (expand-file-name "~/share/emacs/desire")) |
428 ;; (add-to-list 'auto-mode-alist |
427 ;; (add-to-list 'auto-mode-alist |
429 ;; (cons (concat (regexp-quote desire-extension) "\\'") |
428 ;; (cons (concat (regexp-quote desire-extension) "\\'") |
430 ;; 'emacs-lisp-mode)) |
429 ;; 'emacs-lisp-mode)) |
431 |
430 |
432 ;; ---------------------------------------------------------------------- |
|
433 |
|
434 ;; Pilot support |
|
435 ;; (desire 'pilot) |
|
436 |
|
437 ;; ---------------------------------------------------------------------- |
|
438 |
|
439 ;; BBDB - Must be loaded before most other things, since other things |
|
440 ;; may perform special configuration if BBDB is present. |
|
441 ;; |
|
442 ;; (desire 'bbdb "bbdb") |
|
443 |
|
444 ;; ---------------------------------------------------------------------- |
|
445 |
|
446 ;; These provide options for the various message handling packages. |
|
447 ;; (desire 'browse-url) |
431 ;; (desire 'browse-url) |
448 ;; (desire 'mailcrypt) |
432 ;; (desire 'mailcrypt) |
449 |
|
450 ;; Message handing packages. |
|
451 ;; (desire 'gnus) |
433 ;; (desire 'gnus) |
452 ;; (desire 'message) |
434 ;; (desire 'message) |
453 ;; (desire 'sendmail) |
435 ;; (desire 'sendmail) |
454 |
436 ;; (desire 'bbdb "bbdb") |
455 ;; ---------------------------------------------------------------------- |
437 ;; (desire 'pilot) |
456 |
|
457 ;; Miscellaneous |
|
458 |
|
459 ;; (desire 'abbrev) |
|
460 ;; (desire 'bibtex) |
438 ;; (desire 'bibtex) |
461 ;; (desire 'calc) |
|
462 ;; (desire 'ediff) |
|
463 ;; (desire 'eiffel-mode) |
439 ;; (desire 'eiffel-mode) |
464 ;; (desire 'emacs-w3m) |
440 ;; (desire 'emacs-w3m) |
465 ;; (desire 'eudc) |
441 ;; (desire 'eudc) |
466 ;; (desire 'filladapt) |
442 ;; (desire 'filladapt) |
467 ;;;; (desire 'hugs-mode) |
443 ;;;; (desire 'hugs-mode) |
468 ;; (desire 'haskell-mode) |
|
469 ;; (desire 'latex) |
|
470 ;; (desire 'lispdir) |
|
471 ;; (desire 'mpg123) |
444 ;; (desire 'mpg123) |
472 ;; (desire 'php-mode) |
445 ;; (desire 'php-mode) |
473 ;; (desire 'ps-print) |
446 ;; (desire 'ps-print) |
474 ;; (desire 'sh-script) |
|
475 ;; (desire 'shell) |
|
476 ;; (desire 'tex) |
|
477 ;; (desire 'w3) |
|
478 |
|
479 ;; ====================================================================== |
|
480 ;; |
|
481 ;; PERSONAL |
|
482 |
|
483 ;; (require 'chord-mode) ; edit guitar music. |
447 ;; (require 'chord-mode) ; edit guitar music. |
484 ;; (require 'discography) ; variant of BibTeX mode for discographies. |
448 ;; (require 'discography) ; variant of BibTeX mode for discographies. |
485 |
449 |
486 ;; ====================================================================== |
450 ;; ====================================================================== |
487 ;; unNOVICEd commands... |
451 ;; unNOVICEd commands... |
574 (require 'woman) |
538 (require 'woman) |
575 (setq woman-use-own-frame nil) |
539 (setq woman-use-own-frame nil) |
576 (setq woman-fill-frame t) |
540 (setq woman-fill-frame t) |
577 |
541 |
578 ;; ====================================================================== |
542 ;; ====================================================================== |
579 ;; |
543 ;; shell, sh, bash |
580 ;; SHELL |
|
581 |
544 |
582 ;; Setup Emacs to run bash as its primary shell. |
545 ;; Setup Emacs to run bash as its primary shell. |
583 ;; (setq binary-process-input t) |
546 ;; (setq binary-process-input t) |
584 ;; (setq shell-file-name "bash") |
547 ;; (setq shell-file-name "bash") |
585 ;; (setq shell-command-switch "-c") |
548 ;; (setq shell-command-switch "-c") |
586 ;; (setenv "SHELL" shell-file-name) |
549 ;; (setenv "SHELL" shell-file-name) |
587 ;; (if (boundp 'w32-quote-process-args) |
|
588 ;; (setq w32-quote-process-args ?\")) ;; Include only for MS Windows. |
|
589 |
550 |
590 (when (eq window-system 'w32) |
551 (when (eq window-system 'w32) |
591 (setq explicit-shell-file-name "bash") |
552 (setq explicit-shell-file-name "bash") |
592 (setq explicit-bash-args '("-login" "-i")) |
553 (setq explicit-bash-args '("-login" "-i")) |
593 (setq explicit-sh-args '("-login" "-i")) ) |
554 (setq explicit-sh-args '("-login" "-i")) ) |
594 |
555 |
595 ;; ====================================================================== |
556 ;; ====================================================================== |
596 ;; |
557 ;; spell, ispall, aspell |
597 ;; Spell |
|
598 |
558 |
599 (setq ispell-program-name "ispell") |
559 (setq ispell-program-name "ispell") |
600 ;(setq ispell-dictionary "russianw"); default dictionary |
560 ;(setq ispell-dictionary "russianw"); default dictionary |
601 ;(setq ispell-local-dictionary "russianw"); default dictionary |
561 ;(setq ispell-local-dictionary "russianw"); default dictionary |
602 ;(add-hook 'text-mode-hook 'flyspell-mode) |
562 ;(add-hook 'text-mode-hook 'flyspell-mode) |
848 |
808 |
849 ;; (add-hook 'asm-mode-hook '(lambda () (local-unset-key ":"))) |
809 ;; (add-hook 'asm-mode-hook '(lambda () (local-unset-key ":"))) |
850 ;; (add-hook 'asm-mode-hook '(lambda () (local-set-key ":" ":"))) |
810 ;; (add-hook 'asm-mode-hook '(lambda () (local-set-key ":" ":"))) |
851 |
811 |
852 ;; ---------------------------------------------------------------------- |
812 ;; ---------------------------------------------------------------------- |
853 ;; LISP |
813 ;; lisp |
854 (setq list-command-history-max 256) |
814 (setq list-command-history-max 256) |
855 |
815 |
856 ;; ---------------------------------------------------------------------- |
816 ;; ---------------------------------------------------------------------- |
857 ;; C, c-mode, C++, c++-mode |
817 ;; C, c-mode, C++, c++-mode |
858 |
818 |