- October, 2008
-
Mon Oct 20 2008
I woke up rather late today (around 8 AM). I have been suffering from back pain for the past 3 days. Hopefully, it should get better tomorrow. This has made me miss my workout.
Today I started on the G. M. Diet to reduce my weight. I have been eating fruit for the whole day. This is supposed to help the body to detox. I did not have a carving for any other food. I hope I am able to get through the one week of this diet plan successfully.
Surprisingly, it rained a lot in the afternoon today, but the weather was pleasant.
Defined tags for this entry: today -
lunatech-journal.el
I have created a emacs major mode, called lunatech-journal, that I use for blogging. It is a derived mode from muse-mode, an excellent mode for writing and publishing.
Currently, it has following functions defined
lunatech-journal-skeleton
- loads a skeleton for blogginglunatech-journal-show-hints
- shows a buffer with questions to help me blog about my daylunatech-journal-make-html
- creates a html file from the muse-modelunatech-journal-preview
- allows me to preview my journal in the browser
I use a php script to post the blog entry to the website. To use it, I have the following in my .emacs file
(defun journal () (interactive) (find-file "~/blog/journal.muse") ) (require 'lunatech-journal) (add-to-list 'auto-mode-alist '("journal\\.muse\\'" . lunatech-journal-mode))
When I feel the need to blog, I do
M-x journal
, I get dropped into my journal file and I can blog.Links:
- lunatech-journal.el - the blogging mode
- Playing with your blog's xml-rpc interface shows the php script that I use to post entries to my blog
- MuseMode
Defined tags for this entry: geek stuff, programming
Page 1 of 1, totaling 2 entries