Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (require 'package) (setq package-archives '(("gnu" .
- "http://elpa.gnu.org/packages/") ("marmalade" .
- "http://marmalade-repo.org/packages/") ("melpa" .
- "http://melpa.milkbox.net/packages/")))
- (autoload 'pymacs-apply "pymacs")
- (autoload 'pymacs-call "pymacs")
- (autoload 'pymacs-eval "pymacs" nil t)
- (autoload 'pymacs-exec "pymacs" nil t)
- (autoload 'pymacs-load "pymacs" nil t)
- ;;(eval-after-load "pymacs"
- ;; '(add-to-list 'pymacs-load-path /usr/share/emacs/site-lisp/pymacs/"))
- (require 'pymacs)
- (pymacs-load "ropemacs" "rope-")
- (when (load "flymake" t)
- (defun flymake-pyflakes-init ()
- (let* ((temp-file (flymake-init-create-temp-buffer-copy
- 'flymake-create-temp-inplace))
- (local-file (file-relative-name
- temp-file
- (file-name-directory buffer-file-name))))
- (list "pyflakes" (list local-file))))
- (add-to-list 'flymake-allowed-file-name-masks
- '("\\.py\\'" flymake-pyflakes-init)))
- (add-hook 'find-file-hook 'flymake-find-file-hook)
- (add-hook 'python-mode-hook
- (lambda ()
- (add-to-list 'ac-sources 'ac-source-ropemacs)))
- (setq stack-trace-on-error t)
- (add-to-list 'load-path
- "/home/daniel/.emacs.d/ecb")
- (require 'ecb)
- (setq stack-trace-on-error nil) ;;don’t popup Backtrace window
- (setq ecb-tip-of-the-day nil)
- (setq ecb-auto-activate t)
- (setq ecb-layout-name "left6")
- (setq ecb-options-version "2.40")
- (setq ecb-primary-secondary-mouse-buttons (quote mouse-1–mouse-2))
- (setq ecb-source-path (quote ("~/Universidad/sw")))
- (semantic-mode)
- (load-file "/home/daniel/.emacs.d/emacs-for-python/epy-init.el")
- (setq tab-width 4)
- (setq indent-tabs-mode t)
- (global-set-key (kbd "s-g") 'rope-goto-definition)
- (global-set-key (kbd "s-h") 'ecb-goto-window-history)
- (global-set-key (kbd "s-c") 'ecb-goto-window-edit1)
- (global-set-key (kbd "s-d") 'rope-show-doc)
- (global-set-key (kbd "s-o") 'rope-find-file)
- (global-set-key (kbd "s-m") 'ecb-goto-window-methods)
- (custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-enabled-themes (quote (solarized-dark)))
- '(custom-safe-themes (quote ("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
- '(ecb-primary-secondary-mouse-buttons (quote mouse-2--C-mouse-2))
- '(indent-tabs-mode t)
- '(standard-indent 8))
- (custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement