Github: alt.sources.* rides again, on steroids.

It’s back to he days of alt.sources.*.   With the advent of github, I seem to be building my favorite tools  from sources again most of the time.   They work better, faster with no waiting on packagers or vendors.

For something I was working on, I wound up having to clone part of a git tree into a new repository, which turned out to be surprisingly hard. This helped:

But it lead to  pulling the source for for git itself to have git-subtree work

and I’ve already decided that building  with the demise of Damien Cassou’s emacs snapshots, the best route is to build emacs from the latest sources, and for various reasons the same goes for org-mode

Things seem to have come full circle.   Back before RPM and apt-get we used to pull the latest source out of the local alt.sources.* Usenet archives and build everything (to this day I have a ~/src/ or ~/build/ directory on many  systems, but it’s migrating to ~/git/${GITHUB_USERNAME}/package




Atom blogging via BPE

BPE Installation

Install Google Client commandline/API tools

On Ubuntu try

sudo apt-get install googlecl

Configure package

For me this looked like

cd ~src
bzunzip2 g-client.tar.bz2
tar -xvf g-client.tar
cd src/g-client
make config

install BPE form packages

BPE posting instructions

  • open an .org file
  • C-c C-i to insert a template
  • write the post
  • C-c C-p to posts
  • posts as draft
  • bug: have to insert a ” tagname” after “#+TAG:” in template.

BPE configuraiton code

; set up emacs interface to googlecl
(add-to-list 'load-path "~/src/g-client" t)
(load-library "g")

; setup bpe
(require 'bpe)
(require 'htmlize nil 'noerror) ; to fontify source code block on your blog.
(setq bpe:account   "")
(setq bpe:blog-name "usefulfoo")
(define-key org-mode-map (kbd "C-c C-p") 'bpe:post-article)
(define-key org-mode-map (kbd "C-c C-i") 'bpe:insert-template)
;; For Japanese, default is $LANG environment variable.
;(setq bpe:lang "ja_JP.UTF-8")

WordPress blogging

org2blog installation

org2blog posting instructions

  • Log in M-x org2blog/wp-login
  • Create a posting template M-x org2blog/wp-new-entry
  • post buffer as draft C-c d M-x org2blog/wp-post-buffer
  • publish buffer C-c p C-u M-x org2blog/wp-post-buffer
  • post buffer as page draft C-c D M-x org2blog/wp-post-buffer-as-page
  • publish buffer as page C-c P C-u M-x org2blog/wp-post-buffer-as-page

org2blog learning

play with it

learn how to post to different blogs

learn about tags, links, categories, etc.

org2blog configuration code

(setq load-path (cons "~/.emacs.d/elpa/org2blog-20130704.908/" load-path))
(require 'org2blog-autoloads)

(setq org2blog/wp-blog-alist
         :url ""
         :username "eludom"
         :default-title "Goodbye World"
         :default-categories ("org2blog" "emacs")
         :tags-as-categories nil)
         :url ""
         :username "eludom"
         :default-title "Set a title next time"
         :default-categories ("word" "vi")
         :tags-as-categories nil)
(message " finished.")