I've been using emacs-pastebin but all my pastebins wind up as plain text. Is there a way to set emacs-pastebin so that pastebins are set to LISP format by default?
Better yet, is there a pastebin site that can disentangle Emacs discussions and highlight syntax correctly in lines based on SRC tags like the following, including both the code snippet and the non-lisp commentary?
* org-toggle-todo-heading Here's what I have so far. See if it works for you. #+BEGIN_SRC emacs-lisp (defun org-toggle-todo-heading () "Toggles the current line between a non-heading and TODO heading." (interactive) (let ((is-heading)) (save-excursion (forward-line 0) (when (looking-at "^\\*") (setq is-heading t))) (if is-heading (progn (org-todo 'none) ; remove TODO (org-toggle-heading)) ; remove heading (progn (org-toggle-heading) ; convert to heading (org-todo 'nextset))))) ; add TODO #+END_SRC #+END_SRC I have it bound to M-S-8.
And of course, I want be able to post regions/buffers to the site from within Emacs.