Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
#######
#
# E-scripts on Org.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/org.e>
#           or at <http://angg.twu.net/e/org.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/.emacs[.html]>,
#                 <http://angg.twu.net/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######




# «.git»			(to "git")
# «.mailing-list»		(to "mailing-list")
# «.gmane»			(to "gmane")
# «.hyperlinks»			(to "hyperlinks")
# «.elisp-links»		(to "elisp-links")
# «.internal-links»		(to "internal-links")
# «.org-babel»			(to "org-babel")
# «.org-babel-screen»		(to "org-babel-screen")
# «.code-blocks»		(to "code-blocks")
# «.languages»			(to "languages")
# «.picolisp»			(to "picolisp")
# «.emacs-starter-kit»		(to "emacs-starter-kit")
# «.R-squared»			(to "R-squared")
# «.tables»			(to "tables")
# «.captures»			(to "captures")
# «.org-capture»		(to "org-capture")
# «.checkmark»			(to "checkmark")
# «.reproducible-research»	(to "reproducible-research")
# «.export-to-html»		(to "export-to-html")
# «.export-via-sexp»		(to "export-via-sexp")
# «.carsten-video»		(to "carsten-video")
# «.carsten-2008»		(to "carsten-2008")
# «.carsten-mak-planck»		(to "carsten-mak-planck")
# «.video-offsets»		(to "video-offsets")
# «.latex-header»		(to "latex-header")
# «.ee-goto-position-bug»	(to "ee-goto-position-bug")
# «.tab-templates»		(to "tab-templates")
# «.papers-about-org»		(to "papers-about-org")
# «.org-texinfo»		(to "org-texinfo")
# «.thunderlink»		(to "thunderlink")
# «.TODO-and-DONE»		(to "TODO-and-DONE")
# «.promote-and-demote»		(to "promote-and-demote")
# «.to-org-and-to-latex»	(to "to-org-and-to-latex")
# «.kitchin-scipy-org»		(to "kitchin-scipy-org")
# «.time-offsets»		(to "time-offsets")
# «.easy-templates»		(to "easy-templates")
# «.audio-blocks»		(to "audio-blocks")
# «.adding-new-tags»		(to "adding-new-tags")
# «.org-download»		(to "org-download")
# «.bibtex»			(to "bibtex")
# «.org-syntax»			(to "org-syntax")
# «.redirecting-stderr»		(to "redirecting-stderr")
# «.tikz-in-org-for-newbies»	(to "tikz-in-org-for-newbies")
# «.parse-org-with-lua»		(to "parse-org-with-lua")
# «.org-compact-guide»		(to "org-compact-guide")
# «.org-ref»			(to "org-ref")
# «.M-up-and-M-down»		(to "M-up-and-M-down")




http://orgmode.org/index.html#sec-2
http://orgmode.org/org-7.7.tar.gz
http://orgmode.org/worg/org-contrib/babel/
http://orgmode.org/worg/org-contrib/babel/how-to-use-Org-Babel-for-R.html




#####
#
# Downloading with git
# 2011nov23 / 2013feb19
#
#####

# «git»  (to ".git")
# (find-angg ".emacs" "org-mode")
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-02/msg01029.html
# http://orgmode.org/org.html#Installation
# http://orgmode.org/worg/org-faq.html#updating-org

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
rm -Rv /tmp/org/
mkdir  /tmp/org/
cd     /tmp/org/
git clone git://orgmode.org/org-mode.git
tar -cvzf ~/tmp/org-git.tgz org-mode/

rm -Rfv ~/usrc/org-mode/
tar -C  ~/usrc/ -xvzf ~/tmp/org-git.tgz org-mode/
cd      ~/usrc/org-mode/

# (find-orgsrcfile "")
# (find-orgsrcfile "contrib/")
# (find-orgsrcfile "contrib/README")
# (find-orgsrcfile "contrib/babel/")




#####
#
# Mailing list
# 2011nov23
#
#####

# «mailing-list»  (to ".mailing-list")
# http://lists.gnu.org/archive/html/emacs-orgmode/
# http://lists.gnu.org/mailman/listinfo/emacs-orgmode
# emacs-orgmode@gnu.org
# http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00874.html

# http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00979.html
#   Re: [O] org mode R remote code evaluation

# http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00124.html
#  Alan Schmitt [O] Org mode and eev
#   http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00319.html seb
#   http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00359.html edrx

# «gmane» (to ".gmane")
# http://news.gmane.org/gmane.emacs.orgmode
#  A small hack to document programs externally [fetchlines]
#   http://article.gmane.org/gmane.emacs.orgmode/79615
#   http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00192.html



#####
#
# Hyperlinks in Org
# 2011nov23
#
#####

