<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: Ruby on Emacs(journey from TextMate to Emacs&#8230;)</title>
	<atom:link href="http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/</link>
	<description>the way i see it.......</description>
	<lastBuildDate>Mon, 18 Feb 2013 06:15:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-244</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Mon, 18 Feb 2013 06:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-244</guid>
		<description><![CDATA[Hi Duane,

I haven&#039;t used Windows a lot, so not familiar about its intricacies as a dev environment. You may want to see vendor/collection/ruby.el and contents of directory: vendor/collection/ruby/
 in git://github.com/janmejay/emacs.git (it is a submodule, so you&#039;ll need to run &#039;git submodule update --init&#039; after you have cloned the codebase), which has ruby-mode and all its helpers and minor-modes etc). Once you glue it into your setup, you should have all the ruby goodies.

However, you may have to tune it a little to fix impedance mismatch with Windows.]]></description>
		<content:encoded><![CDATA[<p>Hi Duane,</p>
<p>I haven&#8217;t used Windows a lot, so not familiar about its intricacies as a dev environment. You may want to see vendor/collection/ruby.el and contents of directory: vendor/collection/ruby/<br />
 in git://github.com/janmejay/emacs.git (it is a submodule, so you&#8217;ll need to run &#8216;git submodule update &#8211;init&#8217; after you have cloned the codebase), which has ruby-mode and all its helpers and minor-modes etc). Once you glue it into your setup, you should have all the ruby goodies.</p>
<p>However, you may have to tune it a little to fix impedance mismatch with Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foolion</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-242</link>
		<dc:creator><![CDATA[foolion]]></dc:creator>
		<pubDate>Sat, 29 Dec 2012 10:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-242</guid>
		<description><![CDATA[Thanks for all this information, I hope to make good use of it. I used to code Perl in emacs, and loved the navigation and built-in functionality, e.g. having a shell inside the editor, but now after coming back to emacs after a couple years off am having to relearn a lot of emacs, while also learning Ruby (just Ruby, not Ruby on Rails, yet).

I&#039;ve searched for a ruby-mode tutorial and can&#039;t find one that meets my needs. I am able to put emacs into ruby-mode, and open up my .rb file, but can&#039;t figure out how to execute code. I hope you&#039;ll write a bit more about getting started, or that you&#039;ll point me to some resource I haven&#039;t yet found.

I&#039;m just using Ruby for the sake of learning a new language and while I&#039;ve played with the interactive Ruby shell (IRB) outside of emacs, I haven&#039;t been able to run it inside emacs. 

I&#039;m running Windows and emacs 24.2.

Thanks for any further help,

Duane]]></description>
		<content:encoded><![CDATA[<p>Thanks for all this information, I hope to make good use of it. I used to code Perl in emacs, and loved the navigation and built-in functionality, e.g. having a shell inside the editor, but now after coming back to emacs after a couple years off am having to relearn a lot of emacs, while also learning Ruby (just Ruby, not Ruby on Rails, yet).</p>
<p>I&#8217;ve searched for a ruby-mode tutorial and can&#8217;t find one that meets my needs. I am able to put emacs into ruby-mode, and open up my .rb file, but can&#8217;t figure out how to execute code. I hope you&#8217;ll write a bit more about getting started, or that you&#8217;ll point me to some resource I haven&#8217;t yet found.</p>
<p>I&#8217;m just using Ruby for the sake of learning a new language and while I&#8217;ve played with the interactive Ruby shell (IRB) outside of emacs, I haven&#8217;t been able to run it inside emacs. </p>
<p>I&#8217;m running Windows and emacs 24.2.</p>
<p>Thanks for any further help,</p>
<p>Duane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-241</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 22:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-241</guid>
		<description><![CDATA[No, I was never a heavy user of ECB, never tried. ctags/cscope keep me very happy.]]></description>
		<content:encoded><![CDATA[<p>No, I was never a heavy user of ECB, never tried. ctags/cscope keep me very happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyrael Tong</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-235</link>
		<dc:creator><![CDATA[Tyrael Tong]]></dc:creator>
		<pubDate>Tue, 31 Jan 2012 04:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-235</guid>
		<description><![CDATA[Great!

I&#039;m also using emacs to do Rails development, speaking of ECB, did you ever get the ECB able to jump between method definitions without using TAG but using Semantic?]]></description>
		<content:encoded><![CDATA[<p>Great!</p>
<p>I&#8217;m also using emacs to do Rails development, speaking of ECB, did you ever get the ECB able to jump between method definitions without using TAG but using Semantic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurício</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-150</link>
		<dc:creator><![CDATA[Maurício]]></dc:creator>
		<pubDate>Fri, 16 Jul 2010 22:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-150</guid>
		<description><![CDATA[Thanks for the post, this really helped me.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the post, this really helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-129</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Sun, 13 Dec 2009 21:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-129</guid>
		<description><![CDATA[a friend suggested i should post this here... http://codehunk.wordpress.com/2009/06/27/emacs-repo-for-ruby-webapps/ does a developer&#039;s eye comparison between Rubymine, TextMate and Emacs as RoR development environments. May be in interesting read for people considering switch of development environment.]]></description>
		<content:encoded><![CDATA[<p>a friend suggested i should post this here&#8230; <a href="http://codehunk.wordpress.com/2009/06/27/emacs-repo-for-ruby-webapps/" rel="nofollow">http://codehunk.wordpress.com/2009/06/27/emacs-repo-for-ruby-webapps/</a> does a developer&#8217;s eye comparison between Rubymine, TextMate and Emacs as RoR development environments. May be in interesting read for people considering switch of development environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikkel</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-121</link>
		<dc:creator><![CDATA[Mikkel]]></dc:creator>
		<pubDate>Sat, 28 Nov 2009 23:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-121</guid>
		<description><![CDATA[This post is awesome! Thanks for sharing :)]]></description>
		<content:encoded><![CDATA[<p>This post is awesome! Thanks for sharing <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-50</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-50</guid>
		<description><![CDATA[Sorry for the bad indentation of elisp snippets(its all wordpress&#039; fault....) :-(]]></description>
		<content:encoded><![CDATA[<p>Sorry for the bad indentation of elisp snippets(its all wordpress&#8217; fault&#8230;.) <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-49</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-49</guid>
		<description><![CDATA[At times you want to set different indent-offset for ruby and C++ mode(usually, ruby is 2 and C++/C is 4). Carbon Emacs(the one that i use on my mac) was not letting me change the tab-width and had it set as 2 even for C++(some C-h c  and C-h c  is enough to make you realize that reindent-then-newline-and-indent is the procedure used for indentation, which internally reads variable called &lt;i&gt;indent-line-function&lt;/i&gt; to figure out which procedure is to be called. In C/C++ mode it happens to be &lt;i&gt;c-indent-line&lt;/i&gt;. To change the depth of indentation, try setting &lt;b&gt;c-basic-offset&lt;/b&gt; insteed of tab-width. This is what my C++ mode hook looks like....

&lt;code&gt;
(setq-default indent-tabs-mode nil)

(defun my-c++-mode-hook ()
  (setq tab-width 4)
  (setq c-basic-offset 4)
  (define-key c++-mode-map &quot;\C-m&quot; &#039;reindent-then-newline-and-indent)
  (define-key c++-mode-map &quot;\C-ce&quot; &#039;c-comment-edit)
  (setq c++-auto-hungry-initial-state &#039;none)
  (setq c++-delete-function &#039;backward-delete-char)
  (setq c++-tab-always-indent t)
  (setq c-indent-level 4)
  (setq c-continued-statement-offset 4)
  (setq c++-empty-arglist-indent 4))

(defun my-c-mode-hook ()
  (setq tab-width 4)
  (setq c-basic-offset 4)
  (define-key c-mode-map &quot;\C-m&quot; &#039;reindent-then-newline-and-indent)
  (define-key c-mode-map &quot;\C-ce&quot; &#039;c-comment-edit)
  (setq c-auto-hungry-initial-state &#039;none)
  (setq c-delete-function &#039;backward-delete-char)
  (setq c-tab-always-indent t)
  (setq c-indent-level 4)
  (setq c-continued-statement-offset 4)
  (setq c-brace-offset -4)
  (setq c-argdecl-indent 0)
  (setq c-label-offset -4))

(add-hook &#039;c++-mode-hook &#039;my-c++-mode-hook)
(add-hook &#039;c-mode-hook &#039;my-c-mode-hook)
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>At times you want to set different indent-offset for ruby and C++ mode(usually, ruby is 2 and C++/C is 4). Carbon Emacs(the one that i use on my mac) was not letting me change the tab-width and had it set as 2 even for C++(some C-h c  and C-h c  is enough to make you realize that reindent-then-newline-and-indent is the procedure used for indentation, which internally reads variable called <i>indent-line-function</i> to figure out which procedure is to be called. In C/C++ mode it happens to be <i>c-indent-line</i>. To change the depth of indentation, try setting <b>c-basic-offset</b> insteed of tab-width. This is what my C++ mode hook looks like&#8230;.</p>
<p><code><br />
(setq-default indent-tabs-mode nil)</p>
<p>(defun my-c++-mode-hook ()<br />
  (setq tab-width 4)<br />
  (setq c-basic-offset 4)<br />
  (define-key c++-mode-map "\C-m" 'reindent-then-newline-and-indent)<br />
  (define-key c++-mode-map "\C-ce" 'c-comment-edit)<br />
  (setq c++-auto-hungry-initial-state 'none)<br />
  (setq c++-delete-function 'backward-delete-char)<br />
  (setq c++-tab-always-indent t)<br />
  (setq c-indent-level 4)<br />
  (setq c-continued-statement-offset 4)<br />
  (setq c++-empty-arglist-indent 4))</p>
<p>(defun my-c-mode-hook ()<br />
  (setq tab-width 4)<br />
  (setq c-basic-offset 4)<br />
  (define-key c-mode-map "\C-m" 'reindent-then-newline-and-indent)<br />
  (define-key c-mode-map "\C-ce" 'c-comment-edit)<br />
  (setq c-auto-hungry-initial-state 'none)<br />
  (setq c-delete-function 'backward-delete-char)<br />
  (setq c-tab-always-indent t)<br />
  (setq c-indent-level 4)<br />
  (setq c-continued-statement-offset 4)<br />
  (setq c-brace-offset -4)<br />
  (setq c-argdecl-indent 0)<br />
  (setq c-label-offset -4))</p>
<p>(add-hook 'c++-mode-hook 'my-c++-mode-hook)<br />
(add-hook 'c-mode-hook 'my-c-mode-hook)<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janmejay</title>
		<link>http://codehunk.wordpress.com/2009/01/14/ruby-on-emacsjourney-from-textmate-to-emacs/#comment-48</link>
		<dc:creator><![CDATA[janmejay]]></dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://codehunk.wordpress.com/?p=149#comment-48</guid>
		<description><![CDATA[Ditched tempo-snippets in favour of yasnippet. :-)]]></description>
		<content:encoded><![CDATA[<p>Ditched tempo-snippets in favour of yasnippet. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
