|
|
|
|
@ -14,7 +14,7 @@ |
|
|
|
|
|
|
|
|
|
See also [http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-code] |
|
|
|
|
|
|
|
|
|
* TODO Find what ~package.el~ does |
|
|
|
|
|
|
|
|
|
* Some remarks and comments |
|
|
|
|
** ~setq~ vs ~setq-default~ |
|
|
|
|
Some variables are buffer-local, others are not; for non buffer-local |
|
|
|
|
@ -24,6 +24,11 @@ |
|
|
|
|
|
|
|
|
|
:source: [https://stackoverflow.com/a/18173666] |
|
|
|
|
|
|
|
|
|
** Why not ~package.el~ |
|
|
|
|
it is convenient, but it is not git-based; ~borg.el~ is promising, but it is |
|
|
|
|
way complicated; I can do everything by hand as soon as it is neatly |
|
|
|
|
~org~-anized |
|
|
|
|
|
|
|
|
|
* Files and dirs |
|
|
|
|
Move ~Customize~ to a separate file |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
@ -183,15 +188,11 @@ |
|
|
|
|
|
|
|
|
|
(require 'linum) |
|
|
|
|
(global-linum-mode 1) |
|
|
|
|
;; check if it works to enable it globally |
|
|
|
|
;; (add-hook 'text-mode-hook 'linum-mode) |
|
|
|
|
;; (add-hook 'qml-mode-hook 'linum-mode) |
|
|
|
|
;; (add-hook 'lua-mode-hook 'linum-mode) |
|
|
|
|
|
|
|
|
|
;; (require 'sourcepair) |
|
|
|
|
;; (global-set-key (kbd "<f6>") 'sourcepair-load) |
|
|
|
|
|
|
|
|
|
;;(global-set-key (kbd "C-M-<backspace>") 'backward-kill-sexp) |
|
|
|
|
(global-set-key (kbd "C-M-<backspace>") 'backward-kill-sexp) |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-x k") 'kill-this-buffer) ;;why not? |
|
|
|
|
|
|
|
|
|
@ -217,10 +218,6 @@ |
|
|
|
|
(global-unset-key (kbd "C-x f")) |
|
|
|
|
(global-unset-key (kbd "<M-f4>")) ; rly? |
|
|
|
|
|
|
|
|
|
;; (global-unset-key (kbd "<backspace>")) ;give this a try |
|
|
|
|
;; (global-unset-key (kbd "DEL")) ;give this a try |
|
|
|
|
;; (global-unset-key (kbd "C-<backspace>")) ;give this a try |
|
|
|
|
|
|
|
|
|
;; Change some global bindings: |
|
|
|
|
(global-unset-key (kbd "C-M-u")) |
|
|
|
|
(global-unset-key (kbd "C-M-d")) |
|
|
|
|
|