# «hyperlinks»  (to ".hyperlinks")
# (find-node "(org)External links" "elisp:")
# (find-node "(org)Using links outside Org")
# (find-node "(org)Link abbreviations")
# (find-node "(org)Search options")
# (find-node "(org)Adding hyperlink types")
# (find-node "(org)Internal links" "C-c C-o")

# Compare with:
# (find-eevarticlesection "hyperlinks")
# (find-eevarticlesection "shorter-hyperlinks")
# (find-eevarticlesection "dangerous-hyperlinks")
# (find-eevarticlesection "generating-hyperlinks")




#####
#
# Elisp hyperlinks in Org
# 2012jan25
#
#####

# «elisp-links»  (to ".elisp-links")
# (find-orgnode "External links")
# (find-orgnode "Handling links" "C-c l"   "Store a link")
# (find-orgnode "Handling links" "C-c C-l" "Insert a link")
# (find-orgnode "Handling links" "C-c C-o" "Open link at point")
# (find-sh0 "echo '[[elisp:(find-fline \"/tmp/\")][/tmp/]]' > /tmp/el.org")
# (find-fline "/tmp/el.org")

# (find-efunction 'org-open-at-point)
# (find-efunction 'org-open-at-point "(string= type \"elisp\")")
# (find-elfile "org/ChangeLog")

  [[file:~/TODO]]
  [[file:~/TODO::idle]]

# (find-fline "~/TODO")
# (find-fline "~/TODO" "idle")
# (find-orgnode "External links" "file:projects.org::some words")




#####
#
# internal links
# 2014sep06
#
#####

# «internal-links» (to ".internal-links")
# http://orgmode.org/manual/Internal-links.html
# (find-node "(org)Internal links" "C-c C-o")
# (find-orgnode "Internal links" "C-c C-o")




#####
#
# Org-babel
# 2011nov23
#
#####

# «org-babel»  (to ".org-babel")
# http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf
# http://orgmode.org/worg/org-contrib/babel/index.html
# http://orgmode.org/worg/org-contrib/babel/intro.html
# http://orgmode.org/manual/Literal-examples.html
# http://orgmode.org/manual/Working-With-Source-Code.html
# http://orgmode.org/worg/org-contrib/babel/languages.html

# (find-orgsrcfile "contrib/babel/")
# (find-orgbabelfile "library-of-babel.org")
# (find-orgbabelfile "library-of-babel.org")
# (find-orgbabelfile "library-of-babel.org" "Available languages")
# (find-orgbabelfile "library-of-babel.org" "Available languages" "From Org's core")



#####
#
# Org-babel-screen (inspired on eev)
# 2011nov23
#
#####

# «org-babel-screen»  (to ".org-babel-screen")
# http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-screen.html
# http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-screen.org.html
# (find-orgsrcfile "lisp/")
# (find-orgsrcfile "lisp/ob-screen.el")
# (find-orgsrcfile "lisp/ob.el")

# My announcement of eepitch (as similar to org-babel-screen):
# http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00874.html

# (find-es "org")
# (find-sh "locate /ob-")
# (find-efile "org/")





#####
#
# Code blocks
# 2013sep12
#
#####

# «code-blocks» (to ".code-blocks")
# (find-orgnode "Evaluating code blocks")
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00551.html andrey
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00552.html edrx
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00553.html eric
# http://www.emacswiki.org/emacs/OrgMode
# (find-efile "org/ob-sh.el")
# (require 'ob-sh)

* Switch to org-mode: (org-mode)
# Back: (fundamental-mode)

#+begin_src sh :dir /ssh:edrx@angg.twu.net:
ls -la
#+end_src

# "org-babel-execute-src-block: No org-babel-execute function for sh!"
# (find-efunction 'org-babel-execute-src-block)
# (find-efile "org/ob.el" "No org-babel-execute function for %s!")

* Rest of the file:
# (find-efunction 'org-babel-do-load-languages)
# (find-efunction 'org-babel-load-languages)




#####
#
# Org-babel languages
# 2013feb16
#
#####

# «languages» (to ".languages")
# (find-orgnode "Languages")
# (find-orgnode "Structure of code blocks")
# (find-orgnode "Evaluating code blocks")
# (find-efile "org/ob-emacs-lisp.el")
# (find-efunctiondescr 'org-babel-do-load-languages)
# (find-evardescr      'org-babel-load-languages)

     (org-babel-do-load-languages
      'org-babel-load-languages
      '((emacs-lisp . nil)
        (R . t)))

   It is also possible to enable support for a language by loading the
related elisp file with `require'.

     The following adds support for evaluating `clojure' code blocks.

     (require 'ob-clojure)








#####
#
# PicoLisp in Babel
# 2011nov23
#
#####

# «picolisp»  (to ".picolisp")
# (find-es "lisp" "picolisp")
# http://www.mail-archive.com/picolisp@software-lab.de/msg02796.html
# http://www.mail-archive.com/picolisp@software-lab.de/index.html#02796
# (find-orgbabelfile "langs/")
# (find-orgbabelfile "langs/ob-picolisp.el")




#####
#
# Emacs starter kit
# 2011nov24
#
#####

# «emacs-starter-kit»  (to ".emacs-starter-kit")
# http://eschulte.github.com/emacs-starter-kit/

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
rm -Rfv /tmp/emacs24-starter-kit/
mkdir   /tmp/emacs24-starter-kit/
cd      /tmp/emacs24-starter-kit/
git clone https://github.com/eschulte/emacs24-starter-kit
tar -cvzf ~/tmp/emacs24-starter-kit-git.tgz *

rm -Rfv ~/usrc/emacs24-starter-kit/
tar -C  ~/usrc/ -xvzf ~/tmp/emacs24-starter-kit-git.tgz
cd      ~/usrc/emacs24-starter-kit/

# (code-c-d "emacsstarterkit" "~/usrc/emacs24-starter-kit/")
# (find-emacsstarterkitfile "")




#####
#
# R squared
# 2012jan12
#
#####

# «R-squared»  (to ".R-squared")
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00444.html
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00456.html




#####
#
# Tables in Org
# 2012feb12
#
#####

# «tables»  (to ".tables")
# (find-orgnode "Built-in table editor")
# Did I disable the table keys?...
# (find-angg ".emacs" "org-mode")
# (find-efunctiondescr 'org-mode)




#####
#
# Captures
# 2012feb12 / 2016feb14
#
#####

# «captures»  (to ".captures")
# «org-capture» (to ".org-capture")
# (find-orgnode "Remember")
# (find-orgsrcfile "lisp/org-capture.el")
# http://orgmode.org/manual/Using-capture.html
# http://orgmode.org/manual/Capture.html
# (find-orgnode "Adding hyperlink types")
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00692.html
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00706.html

# (find-efunctiondescr 'org-capture)
# (find-efunction      'org-capture)

# https://addons.mozilla.org/en-US/firefox/addon/org-mode-capture/
# https://www.reddit.com/r/emacs/comments/4peje3/does_anyone_have_orgcapture_for_firefox_working/
# http://weblog.zamazal.org/org-mode-firefox/
# https://github.com/sprig/org-capture-extension
# https://www.youtube.com/watch?v=JVo06-7tKNM




#####
#
# Replacing [X] by a checkmark
# 2012feb12
#
#####

# «checkmark»  (to ".checkmark")
# (find-elnode "Customizing Keywords")
# (find-efunction 'compose-region)

;; I asciified this a bit
(font-lock-add-keywords
 'org-mode
 '(("\\[\\(X\\)\\]"
   (0 (progn (compose-region (match-beginning 1) (match-end 1) "><") nil)))
  ))

(font-lock-add-keywords
 nil
 '(("\\[\\(X\\)\\]"
   (0 (progn (compose-region (match-beginning 1) (match-end 1) "abcd") nil)))
  ))

;; (font-lock-mode 1)
;; (font-lock-mode 0)
;; [X]






#####
#
# Reproducible research
# 2012feb23
#
#####

# «reproducible-research»  (to ".reproducible-research")
# http://www.jstatsoft.org/v46/i03
# http://www.jstatsoft.org/v46/i03/paper
# http://www.google.com/search?q=org+reproducible+research
# http://reproducibleresearch.net/index.php/Main_Page
# http://www.reproducibleresearch.net/blog/

# From:
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00622.html
#
#   Some people on the list might like to see the short (13 min)
#   segment on Duke University's recent problems with reproducible
#   research
#     http://www.cbsnews.com/video/watch/?id=7398476n&tag=contentMain;contentAux
#   and the heroic efforts to uncover what had been done (37 min):
#     http://videolectures.net/cancerbioinformatics2010_baggerly_irrh/





#####
#
# Exporting to HTML
# 2012mar12
#
#####

# «export-to-html»  (to ".export-to-html")
# (find-orgnode "Markup")
# (find-orgnode "Exporting")
# (find-orgnode "HTML export")
# (find-orgnode "HTML Export commands" "`C-c C-e h'")
# (find-orgnode "HTML Export commands" "`C-c C-e b'")
# (find-orgnode "CSS support")
# (find-orgnode "CSS support" "#+STYLE:")
# (find-orgnode "Literal examples" "#+BEGIN_SRC emacs-lisp")
# (find-efunctiondescr 'org-export)

