]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
A little bit of documentation for bba.org
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 13 May 2015 22:29:30 +0000 (00:29 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 13 May 2015 22:29:30 +0000 (00:29 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 1f1ec52009881e2ac27fbaaf94b23c01e8293dad..3cdc18477aa3344b6bf55482c8144606184a6539 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -70,6 +70,9 @@ If you are in need enable debugging:
 
 *** define emacs shutdown function
 
+I like to commit my notes in my org and workorg folders after a days work.
+Keep track of your important stuff!
+
 #+BEGIN_SRC emacs-lisp
 
   ;; define function to shutdown emacs server instance
@@ -216,6 +219,10 @@ search the web on your fingertips. C-c /.
 #+END_SRC
 *** yasnippet
 
+My first thought: Nice. But do I have a use case? After half a year I
+cannot live without it. I write most of my [[http://www.cfengine.com][CFEngine]] code with
+snippets. Some help for Perl and even for org-mode.
+
 #+BEGIN_SRC emacs-lisp
   (add-to-list 'load-path
                "~/.emacs.d/elpa/yasnippet-20141017.736")
@@ -236,6 +243,9 @@ search the web on your fingertips. C-c /.
 #+END_SRC
 
 *** [[https://github.com/kai2nenobu/guide-key][guide-key]]
+
+Probably the best help to keep track of the not every day used keybindings.
+
 #+BEGIN_SRC emacs-lisp
   (add-to-list 'load-path "~/.emacs.d/elpa/popwin-20140902.1727")
   (add-to-list 'load-path "~/.emacs.d/elpa/guide-key-20140828.807")
@@ -319,6 +329,8 @@ No need to start .pl .sh from scratch.
 
 *** ido-mode
 
+I still like ido-find-file.
+
 #+BEGIN_SRC emacs-lisp
   (ido-mode t)
   (setq ido-enable-prefix nil
@@ -354,6 +366,10 @@ No need to start .pl .sh from scratch.
 
 See [[http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html][orgtutorial_dto]] for details.
 
+It's worth to use Emacs for org-mode alone.
+[[http://howardism.org/Technical/Emacs/literate-devops.html][Literate DevOps]] and [[http://www.howardism.org/Technical/Emacs/literate-database.html][Literate Database Work]] are only 2 use cases.
+With [[https://github.com/fniessen/org-html-themes.git][org html themes]] it's easy to generate beautiful output.
+
 Run these commands to make org-protocol work in gnome:
 
 #+BEGIN_SRC sh :eval no :tangle no
@@ -809,34 +825,10 @@ taken from http://doc.norang.ca/org-mode.org
 
      )
 
-     (defun cfe-insert-bundle ( name )
-       "Insert bundletemplate"
-       (interactive "sBundle: ")
-       (insert "#=head2 bundle " name "
-     #
-     #
-     #
-     #=cut
-     #
-
-     bundle " name "
-     {
-       vars:
-
-       files:
-
-       methods:
-
-       classes:
-
-     }")
-     )
-
      (add-hook 'cfengine3-mode-hook
        (lambda ()
          (which-function-mode)
 
-         (define-key cfengine3-mode-map "\C-cb" 'cfe-insert-bundle)
          (define-key cfengine3-mode-map "\C-c\S-t" (lambda()
                                                      (interactive)
                                                      (shell-command "~/bin/cfengine_update_testing.sh" )))
@@ -853,7 +845,7 @@ taken from http://doc.norang.ca/org-mode.org
 for C-c T you can use a file like this one:
 
 #+NAME: ~/bin/cfengine_update_testing.sh
-#+BEGIN_SRC sh
+#+BEGIN_SRC sh :tangle no
   #!/bin/bash
   :<<cut
   =cut
@@ -930,9 +922,6 @@ With this you can do /sudo:ssh-host:file-on-ssh-host
 
 *** [[http://www.twmode.sourceforge.net/][twitter]]
 
-BUGBUG: set `twittering-proxy-server' and `twittering-proxy-port' with strings
-from environment variable http_proxy
-
 #+BEGIN_SRC emacs-lisp
   (add-to-list 'load-path "~/.emacs.d/elpa/twittering-mode-20150105.333")
   (require 'twittering-mode)
@@ -1034,6 +1023,9 @@ from environment variable http_proxy
 *** remove trailing whitespace
     [2014-09-24 Wed 16:56]
 
+There are some file formats out there where you shouldn't use this
+function. [[http://en.wikipedia.org/wiki/YAML][YAML]] is only one of them.
+
 #+BEGIN_SRC emacs-lisp
   (eval-after-load "cfengine3-mode"
     '(add-hook 'cfengine3-mode-hook (lambda() (add-hook 'write-contents-functions
@@ -1201,7 +1193,7 @@ Bind f3 and f4 to previous/next pane.
 #+END_SRC
 
 *** [[http://www.howardism.org/Technical/Emacs/eshell-fun.html][eshell-here]]
-Thanks to Howard Abrahams.
+Thanks to Howard Abrams.
 modified because current version lacks function have
 window-total-height.
 
@@ -1637,6 +1629,8 @@ Some nice functions
 
 *** set theme bba1
 
+[[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]] is a nice tool to define your colors.
+
 #+BEGIN_SRC emacs-lisp
   (deftheme bba1 "DOCSTRING for bba1")
     (custom-theme-set-faces 'bba1