.emacs-my
changeset 434 12acc6727bd9
parent 433 14012bcd3c0d
child 435 a34e8ddc9e12
equal deleted inserted replaced
433:14012bcd3c0d 434:12acc6727bd9
   653 ;; man, woman.
   653 ;; man, woman.
   654 
   654 
   655 (setq woman-use-own-frame nil)
   655 (setq woman-use-own-frame nil)
   656 (setq woman-fill-frame t)
   656 (setq woman-fill-frame t)
   657 
   657 
       
   658 ;; ----------------------------------------------------------------------
       
   659 ;; comint
       
   660 
       
   661 ;; If non-nil, add a `/' to completed directories, ` ' to file names.
       
   662 (setq comint-completion-addsuffix t)
       
   663 ;; Non-nil means go to the end of the line before sending input.
       
   664 (setq comint-eol-on-send t)
       
   665 
   658 ;; ======================================================================
   666 ;; ======================================================================
   659 ;; shell, sh, bash.
   667 ;; shell, sh, bash.
   660 
   668 
   661 ;; Setup Emacs to run bash as its primary shell.
   669 ;; Setup Emacs to run bash as its primary shell.
   662 ;; (setq binary-process-input t)
   670 ;; (setq binary-process-input t)
   663 ;; (setq shell-file-name "bash")
   671 ;; (setq shell-file-name "bash")
   664 ;; (setq shell-command-switch "-c")
   672 ;; (setq shell-command-switch "-c")
   665 ;; (setenv "SHELL" shell-file-name)
   673 ;; (setenv "SHELL" shell-file-name)
   666 
       
   667 ;; If non-nil, add a `/' to completed directories, ` ' to file names.
       
   668 (setq comint-completion-addsuffix t)
       
   669 
   674 
   670 (defvar my-use-windows-shell nil
   675 (defvar my-use-windows-shell nil
   671   "If t 'cmdproxy.exe' will be used as shell. Affect on M-x shell like
   676   "If t 'cmdproxy.exe' will be used as shell. Affect on M-x shell like
   672   commands. If nil, 'sh' will be used." )
   677   commands. If nil, 'sh' will be used." )
   673 
   678