# http://www.emacswiki.org/emacs/DavidOtoole
# http://dto.github.com/notebook/orgtutorial.html
# http://dto.github.com/notebook/orgtutorial.org
# http://dto.github.com/eon.css

# http://florian.adamsky.it/about/
# http://stevelosh.com/blog/

# ***
# It seems to have a version of htmlize in it...




#####
#
# export via sexps
# 2015jan23
#
#####

# «export-via-sexp» (to ".export-via-sexp")
# (find-efunctiondescr 'org-export-dispatch)
# (find-efunction 'org-export-dispatch)
# (find-evardescr 'org-export-dispatch-use-expert-ui)
# (find-efunctiondescr 'org-export--dispatch-ui)
# (find-efunction 'org-export--dispatch-ui)





#####
#
# Carsten Dominik's video on Google TechTalks
# 2012mar12
#
#####

# «carsten-video»  (to ".carsten-video")
# «carsten-2008» (to ".carsten-2008")
# (find-org-intro)

# http://orgmode.org/talks.html
# http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.html
# http://www.youtube.com/watch?v=oJTwQvgfgMM Emacs Org-mode - a system for note-taking and project planning
# (find-youtubedl-links "/sda5/videos/" "Emacs_Org-mode_-_a_system_for_note-taking_and_project_planning" "oJTwQvgfgMM" ".flv" "orgcarsten")

# (find-mplayer  "/sda5/videos/Emacs_Org-mode_-_a_system_for_note-taking_and_project_planning-oJTwQvgfgMM.flv")
# (code-mplayer "orgcarstenvideo" "/sda5/videos/Emacs_Org-mode_-_a_system_for_note-taking_and_project_planning-oJTwQvgfgMM.flv")
# (find-orgcarstenvideo)
# (find-orgcarstenvideo "13:30" "TODO")
# (find-orgcarstenvideo "18:30" "Column view")

(eev-avadj-mode 1)
(find-orgcarstenvideo t)

1:20 Carsten Start
1:50 History
2:15 Working with Text Files
3:58 Notes (not tasks) based project planning
5:50 Outline mode - fixing
9:56 Structure Editing
11:00 Note taking other supports
13:35 Meta data Intro
14:57 tags
15:26 Timeplanning
15:53 Properties
16:02 Meta data propagation
16:49 Special Meta entry interfaces
17:55 DateTime interface
18:24 Column view
19:20 Capture with remember
23:02 Collect and Display
23:52 Sparse tree
25:47 Agenda view
27:27 Exporting and publishing
29:05 Tables
31:34 Calc
32:44 Radio tables
34:53 Context sensitive keys
38:13 How is org used
40:55 Evolved Software software
Thanks to Rustom Mody for this timeline.




#####
#
# Carsten Dominik's talk at the Max Planck Institute
# 2013sep28
#
#####

# «carsten-mak-planck» (to ".carsten-mak-planck")

http://www.nf.mpg.de/orgmode/guest-talk-dominik.html
http://ftp5.gwdg.de/pub/misc/videos/emacs_org_mode/orgmode-mpinf-2010-c1.ogg

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd /sda5/videos/
wget http://ftp5.gwdg.de/pub/misc/videos/emacs_org_mode/orgmode-mpinf-2010-c1.ogg

;; (find-fline "/sda5/videos/")
(code-video "orgmode2010" "/sda5/videos/orgmode-mpinf-2010-c1.ogg")
;; (find-orgmode2010)
;; (find-orgmode2010 "0:00")
;; (find-orgmode2010 t)

(eev-avadj-mode 1)
(find-orgcarstenvideo t)








#####
#
# Links to video offsets
# 2013sep28
#
#####

# «video-offsets» (to ".video-offsets")

<edrx> anyone knows how the time offsets like "=2:15=" in
       http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.org.html
       are converted to links to a youtube video (Google Tech Talk
       by Carsten Dominik, 2008)?
<edrx> I want to know how standard that is, and how the htmlizer
       knew that they had to point to
       http://www.youtube.com/watch?v=oJTwQvgfgMM ...
<edrx> I have a similar feature in eev-mode and I am trying to
       write more on how to integrate eev and org...
<edrx> btw, how do I configure org to run the sexp (funcall
       ee-audiovideo-last "1:23") when I follow a link like
       "=1:23=" in an org file?






#####
#
# LaTeX header
# 2012mar21
#
#####

# «latex-header»  (to ".latex-header")

I want to set the latex-head for latex exporting, I use
*org-export-latex-append-header*,but it seem not used by
*org-preview-latex-fragment* . is there any other way?
simple way?

