tumblesocks

tumblesocks-mode - Tumblr Support for Emacs

http://i.imgur.com/9wroS.png

Tumblesocks is an Emacs tumblr client. With it, you can write posts, check your dashboard, and view blogs and notes.

Viewing blogs

The main entry point is tumblesocks-view-dashboard, which will open up a list of posts from your dashboard.

Use these keys to jump around:

Visiting each post:

Switching views:

Managing your posts:

Installing

If you have Emacs 24, you can install Tumblesocks from Marmalade the easy way by inserting the following into your emacs.d:

(setq package-archives
  '(("gnu" . "http://elpa.gnu.org/packages/")
    ("marmalade" . "http://marmalade-repo.org/packages/")))

Then, run M-x package-install tumblesocks, kick back, and skip to the next section.

If you instead want to add Tumblesocks to your Emacs manually, you must have these dependencies:

Add all of that to your load-path, and make sure (require 'tumblesocks) doesn’t complain.

If you’re on Windows, you may need extra libraries; see this ticket for details. In short:

If you’re on Linux, you shouldn’t have these problems.

How to connect Tumblesocks to your tumblr account

The first time you use Tumblesocks, you mist connect Emacs to your tumblr account. This process is a bit convoluted, but you only have to do it once.

First, add the following to your .emacs:

(require 'tumblesocks)
(setq tumblesocks-blog "YourBlogName.tumblr.com")

Apply the changes, either by running M-x eval-buffer or by restarting Emacs.

Then, run M-x tumblesocks-api-test-auth to connect Emacs to your Tumblr account.

Tumblr will open a webpage asking for access. Once you click Accept, you will receive a very long code. Copy+paste that back into your Emacs prompt (you can also use middle-click to do this).

If everything goes right, you will see a message like this in your minibuffer:

Hello, sneakygcr! Tumblesocks is working properly.

Troubleshooting

If anything goes wrong (typically “401 Not Authorized” errors), you can ask Tumblesocks to forget your key by issuing M-x tumblesocks-api-forget-authentication. Then use M-x tumblesocks-api-test-auth again to reconnect your Emacs to your Tumblr account.

If it won’t authorize in the first place and just says “Looks like something broke.” it might be the OAuth package wasn’t configured. Try to see if the variable oauth-nonce-function is set, if not add (setq oauth-nonce-function 'oauth-internal-make-nonce) to your .emacs.

Other “advanced” commands

If you have gumption, try these out: