General

http://orgmode.org
http://emacs.wordpress.com/2008/07/17/org-from-the-horses-mouth/
http://emacslife.blogspot.com/2008/07/org-mode.html

 

 

init-file

Some keymaps and helper-code can be found as part of my dotfiles at https://github.com/MichaelPaulukonis/dot-emacs/blob/master/org-init.el

 

 

2013.05.13 Getting serious about using it

http://www.emacswiki.org/emacs/OrgMode

 

 

Dropbox

I’ve started an org-directory in Dropbox
Haven’t had any problems over the last two months (2013.07.18).

 

See also: EmacsWiki:DropBox

 

 

Tutorial

Org-Mode tutorial

 

NOTE: claims that marking a TODO as DONE will automatically time-stamp it closed.
It did not for me.

 

Based on this, I added the following to my config file to get this (time-stamp PLUS note):

 

;;; per http://orgmode.org/manual/Closing-items.html
(setq org-log-done 'time)
(setq org-log-done 'note)

 

 

getting the latest

I had to remove previous version of org that I found in my path. ugh
then add the repo to packages
roughly following notes @ http://orgmode.org/elpa.html

 

I had other issues, but mainly because marmalad was throwing an error; once that was removed from the package list, things worked fine.

 

Except now markdown export doesn’t work, and some other things are funky, mainly with a (invalid-function org-with-wide-buffer) error....

 

 

Using org-mode for journaling

Journaling with org-mode has some elisp code, but it appears to be for a single journal file, with new additions each day.
My own extended journal.el code subdivides into months folder and day files.
Modifying some of the journal code to create daily org-files might be what I want.
In the short term. It’s what I’m used to from 4+ years of using that journal, but may not be the best.

 

using org-mode as a day planner - is a much more complicated structure. I’ll look into it.

 

Daily org-file code, with some awkward keybindings, can be found at https://github.com/MichaelPaulukonis/dot-emacs/blob/master/org-init.el

 

 

Editing/inlining code with org-mode

http://orgmode.org/manual/Structure-of-code-blocks.html
http://orgmode.org/guide/Working-With-Source-Code.html
http://orgmode.org/worg/org-contrib/babel/intro.html

 

http://wenshanren.org/?p=334 which points out that the shortcut to start a code-block is <s TAB and also includes the language chart. (The shortcut is also pointed out in the literate programming link, above.)

 

Shortcuts

<s TAB to start a code block
C-c ' to edit the code block is a major-mode buffer

 

There is also an evaluation shortcut, but only elisp evaluation is enabled by default.

 

Literate programming and org-mode

http://justinlilly.com/emacs/literate_programming.html
How to Use Emacs Org-Babel Mode to Write Literate Programming Documents

 

sideways ref: Literate programming and my Emacs configuration file - Inspired by the Emacs Starter Kit, I set up my configuration file using Org-babel.

 

 

publishing/exporting with org-mode

markdown

http://orgmode.org/org.html#Markdown-export - for cutting-edge org-mode.

 

 

export controls

 

  • org-md-export-to-markdown - exports to a file (saved, and open in a new buffer)
  • org-md-export-as-markdown - exports to a new buffer (w/o saving)

 

I’ve updated to 8.0.3 but still can’t do markdown-export

 

[in an org-buffer]
org-md-export-as-markdown

 

Debugger entered--Lisp error: (invalid-function org-with-wide-buffer)
  org-with-wide-buffer(1 nil)
  #[(files templates) "\306\307eb\310\311\312\306#\205\223

[....]

 

UPDATE 2013.05.21: see EmacsWiki:OrgMode#publish where I found and entered some notes

 

Some of this is working (see markdown notes, above) -- I think my primary problem is that the tutorial doesn’t reflect the breaking-changed in org 8.0.3

 

voluminous update notes dump


** [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html][org-publish-html tutorial]]
*** tried the steps in the tutorial, setting things up as follows:

(require 'org-publish)
(setq org-publish-project-alist
      '(

        ;; ... add all the components here (see below)...
        ("org-notes"
         :base-directory "d:/dropbox/emacs/org/"
         :base-extension "org"
         :publishing-directory "d:/dropbox/emacs/html/"
         :recursive t
         :publishing-function org-html-publish-to-html
         :headline-levels 4             ; Just the default for this project.
         :auto-preamble t
         )

        ("org-static"
         :base-directory "d:/dropbox/emacs/org/"
         :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory "d:/dropbox/emacs/html/"
         :recursive t
         :publishing-function org-publish-attachment
         )

         ("org" :components ("org-notes" "org-static"))

        ))

*** executing the first one gives an error again:

Debugger entered--Lisp error: (file-error "Cannot open load file" "org-publish")
  require(org-publish)
  eval((require (quote org-publish)))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)


*** BUT...
*** If I change it to

(require 'ox-publish)

IT NOW WORKS.

**** well, no error defining things, anyway.

*** still can't publish:

**** Debugger entered--Lisp error: (void-function org-publish-org-to-html)

*** [[http://lists.gnu.org/archive/html/emacs-orgmode/2013-02/msg00694.html]] suggests that the issue is the new branch, which isn't fully documents. Q#$%@#$%@#$

*** "The publishing function should be: `org-html-publish-to-html'"

*** NOW I CAN PUBLISH EVERYTHING!!!!

*** "Now M-x org-publish-project RET org RET publishes everything recursively to ~/public_html/. Target directories are created, if they don't yet exist. "

**** yep. everything showed up

**** ideally, I'd want to publish a single page, or a segment from a page...

** see [[http://orgmode.org/worg/exporters/ox-overview.html][The New Org-mode Exporter Framework]]
 

 

 

trello to org-mode

trello-to-org-mode.el - convert trello json-file to org

 

 

Converting org-mode to pmwiki markup

Nothing really exists.
However, there are modes and notes on converting org to media wiki. which could be adapted:

 

A mediawiki export for Emacs org-mode
[[http://lists.gnu.org/archive/html/emacs-orgmode/2009-01/msg00420.html|a simple sed script which does a
very basic translation between org-mode and mediawiki.]]

 

 

http://www.pmwiki.org/wiki/Cookbook/WikiConversion some conversions, including HTML and Mediawiki to pmwiki

 

 

Don’t forget about https://github.com/emacs-pmwiki-mode

 

 

See Also

 

 

Tags

Emacs


 

Comments

Comment Page  

  Ashley   - 26.12.2015 - 00:50    
Those who are prone to any type of addiction are more likely to develop an Internet addiction, but it can happen to anyone at any time. There is a third choice, but we are not in the public eye. Another effect would be the lack of communication between the sex addict and God.

Quit Marijuana Addiction

 

Check out my web-site: [addicted to marijuana](https://www.youtube.com/watch?v=o1oxHwGwAns&autoplay=1 “addicted to marijuana”)

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: