.emacs-my
changeset 1350 82ce5b4ae16e
parent 1349 bb5f3306e2a8
child 1351 52f76a250c23
equal deleted inserted replaced
1349:bb5f3306e2a8 1350:82ce5b4ae16e
  2743           ))
  2743           ))
  2744   )
  2744   )
  2745 (add-hook 'c-mode-common-hook 'my-c-mode-style-hook)
  2745 (add-hook 'c-mode-common-hook 'my-c-mode-style-hook)
  2746 
  2746 
  2747 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2747 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2748 (message "python")
  2748 (message "python, python-mode")
  2749 
  2749 
  2750 (setq python-indent 4)
  2750 (setq python-indent 4)
  2751 
  2751 
  2752 (defvar my/python-eldoc-setup-code
  2752 (defvar my/python-eldoc-setup-code
  2753   "def __PYDOC_get_full_help(obj):
  2753   "def __PYDOC_get_full_help(obj):
  2973  cperl-continued-statement-offset 2
  2973  cperl-continued-statement-offset 2
  2974  cperl-indent-parens-as-block t
  2974  cperl-indent-parens-as-block t
  2975  cperl-tab-always-indent t)
  2975  cperl-tab-always-indent t)
  2976 
  2976 
  2977 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2977 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
       
  2978 (message "r, ess-mode")
       
  2979 
       
  2980 (setq ess-indent-offset 2)
       
  2981 
       
  2982 (my--eval-after-load ess-inf
       
  2983   (define-key inferior-ess-mode-map [home] 'comint-bol))
       
  2984 
       
  2985 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2978 (message "SML, Standard ML")
  2986 (message "SML, Standard ML")
  2979 
  2987 
  2980 (my--eval-after-load sml
  2988 (my--eval-after-load sml
  2981   (define-key sml-mode-map (kbd "C-c C-p") 'sml-send-function))
  2989   (define-key sml-mode-map (kbd "C-c C-p") 'sml-send-function))
  2982 
  2990