commit a35929943fd98f399cd80341896072e70ff5df66
parent 17b3e97b4009b05cc250290b5394a842b801fb83
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Tue, 8 Aug 2017 07:16:34 +0300
Add general emacs tweaks, xmonad dmenu_run i18n thing, and...
- Fix remote git-annex-shell command not found problem.
https://git-annex.branchable.com/forum/not_finding_git-annex-shell_on_remote/
- Comment out yasnippet.
- Properly load org babel languages.
Diffstat:
2 files changed, 31 insertions(+), 19 deletions(-)
diff --git a/dotfiles.org b/dotfiles.org
@@ -105,6 +105,8 @@ You might find mirrors in the following addresses:
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
+ PATH="$HOME/bin:$HOME/.local/bin:$PATH"
+
# If not running interactively, don't do anything
case $- in
,*i*) ;;
@@ -517,7 +519,7 @@ A list of all agenda files.
myAdditionalKeys =
[ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
- , ((mod4Mask, xK_p), spawn "LC_ALL=\"C.UTF-8\" dmenu_run")
+ , ((mod4Mask, xK_p), spawn "dmenu_run")
, ((0, xK_Print), spawn "scrot")
-- , ((mod1Mask, xK_Escape), spawn "setxkbmap -option grp:alts_toggle us,il")
-- , ((controlMask .|. shiftMask, xK_Return), spawn "xsel -b | festival --tts")
diff --git a/emacs/myinit.org b/emacs/myinit.org
@@ -23,13 +23,16 @@
- [ ] What is revert-buffer?
#+BEGIN_SRC emacs-lisp
- (setq inhibit-startup-message t
- column-number-mode t
- electric-indent-mode nil
- indent-tabs-mode nil
- display-battery-mode t
- word-wrap t
- )
+ (setq
+ column-number-mode t
+ display-battery-mode t
+ electric-indent-mode nil
+ indent-tabs-mode nil
+ semantic-mode t
+ show-paren-mode t
+ word-wrap t
+ inhibit-startup-message t
+ )
#+END_SRC
*** Custom face
@@ -65,6 +68,14 @@
(ido-mode 1)
#+END_SRC
+** COMMENT projectile
+
+#+BEGIN_SRC emacs-lisp
+ (req-package
+ :loader :elpa
+ )
+#+END_SRC
+
** winner-mode
#+BEGIN_SRC emacs-lisp
@@ -197,6 +208,7 @@ Brings up some help in the middle of a key sequence.
#+BEGIN_SRC emacs-lisp
(req-package org
:loader :elpa
+ :require ob-ditaa ob-ipython
:config
(setq org-confirm-babel-evaluate nil
@@ -215,19 +227,17 @@ Brings up some help in the middle of a key sequence.
"~/mine/syncthing/sg3/shared/orgzly/"
))
+ (add-to-list 'org-babel-load-languages '((ipython . t)
+ (python . t)
+ (ditaa . t)))
+
+ (setq org-ditaa-jar-path "/usr/share/ditaa/ditaa.jar")
+
+
(add-to-list
'org-babel-tangle-lang-exts
'('("haskell" . "hs")))
- (org-babel-do-load-languages
- 'org-babel-load-languages
- '(
- (ipython . t)
- (python . t)
- (emacs-lisp . t)
- (ditaa . t)
- ))
-
(add-hook 'org-babel-after-execute-hook
'org-display-inline-images 'append
@@ -364,7 +374,7 @@ Org bullets makes things look pretty.
)
#+END_SRC
-*** yasnippet
+*** COMMENT yasnippet
#+BEGIN_SRC emacs-lisp
(req-package yasnippet
@@ -525,7 +535,7 @@ should try first.
)
#+END_SRC
-*** flycheck
+*** COMMENT flycheck
#+BEGIN_SRC emacs-lisp
(req-package flycheck