projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5bcb759
)
emacs - compilation
author
Peng Li
<seudut@gmail.com>
Sat, 16 Jul 2016 20:34:09 +0000
(
04:34
+0800)
committer
Peng Li
<seudut@gmail.com>
Sat, 16 Jul 2016 20:34:09 +0000
(
04:34
+0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
df7137a
..
6751821
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-903,6
+903,7
@@
use the prefix =M-s= for searching in buffers
;; ("\M-w" . save-buffer)
("e" . revert-buffer)
("s" . isearch-forward-regexp)
;; ("\M-w" . save-buffer)
("e" . revert-buffer)
("s" . isearch-forward-regexp)
+ ("M-s" . isearch-forward-regexp)
("r" . isearch-backward-regexp)
("." . isearch-forward-symbol-at-point)
("o" . occur)
("r" . isearch-backward-regexp)
("." . isearch-forward-symbol-at-point)
("o" . occur)
@@
-1934,7
+1935,10
@@
Set the environments vairables in compilation mode
(use-package compile
:commands compile
:config
(use-package compile
:commands compile
:config
- (setq compilation-environment (cons "LC_ALL=C" compilation-environment)))
+ (setq compilation-environment (cons "LC_ALL=C" compilation-environment))
+ (setq compilation-auto-jump-to-first-error t)
+ (setq compilation-auto-jump-to-next t)
+ (setq compilation-scroll-output 'first-error))
;; super-r to compile
(with-eval-after-load "compile"
;; super-r to compile
(with-eval-after-load "compile"
@@
-1952,9
+1956,7
@@
Set the environments vairables in compilation mode
#+END_SRC
*** C++ Auto Insert
#+END_SRC
*** C++ Auto Insert
-
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-
(eval-after-load 'autoinsert
'(define-auto-insert '("\\.cpp\\'" . "C++ skeleton")
'(
(eval-after-load 'autoinsert
'(define-auto-insert '("\\.cpp\\'" . "C++ skeleton")
'(
@@
-1993,7
+1995,6
@@
Set the environments vairables in compilation mode
"return 1;\n"
"}" > \n
)))
"return 1;\n"
"}" > \n
)))
-
#+END_SRC
*** Perl Auto Insert
#+END_SRC
*** Perl Auto Insert