#+begin_latex
\ifxetex    % xelatex
 \usepackage[xetex]{hyperref}
\else
 \ifpdf    % pdflatex
   \usepackage[pdftex,unicode]{hyperref}
 \else     % dvipdfmx or dvips
   \usepackage[dvipdfmx,unicode]{hyperref}
   %\usepackage[ps2pdf,unicode]{hyperref}
 \fi
\fi

\ifxetex\else\ifpdf\else
 % pdftex 3.1415926-1.40.10-2.2 has trouble with it
 \InputIfFileExists{zhwinfonts.tex}{}{}
\fi\fi
#+end_latex

#+begin_src emacs-lisp
(setq  org-export-latex-append-header
      "
\\ifxetex    % xelatex
 \\usepackage[hyperref,UTF8,nofonts]{ctex}
 \\setCJKmainfont[ItalicFont={AR PL UKai CN}]{AR PL UMing CN}
 \\setCJKsansfont{WenQuanYi Zen Hei}
 \\setCJKmonofont{WenQuanYi Zen Hei}
 \\usepackage[xetex]{hyperref}
\\else
 \\ifpdf    % pdflatex
   \\usepackage[pdftex,unicode]{hyperref}
 \\else     % dvipdfmx or dvips
   \\usepackage[dvipdfmx,unicode]{hyperref}
   %\\usepackage[ps2pdf,unicode]{hyperref}
 \\fi
\\fi

\\ifxetex\\else\\ifpdf\\else
 % pdftex 3.1415926-1.40.10-2.2 has trouble with it
 \\InputIfFileExists{zhwinfonts.tex}{}{}
\\fi\\fi
")
#+end_src




#####
#
# An ee-goto-position bug (it jumps to hidden regions)
# 2012mar21
#
#####

# «ee-goto-position-bug»  (to ".ee-goto-position-bug")
# (find-fline "~/ORG/index.org" "ee-goto-postion bug")
# (find-fline "~/ORG/index.org" "ee-goto-postion bug" "test")





#####
#
# TAB for inserting templates
# 2012mar29
#
#####

# «tab-templates»  (to ".tab-templates")

<edrx> I just read about the "< e TAB" trick to insert a
       #+BEGIN_EXAMPLE / #+END_EXAMPLE pair in the mailing list,
       at:
       http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg01182.html
<edrx> but I can't find anything about it in the manual... anyone
       knows where this is described?
<edrx> (source code pointers would be great too)

# (find-orgnode "Completion")
# (find-orgnode "Remember templates")
# (find-efunction 'org-cycle)
# (find-efile "org/org.el")
# (find-egrep "grep -nH -e EXAMPLE org/*.el")
# (find-efile "org/org.el" ";;;; Completion")
# (find-evariable 'org-additional-option-like-keywords)
# (find-efunction 'org-complete)
# (find-efunction 'org-complete "org-additional-option-like-keywords")



#####
#
# Papers about org-mode
# 2012apr16
#
#####

# «papers-about-org»  (to ".papers-about-org")
# This thread:
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00394.html




#####
#
# org-texinfo
# 2012jul19
#
#####

# «org-texinfo»  (to ".org-texinfo")
# (find-es "texinfo" "org-texinfo")
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-07/msg00572.html




#####
#
# Thunderbird / Thunderlink
# 2012dec08
#
#####

# «thunderlink» (to ".thunderlink")
# http://lists.gnu.org/archive/html/emacs-orgmode/2012-12/msg00231.html
# https://addons.mozilla.org/de/thunderbird/addon/thunderlink/




#####
#
# TODO and DONE
# 2013jan04
#
#####

# «TODO-and-DONE» (to ".TODO-and-DONE")
# (eek "M-h M-k C-c C-t  ;; org-todo")
# (find-orgnode "TODO basics")
# (find-orgnode "TODO extensions")
# (find-orgnode "Faces for TODO keywords")
# (find-orgnode "Closing items")
# (find-evardescr 'org-log-done)

# (find-anggfile "ORG/genero.org" "#+TODO:")
# (find-orgnode "Per-file keywords")
# (find-orgnode "Faces for TODO keywords")
#+TODO: TODO | DONE | HALF




#####
#
# Promote and demote
# 2013jan10
#
#####

# «promote-and-demote» (to ".promote-and-demote")
# (find-efunctiondescr 'org-shiftmetaright)
# (find-orgnode "Structure editing" "`M-S-<left>'")



#####
#
# to-org and to-latex
# 2013apr16
#
#####

# «to-org-and-to-latex» (to ".to-org-and-to-latex")
# (find-anggfile "quadradinho/quadradinho-a5.tex" "to-org")

(defun ee-replace-regexp-all (regexp replacement)
  (save-excursion
    (goto-char (point-min))
     (while (re-search-forward regexp nil t)
       (replace-match replacement))))

(defun to-org () (interactive)
  (ee-replace-regexp-all "\n% \\(*+\\) " "\n\\1 % ")
  (org-mode))

(defun to-latex () (interactive)
  (latex-mode)
  (ee-replace-regexp-all "\n\\(*+\\) % " "\n% \\1 "))




#####
#
# John Kitchin's presentation
# 2013sep27
#
#####

# «kitchin-scipy-org» (to ".kitchin-scipy-org")

> I don't know if this has been linked to before on this mailing
> list.  At SciPy 2013, John Kitchin has made an amazing
> demonstration of Org-mode as a tool for reproducible research.
> Really amazing to watch.
>
> http://www.youtube.com/watch?v=1-dUkyn_fZA
>




#####
#
# Time offsets
# 2013oct01
#
#####

# «time-offsets» (to ".time-offsets")
# My message:
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg01372.html
# http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.html
# http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.org.html
# Answer:
# http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00012.html
# http://orgmode.org/worg/org-hacks.html
# http://orgmode.org/worg/org-hacks.html#sec-3-12
https://github.com/dbrock/bongo
http://orgmode.org/worg/code/elisp/org-player.el



#####
#
# Easy templates
# 2013dec08
#
#####

# «easy-templates» (to ".easy-templates")
# (find-orgnode "Paragraphs")
# (find-orgnode "Easy Templates")
# (find-orgnode "Easy Templates" "<e")
# (find-elongkey-links "<tab>  ;; org-cycle")
# (find-efunctiondescr 'org-cycle)
# (find-efunction 'org-cycle)
# (find-egrep "grep -nH -e VERSE org/*.el")
# (find-egrep "grep -nH -e org-structure-template-alist org/*.el")
# (find-evardescr 'org-structure-template-alist)
# (find-evariable 'org-structure-template-alist)
# (find-efunction 'org-try-structure-completion)

# (setq last-kbd-macro (kbd "C-w #+BEGIN_VERSE RET C-y #+END_VERSE RET"))
# (find-angg "ORG/lyrics.org")



#####
#
# audio blocks
# 2013dec09
#
#####

# «audio-blocks» (to ".audio-blocks")
# (find-orgnode "Quoting HTML tags" "#+BEGIN_HTML")

# (find-TH "html5-audio")
# http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.html




#####
#
# Adding new tags
# 2013dec09
#
#####

# «adding-new-tags» (to ".adding-new-tags")
# (to "export-to-html")
# (find-egrep "grep -niH -e mathjax org/*.el")




#####
#
# org-download
# 2014feb26
#
#####

# «org-download» (to ".org-download")
# http://lists.gnu.org/archive/html/emacs-orgmode/2014-02/msg00867.html
(require 'org-download)
https://github.com/abo-abo/org-download
https://github.com/abo-abo/org-download/blob/master/org-download.el





#####
#
# BibTeX
# 2014jun25
#
#####

# «bibtex» (to ".bibtex")
# http://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg00884.html
# https://vimeo.com/99167082 Emacs Org-mode Bibtex Screencast




#####
#
# Org syntax
# 2014oct03
#
#####

# «org-syntax» (to ".org-syntax")
# (find-node "(org)Org syntax")
# http://orgmode.org/worg/dev/org-syntax.html




#####
#
# Redirecting stderr to stdout with babel/shell
# 2015jan11
#
#####

# «redirecting-stderr» (to ".redirecting-stderr")
# http://lists.gnu.org/archive/html/emacs-orgmode/2015-01/msg00001.html
# http://lists.gnu.org/archive/html/emacs-orgmode/2015-01/msg00212.html




#####
#
# Tikz in Org for newbies
# 2015feb18
#
#####

# «tikz-in-org-for-newbies» (to ".tikz-in-org-for-newbies")
# http://lists.gnu.org/archive/html/emacs-orgmode/2015-02/msg00645.html eric
# http://lists.gnu.org/archive/html/emacs-orgmode/2015-02/msg00655.html edrx
# https://mail.google.com/mail/ca/u/0/#inbox/14b9caf302bde775

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cat > /tmp/t.org <<'%%%'
# To export to LaTeX and open the PDF, type `C-c C-e l o'.
#
# Note that you may have to add latex support to babel
# to make the tikzpicture block work...
# see: (info "(org)Languages")
# try: (org-babel-do-load-languages 'org-babel-load-languages '((latex . t)))
#
# To disable to question "Evaluate this latex code block on your system?",
# see: (info "(org)Code evaluation security")
# try: (setq org-confirm-babel-evaluate nil)

#+latex_header: \usepackage{tikz}
* tikz with babel
This example generates a figure using tikz and exports it as raw latex

#+begin_src latex :results latex raw :exports results
  \begin{tikzpicture}
    \node[red!50!black] (a) {A};
    \node (b) [right of=a] {B};
    \draw[->] (a) -- (b);
  \end{tikzpicture}
#+end_src

Alternatively, you can put tikz inline:
#+latex: \tikz \draw[rotate=30] (0,0) ellipse (6pt and 3pt);
which should appear in the middle of the sentence.
%%%

* (find-fline "/tmp/t.org")




#####
#
# Parsing Org files with Lua and Lpeg
# 2015may10
#
#####

# «parse-org-with-lua» (to ".parse-org-with-lua")
# (find-es "lua-intro" "lpeg-quickref")
# (find-angg "LUA/lua50init.lua" "loadlpeg")
# (find-lpegw3m "lpeg.html#cap-g")
# (find-lpegw3m "lpeg.html#cap-t")

* (eepitch-lua51)
* (eepitch-kill)
* (eepitch-lua51)
require "lpeg"
lpeg.test = function (pat, str, ...) PP(pat:C():match(str, ...)) end
P     = lpeg.P
S     = lpeg.S
C     = lpeg.C
sp    = P" "^1
Stars = (P"*"^1):Cg"stars"
Big   = sp*P(":big:"):Cg"big"
Todo  = sp*(P"DONE" + P"HALF" + P"TODO"):Cg"todo"
Rest  = sp*(P(1)^0):Cg"rest"
Pat   = (Stars*(Big+Todo)^0*Rest):Ct()

Pat:test "* :big: TODO why a is b"
Pat:test "**      DONE why b is c"
Pat:test "**           foo"


* (eepitch-lua51)
* (eepitch-kill)
* (eepitch-lua51)
require "lpeg"
--             (find-fline "~/ORG/istanbul.org")
bigstr = readfile "/home/edrx/ORG/istanbul.org"
P     = lpeg.P
S     = lpeg.S
C     = lpeg.C
NL    = S "\n"
NonNL = 1 - NL
Line         = NonNL^0 * NL 
StarLine     = P"*"^1 * P" " * NonNL^1 * Line
NonStarLine  = (-StarLine) * Line
NonStarLines = (NonStarLine^0):C()
Block        = (StarLine:C() * (NonStarLine^0):C()):Ct()
Blocks       = (Block^0):Ct()

lpeg.test = function (pat, str, ...) PP(pat:C():match(str, ...)) end

pre, blocks = (NonStarLines * Blocks):match(bigstr)
PP(pre)
PP(blocks[1])
PP(blocks[2])
for _,b in ipairs(blocks) do printf("%s", b[1]) end




#####
#
# Org compact guide
# 2015aug09
#
#####

# «org-compact-guide» (to ".org-compact-guide")
# http://orgmode.org/cgit.cgi/org-mode.git/plain/doc/orgguide.texi




#####
#
# org-ref
# 2015dec22
#
#####

# «org-ref» (to ".org-ref")
# http://kitchingroup.cheme.cmu.edu/blog/2015/12/22/org-ref-is-on-Melpa/




#####
#
# M-up and M-down
#
#####

# «M-up-and-M-down» (to ".M-up-and-M-down")
# (find-efunctiondescr 'org-metadown)
# (find-efunctiondescr 'org-move-subtree-down)
# (find-efunctiondescr 'org-move-item-down)
# (find-orgnode "Structure editing" "org-move-subtree-down")
# (find-efunction 'org-move-subtree-down)











# [O] Wolfram Language versus org mode literate:
# http://lists.gnu.org/archive/html/emacs-orgmode/2014-02/msg01020.html




#####
#
# Conkeror webjumps
# 2013oct01
#
#####

Useful webjumps for conkeror
If you are using the conkeror browser, maybe you want to put this into your ~/.conkerorrc file:

define_webjump("orglist", "http://search.gmane.org/?query=%s&group=gmane.emacs.orgmode");
define_webjump("worg", "http://www.google.com/cse?cx=002987994228320350715%3Az4glpcrritm&ie=UTF-8&q=%s&sa=Search&siteurl=orgmode.org%2Fworg%2F");

http://conkeror.org/Webjumps




# Firefox extension for org-protocol and org-capture:
# http://lists.gnu.org/archive/html/emacs-orgmode/2014-02/msg00750.html
# http://chadok.info/firefox-org-capture/



Hi,

I recently switched from having several Graphviz files to inlining
them via Babel in my source Org file. However, I noticed something
that might either be strange, or might just mean I don't yet
understand some stuff (as a relative newbie): I usually follow this
pattern to include my graphics:

    #+begin_center
    #+attr_html: height="350"
    #+attr_latex: width=0.5\textwidth
    [[./img/foo.png]]

    This is the caption for foo.png
    #+end_center

But if I try to replace this [[./img/foo.png]] with a
«#+begin_src dot» block, it does not get picked up by Babel (and ends
up in the generated document as a syntax-highlighted block  So,
clearly, org-mode understands it's a source block, but Babel ignores
it).

I currently commented out the #+begin_center and #+end_center
statements, but I'd really like to have them back. Or, at least, to
find a more proper way to mark the images (and captions!) as material
that should be distinguished from the flowing text. Something along
the lines of the LaTeX «figure» environment.

Thanks,








What's new:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-12/msg00236.html


;; (find-orgsrcfile "lisp/ob-table.el" "defmacro sbe ")

Minimal overhead Org-mode blogging system:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00056.html

# https://github.com/punchagan/blog-files/blob/master/README.org
# (find-fline "/sda5/videos/org-mode/")

cd /sda5/videos/org-mode/
youtube-dl -t 'http://www.youtube.com/watch?v=oJTwQvgfgMM'
youtube-dl -t 'http://www.youtube.com/watch?v=V-gVWT3iMXY'
youtube-dl -t 'http://www.youtube.com/watch?v=6W82EdwQhxU'
youtube-dl -t 'http://www.youtube.com/watch?v=eoyi2vrsWow'

http://www.emacswiki.org/emacs/org-occur-goto.el
http://orgmode.org/worg/org-tutorials/advanced-searching.html

http://dl.dropbox.com/u/2440/org-tree-slide/Voila_Capture12.mov
http://orgmode.org/worg/org-tutorials/org-screencasts/org-mode-google-tech-talk.html

# (find-node "(org)Tags")

http://osiux.com/visualizando-org-mode-con-gnuplot.txt
http://pub.osiux.com/org-mode/plot.org

# (find-orgsrcfile "lisp/ob-tangle.el")

#+begin_src sh
for np in $(seq 1 32)
do
  echo $np
done
#+end_src

https://github.com/vxc/org-mode-ws
http://pascal.iiit.ac.in/~itws2
https://github.com/eschulte/babel-presentation/  late march 2012

# (find-node "(org)Column width and alignment" "clipped")

http://orgmode.org/worg/org-hacks.html

http://www.youtube.com/watch?v=6W82EdwQhxU An overview of Org Mode
http://www.youtube.com/watch?v=nsGYet02bEk Org Mode in Depth:Managing Structure
http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01843.html


http://awarewriter.wordpress.com/2012/03/04/org-mode-for-writing-structure-focus/
http://awarewriter.wordpress.com/2012/02/27/monday-musings-org-mode-for-writing-ii/
http://emacslife.wordpress.com/2011/07/07/org-mode-and-novel-writing/
http://scienceblogs.com/gregladen/2011/07/22/emacs-for-writers-org-mode/

https://github.com/novoid/org-mode-workshop/blob/master/featureshow/org-mode-teaser.org
http://glt13-programm.linuxtage.at/events/161.de.html
https://github.com/novoid/Memacs

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

http://www.docear.org/2014/01/15/comprehensive-comparison-of-reference-managers-mendeley-vs-zotero-vs-docear/
https://en.wikipedia.org/wiki/List_of_personal_information_managers
http://www.youtube.com/watch?v=1Ct4O0Ect18 How Mendeley can help your research

;; Export to markdown:
;;   (require 'ox-md)
;; or:
;;   (add-to-list 'org-export-backends 'md)


`(insert (org-make-link-string LINK DESCRIPTION))' should do what you


Videos:
http://kitchingroup.cheme.cmu.edu/blog/2014/07/12/Org-mode-is-awesome/

http://kitchingroup.cheme.cmu.edu/blog/2015/07/06/Indexing-headlines-in-org-files-with-swish-e-with-laser-sharp-results/
https://mail.google.com/mail/ca/u/0/#inbox/14e86ca7be82000d
https://www.youtube.com/channel/UCQp2VLAOlvq142YN3JO3y8w John Kitchin

http://kitchingroup.cheme.cmu.edu/blog/2015/11/21/Insert-org-entities-into-org-mode-with-helm/

https://github.com/vikasrawal/endingmalnutrition book

http://ehneilsen.net/notebook/orgExamples/org-examples.html ***
https://github.com/bzg/emacs-training ******




#  Local Variables:
#  coding:               raw-text-unix
#  ee-delimiter-hash:    "\n#*\n"
#  ee-delimiter-percent: "\n%*\n"
#  ee-anchor-format:     "«%s»"
#  End: