Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnendubiswas committed Jan 11, 2017
1 parent 1572dbf commit 8669258
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
3 changes: 2 additions & 1 deletion modules/cc-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

(use-package flycheck-google-cpplint ; Google C++ Style checker for Flycheck, also need to setup cpplint.
:ensure t
:after flycheck
;; :after flycheck
:if (eq system-type 'gnu/linux)
:config
(flycheck-add-next-checker 'c/c++-clang
Expand All @@ -150,6 +150,7 @@
:map c-mode-base-map
("M-q" . c-fill-paragraph)))

;; Example to install irony-server: cmake -DLIBCLANG_INCLUDE_DIR=/workspace/software/llvm/clang+llvm-3.9.1-x86_64-linux-gnu-debian8/include -DLIBCLANG_LIBRARY=/usr/lib64/llvm/libclang.so -DCMAKE_INSTALL_PREFIX=/h2/sbiswas/.emacs.d/irony/ /h2/sbiswas/.emacs.d/elpa/irony-20161227.348/server && cmake --build . --use-stderr --config Release --target install
(use-package irony
:ensure t
:diminish irony-mode
Expand Down
15 changes: 0 additions & 15 deletions modules/latex-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -236,21 +236,6 @@
"~/iss-workspace/bibtex/iss.bib"
"~/iss-workspace/NSFApprox2016/bibs/pingali/approx.bib")))

(use-package outline
:ensure t
:disabled t
:after tex
:defer t
:diminish outline-minor-mode
:init (add-hook 'LaTeX-mode-hook #'outline-minor-mode)
:config
(use-package outline-magic
:ensure t
:init
(add-hook 'outline-mode-hook
(lambda ()
(require 'outline-cycle)))))

;; https://rtime.felk.cvut.cz/~sojka/blog/compile-on-save/
;; http://tex.stackexchange.com/questions/64897/automatically-run-latex-command-after-saving-tex-file-in-emacs
;; This hook works well for paper directories, but not with dissertation directories.
Expand Down
10 changes: 2 additions & 8 deletions modules/prog-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,10 @@

(use-package cmake-mode
:ensure t
:defer t
:config
(use-package cmake-font-lock
:ensure t)
(use-package cpputils-cmake
:ensure t
:config
(add-hook 'c-mode-common-hook
(lambda ()
(if (derived-mode-p 'c-mode 'c++-mode)
(cppcm-reload-all))))))
:ensure t))

(provide 'prog-init)

Expand Down

0 comments on commit 8669258

Please sign in to comment.