<?xml version="1.0" encoding="utf8" ?>
<rss version="2.0" 
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" 
   xmlns:html="http://www.w3.org/1999/html" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
   <title>No Warranty Expressed Or Implied</title>
   <link>http://johnp.net/blog</link>
   <description>Lisp, synthesisers, Web 3D &amp; stuff.</description>
   <language>en</language>
   <copyright>Copyright &#00a9; 2011 John Pallister</copyright>
   <ttl>60</ttl>
   <pubDate>Tue, 02 Sep 2008 10:47 GMT</pubDate>
   <managingEditor>me@johnp.net</managingEditor>
   <generator>PyBlosxom http://pyblosxom.sourceforge.net/ 1.4.3 01/10/2008</generator>
<item>
   <title>tracs-wiki.el and TRAMP</title>
   <guid isPermaLink="false">emacs/tracs-wiki-and-tramp</guid>
   <link>http://johnp.net/blog/emacs/tracs-wiki-and-tramp.html</link>
   <description><![CDATA[

<p>
  I have managed to get <a
  href="http://www.meadowy.org/~gotoh/trac-wiki/trac-wiki.el">trac-wiki.el</a>
  and <a href="http://savannah.gnu.org/projects/tramp">TRAMP</a> set
  up under Emacs 23.0 on Windows. This means that I can now edit <a
  href="http://trac.edgewall.com/">Trac</a> wiki pages via XML-RPC and
  edit these blog posts via SSH. Sweet!
</p>

<p>References:</p>

<ul>
  <li>
    <a href="http://www.meadowy.org/~gotoh/trac-wiki/trac-wiki.el">trac-wiki.el</a>
    by Shun-ichi Goto.
  </li>
  <li>
    <a href="http://cvs.savannah.gnu.org/viewvc/emacsweblogs/weblogger/lisp/xml-rpc.el">xml-rpc.el</a>
  </li>
  <li>
    The <a href="http://trac-hacks.org/wiki/XmlRpcPlugin">Trac XML-RPC Plugin</a>
  </li>
</ul>

<p><code>.emacs</code> configuration:</p>

<pre>
(add-to-list 'load-path "D:/src/other-lisp/emacs-lisp")
(require 'trac-wiki)

(trac-wiki-define-project "tracs3" "http://tracs3.synchromesh.com/trac/" t)

(let ((auth (base64-encode-string (format "%s:%s" "&lt;my username&gt;" "&lt;my password&gt;"))))
  (set (symbol-value 'url-basic-auth-storage)
       `(("tracs3.synchromesh.com:80" ("Restricted Access" . ,auth)))))

(autoload 'trac-wiki "trac-wiki" "Trac wiki editing entry-point." t)
</pre>

<p>My <code>.emacs</code> configuration for TRAMP is:</p>

<pre>
(require 'tramp)

(setq tramp-default-method "pscp"
      tramp-default-host   "synchromesh.com")

(add-to-list 'tramp-default-user-alist
	     '("pscp" ".*\\.synchromesh\\.com\\'" "&lt;my username&gt;"))
</pre>

<p>
  Hopefully this means I'll update both the TRaCS 3 wiki and this blog
  a bit more frequently...
</p>
]]></description>
   <category domain="http://johnp.net/blog"></category>
   <pubDate>Tue, 02 Sep 2008 10:47 GMT</pubDate>
</item>
</channel>
</rss>

