<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Draptik&#039;s Blog &#187; emacs</title>
	<atom:link href="http://draptik.wordpress.com/tag/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://draptik.wordpress.com</link>
	<description>mostly tech notes...</description>
	<lastBuildDate>Tue, 21 May 2013 16:45:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='draptik.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6d88439a791ad119fa4ffbed0d9ee8c3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Draptik&#039;s Blog &#187; emacs</title>
		<link>http://draptik.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://draptik.wordpress.com/osd.xml" title="Draptik&#039;s Blog" />
	<atom:link rel='hub' href='http://draptik.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Rails and Emacs: Rsense and Auto-Complete</title>
		<link>http://draptik.wordpress.com/2011/07/17/rails-and-emacs-rsense-and-auto-complete/</link>
		<comments>http://draptik.wordpress.com/2011/07/17/rails-and-emacs-rsense-and-auto-complete/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 02:24:23 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rinari]]></category>
		<category><![CDATA[auto-complete]]></category>
		<category><![CDATA[rsense]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=438</guid>
		<description><![CDATA[If you&#8217;re developing Rails with Emacs and using Rinari here are two more extensions you might like: http://cx4a.org/software/auto-complete/ and http://cx4a.org/software/rsense/ Installation. Just  as described. Code completion for ruby-on-rails with emacs! And the package is written in Java(!), Very cool! I am impressed!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=438&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re developing Rails with <a title="Emacs" href="http://www.gnu.org/software/emacs/" target="_blank">Emacs</a> and using <a title="Rinari" href="http://rinari.rubyforge.org/" target="_blank">Rinari</a> here are two more extensions you might like:</p>
<p><a href="http://cx4a.org/software/auto-complete/">http://cx4a.org/software/auto-complete/</a></p>
<p>and</p>
<p><a href="http://cx4a.org/software/rsense/">http://cx4a.org/software/rsense/</a></p>
<p>Installation. Just  as described. Code completion for ruby-on-rails with emacs!</p>
<p>And the package is written in Java(!), Very cool!</p>
<p>I am impressed!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/438/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=438&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2011/07/17/rails-and-emacs-rsense-and-auto-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs: murrine_style_draw_box: assertion `height &gt;= -1&#8242; failed</title>
		<link>http://draptik.wordpress.com/2010/11/02/emacs-murrine_style_draw_box-assertion-height-1-failed/</link>
		<comments>http://draptik.wordpress.com/2010/11/02/emacs-murrine_style_draw_box-assertion-height-1-failed/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 21:59:09 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=352</guid>
		<description><![CDATA[This nasty bug has been around for over a year: Calling Emacs on Ubuntu from the console outputs murrine_style_draw_box: assertion `height &#62;= -1&#8242; failed after every action within Emacs. The solution is simple, but has not been integrated in the Ubuntu repository yet. Here it is: In the file /usr/share/themes/Ambiance/gtk-2.0/gtkrc change GtkRange::trough-under-steppers = 0 to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=352&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This nasty bug has been around for over a year: Calling Emacs on Ubuntu from the console outputs</p>
<p>murrine_style_draw_box: assertion `height &gt;= -1&#8242; failed</p>
<p>after <em>every action</em> within Emacs.</p>
<p>The solution is simple, but has not been integrated in the Ubuntu repository yet.</p>
<p>Here it is:</p>
<p>In the file</p>
<p>/usr/share/themes/Ambiance/gtk-2.0/gtkrc</p>
<p>change</p>
<p>GtkRange::trough-under-steppers = 0</p>
<p>to</p>
<p>GtkRange::trough-under-steppers = 1</p>
<p>For details see <a href="https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/538541">Bug #538541</a>, <a href="https://bugs.launchpad.net/ubuntu/+source/emacs-snapshot/+bug/550532">Bug #550532</a> and ﻿<a href="http://thehacklist.blogspot.com/2010/06/resolving-murrinestyledrawbox-assertion.html">Resolving &#8220;murrine_style_draw_box: assertion `height &gt;= -1&#8242;&#8221;</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=352&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2010/11/02/emacs-murrine_style_draw_box-assertion-height-1-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
		<item>
		<title>Using a different minor-mode-prefix with Rinari (Emacs Rails)</title>
		<link>http://draptik.wordpress.com/2010/04/27/using-a-different-minor-mode-prefix-with-rinari-emacs-rails/</link>
		<comments>http://draptik.wordpress.com/2010/04/27/using-a-different-minor-mode-prefix-with-rinari-emacs-rails/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:40:27 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[german keyboard]]></category>
		<category><![CDATA[key mapping]]></category>
		<category><![CDATA[keybindings]]></category>
		<category><![CDATA[keyboard shortcuts]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rinari]]></category>
		<category><![CDATA[rinari-minor-mode-prefixes]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby-on-rails]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=311</guid>
		<description><![CDATA[Rinari is a Ruby on Rails Minor Mode for GNU/Emacs. Problem: Most key mappings / keyboard shortcuts rely on the hard coded strings &#8220;;&#8221; and &#8220;&#8216;&#8221; (I.e. &#8220;C-; f c&#8221; -&#62; rinari-find-controller). These prefixes are difficult to access on a German keyboard because they require the shift modifier. Solution: The following code adds a comma [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=311&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a title="Rinari" href="http://rinari.rubyforge.org/" target="_blank">Rinari</a> is a Ruby on Rails Minor Mode for GNU/Emacs.</p>
<p><strong>Problem:</strong> Most key mappings / keyboard shortcuts rely on the hard coded strings &#8220;;&#8221; and &#8220;&#8216;&#8221; (I.e. &#8220;C-; f c&#8221; -&gt; rinari-find-controller). These prefixes are difficult to access on a German keyboard because they require the shift modifier.</p>
<p><strong>Solution:</strong> The following code adds a comma to the list of rinari-prefix strings. Add it to your GNU/Emacs configuration file (i.e. ~/.emacs):</p>
<pre class="brush: bash; title: ; notranslate">
(add-to-list 'load-path &quot;~/your-path-to-rinari-source-code/rinari&quot;)
﻿;; This patch must appear before the line &quot;(require 'rinari)&quot;!
(defvar rinari-minor-mode-prefixes
(list &quot;;&quot; &quot;'&quot; &quot;,&quot;) ;; CHANGE Added comma to prefix list
     &quot;List of characters, each of which will be bound (with C-c) as a rinari-minor-mode keymap prefix.&quot;)

(require 'rinari)
</pre>
<p><strong>Result: </strong>We can now access the command &#8220;rinari-find-controller&#8221; with the key sequence &#8220;C-c , f c&#8221;.</p>
<p><strong>Side note:</strong> I&#8217;m all ears for more Emacs-Lispy solutions to this problem. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=311&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2010/04/27/using-a-different-minor-mode-prefix-with-rinari-emacs-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
		<item>
		<title>Using basic Emacs keybindings in Gnome-Terminal</title>
		<link>http://draptik.wordpress.com/2010/01/15/using-basic-emacs-keybindings-in-gnome-terminal/</link>
		<comments>http://draptik.wordpress.com/2010/01/15/using-basic-emacs-keybindings-in-gnome-terminal/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:00:10 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome-terminal]]></category>
		<category><![CDATA[keybindings]]></category>
		<category><![CDATA[keyboard shortcuts]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=299</guid>
		<description><![CDATA[Summary: Use basic Emacs keyboard shortcuts (ie navigation) in Gnome-Terminal while using the Bash shell. This post is only interesting for people familiar with Emacs. This is so simple that I almost afraid to post it&#8230; &#8230;One of those things that has been bothering you for years(!), but was never urgent enough to invest time [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=299&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>Summary:</strong> Use basic Emacs keyboard shortcuts (ie navigation) in Gnome-Terminal while using the Bash shell. This post is only interesting for people familiar with Emacs.</p>
<p>This is so simple that I almost afraid to post it&#8230;</p>
<p>&#8230;One of those things that has been bothering you for years(!), but was never urgent enough to invest time figuring out how to fix&#8230;</p>
<p><strong>Problem: </strong></p>
<p>You&#8217;re used to Emacs shortcuts. Bash (and many other shells) support Emacs keybindings out of the box. But your default terminal comes with a stupid menu bar. So you press M-d (Emacs&#8217; &#8220;kill-word&#8221;; for non-Emacs users: this corresponds to the key sequence Alt-d) and end up calling the &#8220;File&#8221; menu entry of the Gnome-Terminal (File is called &#8220;<strong>D</strong>atei&#8221; in German, which is my LOCAL). If you your LOCAL settings are English, you will have the same problem with the Emacs shortcut M-f (in Emacs this is &#8220;word-forward&#8221;): The Gnome-Terminal will grap the key sequence and open the &#8220;<strong>F</strong>ile&#8221; menu.</p>
<p><strong>Solution:</strong></p>
<ol>
<li>Open your Gnome-Terminal</li>
<li>Edit -&gt; Keyboard shortcuts -&gt; DISABLE ALL MENU ACCESS KEYS (If you have German settings the menu entry is called: &#8220;Bearbeiten -&gt; Tastenkombinationen -&gt; Alle Menükürzel aktivieren&#8221;. Disable the checkbox..)</li>
</ol>
<p>That&#8217;s it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=299&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2010/01/15/using-basic-emacs-keybindings-in-gnome-terminal/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacsclient usage on a GNU/Linux system</title>
		<link>http://draptik.wordpress.com/2009/10/23/emacsclient-usage-on-a-gnulinux-system/</link>
		<comments>http://draptik.wordpress.com/2009/10/23/emacsclient-usage-on-a-gnulinux-system/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 19:31:02 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[emacs daemon]]></category>
		<category><![CDATA[emacs-client]]></category>
		<category><![CDATA[emacs-server]]></category>
		<category><![CDATA[emacs23]]></category>
		<category><![CDATA[emacsclient]]></category>
		<category><![CDATA[emacsdaemon]]></category>
		<category><![CDATA[emacsserver]]></category>
		<category><![CDATA[gnu/emacs]]></category>
		<category><![CDATA[ppa]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=255</guid>
		<description><![CDATA[Short instructions on how to setup Emacs using the Emacs Server/Emacs Client system on a GNU/Linux machine.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=255&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Short instructions on how to setup Emacs using the Emacs Server/Emacs Client system on a GNU/Linux machine.</p>
<p>This post is intended for people familiar with GNU/Emacs.</p>
<p><strong>Requirements:</strong></p>
<p>GNU/Emacs 23 or greater (for Ubuntu get the Emacs PPA: <a href="http://https://launchpad.net/~ubuntu-elisp/+archive/ppa">https://launchpad.net/~ubuntu-elisp/+archive/ppa</a>)</p>
<p><strong>Files to edit:</strong></p>
<p>~/.emacs<br />
~/.bashrc</p>
<p><strong>System settings using Gnome:</strong></p>
<p>System -&gt; Einstellungen -&gt; Startprogramme</p>
<p><strong>For the impatient:</strong></p>
<p>Add this to your ~/.bashrc:</p>
<pre class="brush: bash; title: ; notranslate">
export ALTERNATE_EDITOR=emacs EDITOR=emacsclient VISUAL=emacsclient
## you can always use the command &quot;emacs&quot; instead of &quot;emacsclient -c&quot;
alias emacs='emacsclient -c'
</pre>
<p>Add this to your ~/.emacs:</p>
<pre class="brush: bash; title: ; notranslate">
(server-start)
</pre>
<p>Add this to your system startup options:</p>
<pre class="brush: bash; title: ; notranslate">
/path/to/your/emacs --daemon
</pre>
<p>ie:</p>
<pre class="brush: bash; title: ; notranslate">
/usr/bin/emacs --daemon
</pre>
<p>Gnome panel starter:</p>
<pre class="brush: bash; title: ; notranslate">
/usr/bin/emacsclient -c'
</pre>
<p><strong>Detailed instructions</strong></p>
<p>Starting Emacs from scratch will always load your init file (default: ~/.emacs). Loading this file can take a few seconds if your init file has grown over the years and if you load many external libraries.</p>
<p>To decrease the load time for situations like this the GNU/Emacs folks have developed the GNU/Emacs daemon and the GNU/Emacs server-client concept.</p>
<p>This concept allows you to attach to an already running session. No matter if you are currently using X or  a TTY session!</p>
<p>Just try it (without changing any settings):</p>
<ol>
<li>Start GNU/Emacs from a shell under X:
<pre class="brush: bash; title: ; notranslate">
$ emacs
</pre>
</li>
<li>Now start the Emacs server from within Emacs:
<pre class="brush: bash; title: ; notranslate">
M-x server-start
</pre>
</li>
<li>Open a file from within Emacs (it does not have to exist):
<pre class="brush: bash; title: ; notranslate">
C-x C-f ~/deleteme.txt
</pre>
</li>
<li>Because we started the Emacs server, we can now start the Emacs client with close-to-zero load time:</li>
<li>Starting the Emacs client from a new shell:
<pre class="brush: bash; title: ; notranslate">
$ emacsclient deleteme-from-shell.txt
</pre>
<p>This will open the file &#8220;deleteme-from-shell.txt&#8221; in your running Emacs session. Cool, isn&#8217;t it?</p>
<p><strong>IMPORTANT:</strong> To close the attached Emacs client without killing the Emacs server you have to use &#8220;C-x #&#8221; instead of &#8220;C-x C-c&#8221;!</li>
<li>Starting the Emacs client from a new shell AND opening a new Emacs frame:Same as step 5, but use &#8220;-c&#8221;:
<pre class="brush: bash; title: ; notranslate">
$ emacsclient -c deleteme-from-shell.txt
</pre>
<p>Again: Close the client using &#8220;C-x #&#8221;! This will close the frame (=window) while keeping the server running.</li>
<li>Starting the Emacs client from a new shell AND opening it within the current shell:Same as step 5, but use &#8220;-t&#8221;:
<pre class="brush: bash; title: ; notranslate">
$ emacsclient -t deleteme-from-shell.txt
</pre>
<p>This will also work for a true TTY session. An example of a true TTY session can be achieved by switching to TTY-0 (Ctrl+Alt+F1; to return to your graphical display: Ctrl+Alt+F7). Try it:</p>
<p>Ctrl+Alt+F1</p>
<p>Login with username and password, then type</p>
<pre class="brush: bash; title: ; notranslate">
$ emacsclient -t deleteme-from-shell.txt
</pre>
<p>We are still attached to the same session! Cool!</p>
<p>Switch back to your graphical display: Ctrl+Alt+F7</li>
<li>The only drawback so far is that we had to start the Emacs server manually from within an Emacs session using &#8220;M-x server-start&#8221;. Otherwise &#8220;emacsclient&#8221; will complain that it has no server to attach to. So let&#8217;s include this feature in our Emacs init file (~/.emacs). Add this to your init file:
<pre class="brush: bash; title: ; notranslate">
(server-start)
</pre>
</li>
<li>The previous step still requires us to start Emacs before we can invoke emacsclient. Let&#8217;s tell our default shell (ie Bash) to use &#8220;emacsclient&#8221; as default. If that doesn&#8217;t work, our shell should use &#8220;emacs&#8221;. Add the following the your ~/.bashrc:
<pre class="brush: bash; title: ; notranslate">
export ALTERNATE_EDITOR=emacs EDITOR=emacsclient VISUAL=emacsclient
</pre>
</li>
<li>I prefer to to only use a single command, &#8220;emacs&#8221;, and &#8220;the computer&#8221; should figure out<br />
IF an Emacs server is running (then I&#8217;ll use &#8220;emacsclient&#8221; to attach to a running Emacs server)</p>
<p>OR if I have to start a new Emacs session (which, in turn, starts an Emacs server).</p>
<pre class="brush: bash; title: ; notranslate">
## you can always use the command &quot;emacs&quot; instead of &quot;emacsclient -c&quot;
alias emacs='emacsclient -c'
</pre>
</li>
<li>Sugar: To be sure to have an Emacs server running, we can add the Emacs daemon to our system startup options. How to add scripts to your startup options differs strongly between different Linux systems. Here&#8217;s how I did it (using Gnome):&#8221;System&#8221; -&gt; &#8220;Einstellungen&#8221; -&gt; &#8220;Startprogramme&#8221;(in English this should correspond to something like &#8220;System&#8221; -&gt; &#8220;Settings&#8221; -&gt; &#8220;Start programs&#8221;)I added a new entry with the following content:
<pre class="brush: bash; title: ; notranslate">
/path/to/your/emacs --daemon
</pre>
<p>ie:</p>
<pre class="brush: bash; title: ; notranslate">
/usr/bin/emacs --daemon
</pre>
</li>
<li>Further sugar: To use a Gnome panel starter, just add this program parameter to the starter properties:
<pre class="brush: bash; title: ; notranslate">
/usr/bin/emacsclient -c
</pre>
</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=255&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2009/10/23/emacsclient-usage-on-a-gnulinux-system/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
		<item>
		<title>From 8.04 LTS to Jaunty Jackalone (Ubuntu 9.04): Software</title>
		<link>http://draptik.wordpress.com/2009/04/28/from-804-lts-to-jaunty-jackalone-ubuntu-904/</link>
		<comments>http://draptik.wordpress.com/2009/04/28/from-804-lts-to-jaunty-jackalone-ubuntu-904/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 20:26:03 +0000</pubDate>
		<dc:creator>draptik</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[auctex]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gtktalog]]></category>
		<category><![CDATA[jaunty jackalone]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[r]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tex]]></category>
		<category><![CDATA[texlive]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://draptik.wordpress.com/?p=79</guid>
		<description><![CDATA[The upgrade from the Ubuntu 8.04 LTS version to 9.04 (codename &#8220;Jaunty Jackalone&#8221; = JJ) was very smooth. It did NOT screw up the X-Server, SMB, Cups, NFS, SSH, USB, etc.  For me it was about a 3GB download. The first thing I noticed was that a nasty gdm-login-screen-resolution bug was fixed by upgrading from [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=79&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The upgrade from the Ubuntu 8.04 LTS version to 9.04 (codename &#8220;Jaunty Jackalone&#8221; = JJ) was very smooth. It did NOT screw up the X-Server, SMB, Cups, NFS, SSH, USB, etc.  For me it was about a 3GB download.</p>
<p>The first thing I noticed was that a nasty gdm-login-screen-resolution bug was fixed by upgrading from 8.04 to 8.10.</p>
<p>Since each upgrade changes the default version of ones most used/favorite software, I will list those products I was concerned about most:</p>
<p><strong>Sun Java </strong> (<a href="http://java.sun.com/">http://java.sun.com/</a>)<strong><br />
</strong></p>
<ul>
<li><em>OK</em>: JJ comes with the current Java JRE and SDK version (1.6_13)</li>
</ul>
<p><strong>Eclipse </strong>(<a href="http://www.eclipse.org/">http://www.eclipse.org/</a>)</p>
<ul>
<li><em>Out-of-date</em>: JJ comes with version 3.2 (2 years old). The current version is 3.4 (Ganymede). But since you can run Eclipse directly without compiling, this is no big deal.</li>
</ul>
<p><strong>GNU Emacs </strong><a href="http://www.gnu.org/software/emacs/">(http://www.gnu.org/software/emacs/)</a><strong><br />
</strong></p>
<ul>
<li><strong><em>GNU Emacs snapshot</em></strong> (=bleeding edge/developer version): <em>OK</em>: installing emacs-snapshot-gtk gives a current developer version  (build from 2009-04-05)</li>
<li><strong><em>Emacs stable</em></strong>: <em>Out-of-date</em>: The current Emacs version is 22.3. JJ has Emacs version 22.2, although Emacs 22.3 was released 2008/09.</li>
</ul>
<p><strong>AUCTeX </strong>(<a href="http://www.gnu.org/software/auctex/">http://www.gnu.org/software/auctex/</a>)<strong><br />
</strong></p>
<ul>
<li><em>Out-of-date</em>: JJ comes with AUCTeX version 11.84. Version 11.85 was released 2008/02. I&#8217;ll have to install this manually.</li>
</ul>
<p><strong>R </strong> (<a href="http://www.r-project.org/">http://www.r-project.org/</a>)<strong><br />
</strong></p>
<ul>
<li><em>OK</em>: JJ has 2.9.0. The current version is 2.9.0.</li>
</ul>
<p><strong>TexLive</strong> (<a href="http://www.tug.org/texlive/">http://www.tug.org/texlive/</a>)</p>
<ul>
<li><em>Out-of-date</em>: JJ comes with texlive-2007&#8230; Just download the current texlive-2008 from the texlive homepage and install it beside the Ubuntu texlive version.</li>
</ul>
<p><strong>Skype-Plugin for Pidgin&#8217;s Instant Messenger</strong></p>
<ul>
<li>I&#8217;ve already written a <a title="blog" href="http://draptik.wordpress.com/2009/04/09/pidgin-the-multi-plattform-multi-protocol-instant-messenger/">blog</a> on some of the nice Pidgin features. After upgrading to JJ and seeing that Pidgin is used for internal messaging within Ubuntu, I am even more convinced that this is currently THE multi-protocol multi-plattform instant messenger to go with. Get the skype-plugin from <a href="http://eion.robbmob.com/">http://eion.robbmob.com/</a> and install the Debian/Ubuntu skype4pidgin.deb file by executing &#8220;sudo dpkg -i skype4pidgin.deb&#8221;</li>
</ul>
<p><strong>GTKtalog </strong>(<a href="http://www.nongnu.org/gtktalog/">http://www.nongnu.org/gtktalog/</a>)<strong><br />
</strong></p>
<ul>
<li>Not present in JJ&#8217;s repositories. I&#8217;m very sad about this, because to my knowledge this is the only software for managing a CD/DVD collection which does not require a database. Although its user interface (Tck/Tk) is not-so-stylish-up-to-date, it has many features which I have grown accostumed to and which are lacking even in current high-end Disk-Manager programs.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draptik.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draptik.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=draptik.wordpress.com&#038;blog=7267980&#038;post=79&#038;subd=draptik&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://draptik.wordpress.com/2009/04/28/from-804-lts-to-jaunty-jackalone-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f1acab0e22e9a18e01eabd98d15779cc?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">draptik</media:title>
		</media:content>
	</item>
	</channel>
</rss>
