(In late March 2010 I installed the latest and greatest version of git. It has some new rules about configuration, use of bare git repositories, warnings and errors, etc. The intent is to avoid mistaken destruction of working code by forcing the master repository to be in a different directory than the working copies. So, I needed to create a bare git repository on my master Linux system. Then all the machines would have working "org" directories that push and pull to the master.
[2010-03-30 Tue 11:04] Git rebasing
I created an "org-master" that contains the master. I made sure everything was checked in, then renamed "org" to "org-master". I then deleted the org directories and recreated them by cloning. Also, updated the .emacs on the master machine to point back to org as the working directory. Only git knows that there is an org-master.
The git commands built into emacs have some sort of bug. The update to latest generated an error rather than updating a file. I should investigate this at some point. Right now, emacs automation does not matter.
[2010-03-31 Wed 09:23] Git rebasing
I did the rebasing of org onto a new directory. It went reasonably well. The process was:
- I made sure that all the computers were fully synched and consistent with old git archive.
- I renamed the master directory to be "org-master"
- I deleted the old org directories and cloned them from org-master. Nice thing about git is that the whole history survives just fine.
[2010-04-05 Mon 10:56] Org - spreadsheet mode (emacs calc)
I tried this today. It reminded me of the old supercalc and other predecessors to the modern spreadsheets. It's not as easy to use as a modern sheet, but it integrates rather well into emacs and org. So I created a little table of computations rather easily. I did make one mistake by using "=" rather than ":=" for the formulas. "=" is a column formula that applies to the entire column. I didn't notice until later when I went to edit something. The error was minor and now I'll remember.
[2010-04-20 Tue 07:52] Journal Conversion
(I discovered the "date-tree" facility while looking for something in the new manual. It's a rather nice addition that organizes notes by date into a hierarchy. I modified the .emacs to make it easier to gather notes. My .emacs now has remember config lines of:
(setq org-remember-templates
'((?t "* TODO %?\n %i\n %a" "~/org/TODO.org")
(?j "* %U %?\n\n %i\n %a" "~/org/JOURNAL.org" date-tree)
(?i "* %U %?\n\n %i\n %a" "~/org/ihe.org" date-tree)
(?d "* %U %?\n\n %i\n %a" "~/org/dicom.org" date-tree)
(?n "* %U %^{Title}\n %?%i\n %a" "~/org/idea.org" date-tree)))
It would be nice if I could have multiple date trees in one file. I would like to have a file for one organization, e.g., DICOM, and then have a date tree for my meeting and tcon notes for each working group. For now, it's one tree for all of DICOM. I looked at the code and it's moderately complex modifications to have another level of hierarchy like that. I don't have time to make that kind of changes.)
The date tree stuff seems to be working OK. Converting from the old form to the new form by hand is not that bad. The writing of lisp to do it is more work than doing it by hand. This manual re-organizing is also a good review of past ideas.