<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
  <title>Shellarchive.co.uk</title>
  <link>http://www.shellarchive.co.uk</link>
  <description>&lt;p&gt;Emacs and rants and sometimes Emacs rants&lt;/p&gt;</description>
  <language>en-gb</language>
  <lastBuildDate>Mon, 26 Apr 2010 08:56:01 +0100</lastBuildDate>
  <generator>Rassmalog 12.0.1</generator>
    <item>
      <title>A bit of Magit movement</title>
      <link>http://www.shellarchive.co.uk/2010-04-25-a-bit-of-magit-movement.html</link>
      <guid>http://www.shellarchive.co.uk/2010-04-25-a-bit-of-magit-movement.html</guid>
      <pubDate>Sun, 25 Apr 2010 19:29:03 +0100</pubDate>
      <description>&lt;p&gt;Thought I&amp;#8217;d just drop a note about the work that&amp;#8217;s been quitely
happening in Magit recently. Development is still pottering along
and we&amp;#8217;ve added some cool stuff recently, so, hopefully with a
release on the way, here&amp;#8217;s a summary of what you&amp;#8217;ll get if you
download &lt;a href=&quot;http://gitorious.org/magit/mainline/blobs/raw/master/magit.el&quot;&gt;magit.el from
here&lt;/a&gt;:&lt;/p&gt;
&lt;h2&gt;A git-svn overhaul:&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Lots of bug fixes.&lt;/li&gt;
	&lt;li&gt;`magit-svn-find-rev&amp;#8217;&lt;/li&gt;
	&lt;li&gt;Hitting &amp;#8216;l&amp;#8217; in log-mode will append more log entries.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Log view overhaul:&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Looks prettier&lt;/li&gt;
	&lt;li&gt;Labels denote whether a ref is local, remote or a tag by colour.&lt;/li&gt;
	&lt;li&gt;`magit-log-grep&amp;#8217;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Branch view mode:&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Merge, switch to and delete branches from one window.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Modularisation:&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Some new minor modes: magit-commit-mode, magit-status-mode,
   magit-stash-mode, magit-log-mode, magit-reflog-mode,
   magit-diff-mode and magit-wazzup-mode.&lt;/li&gt;
	&lt;li&gt;Reasonable keybindings in each mode mean none of the alphabet is
   wasted on commands that don&amp;#8217;t act upon the items in the current
   view.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;General and the bigger of the bug fixes:&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Added `magit-omit-untracked-dir-contents&amp;#8217; to optionally stop
   magit listing everything in an untracked directory.&lt;/li&gt;
	&lt;li&gt;Make async git invocation work on cygwin.&lt;/li&gt;
	&lt;li&gt;Stash fixes:
	&lt;ul&gt;
		&lt;li&gt;Use sha1 to differetiate between stashes, not stash number.&lt;/li&gt;
		&lt;li&gt;Don&amp;#8217;t show empty &amp;#8220;magit-stash&amp;#8221; buffer.&lt;/li&gt;
		&lt;li&gt;Show the right buffer when showing stash.&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Show the graph in wazzup.&lt;/li&gt;
	&lt;li&gt;Add an rpm .spec file&lt;/li&gt;
	&lt;li&gt;Only start the server if it isn&amp;#8217;t running (old rewrite code)&lt;/li&gt;
	&lt;li&gt;Tramp should work much more reliably now.&lt;/li&gt;
	&lt;li&gt;C-u will now keep the index when stashing.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And loads of small fixes on top of all of this.&lt;/p&gt;</description>

        <category>magit</category>
        <category>vc</category>
        <category>version control</category>

        <comments>mailto:&#119;&#101;&#98;&#64;&#115;&#104;&#101;&#108;&#108;&#97;&#114;&#99;&#104;&#105;&#118;&#101;&#46;&#99;&#111;&#46;&#117;&#107;?subject=A%20bit%20of%20Magit%20movement&amp;body=http%3A%2F%2Fwww.shellarchive.co.uk%2F2010-04-25-a-bit-of-magit-movement.html</comments>
    </item>
    <item>
      <title>A Magit clone</title>
      <link>http://www.shellarchive.co.uk/2009-11-08-a-magit-clone.html</link>
      <guid>http://www.shellarchive.co.uk/2009-11-08-a-magit-clone.html</guid>
      <pubDate>Sun, 08 Nov 2009 18:55:46 +0000</pubDate>
      <description>&lt;p&gt;I&amp;#8217;ve got a clone of Magit which I&amp;#8217;ve been hacking away at. It&amp;#8217;s
mostly a bunch of git-svn fixes/features as that&amp;#8217;s what I use for
work but there&amp;#8217;s some other stuff that might be of interest. It
includes the following branches (all merged into their master at
&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone&quot;&gt;gitorious&lt;/a&gt;):&lt;/p&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/fancier-diffs&quot;&gt;fancier-diffs&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Some basic
highlighting of the commit sha and of the diff markers (just the
diff markers, not the whole line).&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/fancy-log-pt1&quot;&gt;fancy-log-pt1&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Some new
faces for the log buffer: magit-log-graph, magit-log-sha1,
magit-log-message, magit-log-head-label-remote,
magit-log-head-label-tags and magit-log-head-label-local. They should
give a clue as to what this branch is for&amp;#8230;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/git-svn-fixes-and-features&quot;&gt;git-svn-fixes-and-features&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Basically
makes git-svn work again.&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/squashable-merges&quot;&gt;squashable-merges&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Giving
a prefix arg to magit-merge will allow you to squash it
(handy for git-svn if your colleagues aren&amp;#8217;t used to seeing lots of
commits in trunk).&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/magit-completing-read&quot;&gt;magit-completing-read&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Lets
you use anything-completing-read or ido-completing-read for&amp;#8230;
completion.&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;&lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/commits/svn-find-rev&quot;&gt;svn-find-rev&lt;/a&gt;&lt;/dt&gt;
	&lt;dd&gt;Hitting N f
with prompt for an &lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; revision and give you the commit if it&amp;#8217;s in
the current branch. With a prefix arg you will be prompted for a
branch in which to look.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Like I said, all of the above is in master so you can just &lt;a href=&quot;http://gitorious.org/~philjackson/magit/philjacksons-reclone/blobs/raw/master/magit.el&quot;&gt;download
magit.el from there&lt;/a&gt; and
you&amp;#8217;ll get it all.&lt;/p&gt;</description>

        <category>emacs</category>
        <category>git</category>
        <category>magit</category>
        <category>vc</category>

        <comments>mailto:&#119;&#101;&#98;&#64;&#115;&#104;&#101;&#108;&#108;&#97;&#114;&#99;&#104;&#105;&#118;&#101;&#46;&#99;&#111;&#46;&#117;&#107;?subject=A%20Magit%20clone&amp;body=http%3A%2F%2Fwww.shellarchive.co.uk%2F2009-11-08-a-magit-clone.html</comments>
    </item>
    <item>
      <title>Etest updates</title>
      <link>http://www.shellarchive.co.uk/2009-08-12-etest-updates.html</link>
      <guid>http://www.shellarchive.co.uk/2009-08-12-etest-updates.html</guid>
      <pubDate>Wed, 12 Aug 2009 23:50:33 +0100</pubDate>
      <description>&lt;p&gt;I&amp;#8217;ve made a couple of changes to etest to try and up its presence a
little.&lt;/p&gt;
&lt;p&gt;Firstly Ive merged what was three files &lt;a href=&quot;http://github.com/philjackson/etest/blob/master/etest.el&quot;&gt;into
one&lt;/a&gt; which
will make etest much easier to install for the casual passer-by.&lt;/p&gt;
&lt;p&gt;Secondly, though &lt;a href=&quot;http://repo.or.cz&quot;&gt;repo.or.cz&lt;/a&gt; is excellent, I&amp;#8217;ve moved
the project to the more community aware
&lt;a href=&quot;http://github.com/philjackson/etest/tree/master&quot;&gt;github&lt;/a&gt; and so now
there&amp;#8217;s an &lt;a href=&quot;http://github.com/philjackson/etest/issues&quot;&gt;issue
tracker&lt;/a&gt;, a
&lt;a href=&quot;http://wiki.github.com/philjackson/etest&quot;&gt;wiki&lt;/a&gt; and the ability to
watch the project.&lt;/p&gt;
&lt;p&gt;So, new install instructions might be:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Download
&lt;a href=&quot;http://github.com/philjackson/etest/blob/master/etest.el&quot;&gt;etest.el&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Add to load-path.&lt;/li&gt;
	&lt;li&gt;(require &amp;#8217;etest)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Much more simple (though the make, make install will still do what
you expect). &lt;a href=&quot;http://www.shellarchive.co.uk/content/etest.html&quot;&gt;Here&amp;#8217;s the
manual&lt;/a&gt;. &lt;a href=&quot;http://www.emacswiki.org/emacs-fr/ETest&quot;&gt;Here&amp;#8217;s
the emacswiki page entry&lt;/a&gt;.&lt;/p&gt;</description>

        <category>emacs</category>
        <category>etest</category>
        <category>test</category>
        <category>ttd</category>

        <comments>mailto:&#119;&#101;&#98;&#64;&#115;&#104;&#101;&#108;&#108;&#97;&#114;&#99;&#104;&#105;&#118;&#101;&#46;&#99;&#111;&#46;&#117;&#107;?subject=Etest%20updates&amp;body=http%3A%2F%2Fwww.shellarchive.co.uk%2F2009-08-12-etest-updates.html</comments>
    </item>
    <item>
      <title>Darken a page in Conkeror</title>
      <link>http://www.shellarchive.co.uk/2009-03-12-darken-a-page-in-conkeror.html</link>
      <guid>http://www.shellarchive.co.uk/2009-03-12-darken-a-page-in-conkeror.html</guid>
      <pubDate>Thu, 12 Mar 2009 18:57:50 +0000</pubDate>
      <description>&lt;p&gt;A snippet to darken the current page you&amp;#8217;re looking at (I ripped off
a &lt;a href=&quot;http://www.userscripts.org&quot;&gt;Greasemonkey&lt;/a&gt; script):&lt;/p&gt;
&lt;p&gt;&lt;pre class=&quot;code&quot; lang=&quot;javascript&quot;&gt;&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td class=&quot;line_numbers&quot; title=&quot;click to toggle&quot; onclick=&quot;with (this.firstChild.style) { display = (display == '') ? 'none' : '' }&quot;&gt;&lt;pre&gt;1&lt;tt&gt;
&lt;/tt&gt;2&lt;tt&gt;
&lt;/tt&gt;3&lt;tt&gt;
&lt;/tt&gt;4&lt;tt&gt;
&lt;/tt&gt;5&lt;tt&gt;
&lt;/tt&gt;6&lt;tt&gt;
&lt;/tt&gt;7&lt;tt&gt;
&lt;/tt&gt;8&lt;tt&gt;
&lt;/tt&gt;9&lt;tt&gt;
&lt;/tt&gt;&lt;strong&gt;10&lt;/strong&gt;&lt;tt&gt;
&lt;/tt&gt;11&lt;tt&gt;
&lt;/tt&gt;12&lt;tt&gt;
&lt;/tt&gt;13&lt;tt&gt;
&lt;/tt&gt;14&lt;tt&gt;
&lt;/tt&gt;15&lt;tt&gt;
&lt;/tt&gt;16&lt;tt&gt;
&lt;/tt&gt;17&lt;tt&gt;
&lt;/tt&gt;18&lt;tt&gt;
&lt;/tt&gt;19&lt;tt&gt;
&lt;/tt&gt;&lt;strong&gt;20&lt;/strong&gt;&lt;tt&gt;
&lt;/tt&gt;21&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre ondblclick=&quot;with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }&quot;&gt;&lt;span style=&quot;color:#080;font-weight:bold&quot;&gt;function&lt;/span&gt; darken_page (I) {&lt;tt&gt;
&lt;/tt&gt;    &lt;span style=&quot;color:#080;font-weight:bold&quot;&gt;var&lt;/span&gt; newSS, styles=&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;* { background: black ! important; color: grey !important }&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;        + &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;:link, :link * { color: #4986dd !important }&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;        + &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;:visited, :visited * { color: #d75047 !important }&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;;&lt;tt&gt;
&lt;/tt&gt;&lt;tt&gt;
&lt;/tt&gt;    &lt;span style=&quot;color:#080;font-weight:bold&quot;&gt;var&lt;/span&gt; document = I.window.buffers.current.document;&lt;tt&gt;
&lt;/tt&gt;&lt;tt&gt;
&lt;/tt&gt;    &lt;span style=&quot;color:#080;font-weight:bold&quot;&gt;if&lt;/span&gt; (document.createStyleSheet) {&lt;tt&gt;
&lt;/tt&gt;        document.createStyleSheet(&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;javascript:'&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt; + styles + &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;);&lt;tt&gt;
&lt;/tt&gt;    }&lt;tt&gt;
&lt;/tt&gt;    &lt;span style=&quot;color:#080;font-weight:bold&quot;&gt;else&lt;/span&gt; {&lt;tt&gt;
&lt;/tt&gt;        newSS=document.createElement(&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;link&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;);&lt;tt&gt;
&lt;/tt&gt;        newSS.rel=&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;stylesheet&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;;&lt;tt&gt;
&lt;/tt&gt;        newSS.href=&lt;http://www.shellarchive.co.uk/span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;span style=&quot;&quot;&gt;data:text/css,&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;'&lt;/span&gt;&lt;/span&gt;+escape(styles);&lt;tt&gt;
&lt;/tt&gt;        document.getElementsByTagName(&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;)[&lt;span style=&quot;color:#00D;font-weight:bold&quot;&gt;0&lt;/span&gt;].appendChild(newSS);&lt;tt&gt;
&lt;/tt&gt;    }&lt;tt&gt;
&lt;/tt&gt;}&lt;tt&gt;
&lt;/tt&gt;&lt;tt&gt;
&lt;/tt&gt;interactive(&lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;darken-page&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;, &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;Darken the page in an attempt to save your eyes.&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;,&lt;tt&gt;
&lt;/tt&gt;            darken_page);&lt;tt&gt;
&lt;/tt&gt;define_key(content_buffer_normal_keymap, &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;C-d&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;, &lt;span style=&quot;background-color:#fff0f0;color:#D20&quot;&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;darken-page&lt;/span&gt;&lt;span style=&quot;color:#710&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;);&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;
&lt;/pre&gt;&lt;/p&gt;</description>

        <category>conkeror</category>
        <category>javascript</category>

        <comments>mailto:&#119;&#101;&#98;&#64;&#115;&#104;&#101;&#108;&#108;&#97;&#114;&#99;&#104;&#105;&#118;&#101;&#46;&#99;&#111;&#46;&#117;&#107;?subject=Darken%20a%20page%20in%20Conkeror&amp;body=http%3A%2F%2Fwww.shellarchive.co.uk%2F2009-03-12-darken-a-page-in-conkeror.html</comments>
    </item>
    <item>
      <title>Lessen a URL with smallurl.el</title>
      <link>http://www.shellarchive.co.uk/2009-03-08-lessen-a-url-with-smallurl-el.html</link>
      <guid>http://www.shellarchive.co.uk/2009-03-08-lessen-a-url-with-smallurl-el.html</guid>
      <pubDate>Sun, 08 Mar 2009 22:57:46 +0000</pubDate>
      <description>&lt;p&gt;I&amp;#8217;ve uploaded a simple module that allows the tinyfication of
URLs.&lt;/p&gt;
&lt;p&gt;There are two interactive functions&amp;#8230; with which you might want to
interact:&lt;/p&gt;
&lt;dl&gt;
	&lt;dt&gt;smallurl-replace-at-point&lt;/dt&gt;
	&lt;dd&gt;Replace the url at point with a
tiny one.&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
	&lt;dt&gt;smallurl&lt;/dt&gt;
	&lt;dd&gt;Print and put into the kill ring the tiny version of
the url prompted for.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Grab it &lt;a href=&quot;http://repo.or.cz/w/ShellArchive.git?a=blob_plain;hb=HEAD;f=smallurl.el&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>

        <category>elisp</category>
        <category>emacs</category>
        <category>tinyurl</category>

        <comments>mailto:&#119;&#101;&#98;&#64;&#115;&#104;&#101;&#108;&#108;&#97;&#114;&#99;&#104;&#105;&#118;&#101;&#46;&#99;&#111;&#46;&#117;&#107;?subject=Lessen%20a%20URL%20with%20smallurl.el&amp;body=http%3A%2F%2Fwww.shellarchive.co.uk%2F2009-03-08-lessen-a-url-with-smallurl-el.html</comments>
    </item>
</channel>
</rss>
