Search code examples
emacselisppastie

500 Internal Server error in pastie.el


Im using the pastie.el file located at http://www.emacswiki.org/emacs/download/pastie.el. This is supposed to help us post code to pastie.org directly from emacs. If the file im pasting contains "<" symbol then i get a 500 Internal Server Error message in emacs,because of which im unable to post ruby files, php files etc. Any way to fix this in the elisp file ?

Thank You


Solution

  • There is a problem with xml escaping in the pastie.el located on emacswiki.org. I found a working version at https://bitbucket.org/sid0/.emacs/raw/837539ad28ca/elisp-files/pastie.el .