<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Gemini Gedit Plugin For All Those TextMate Fans</title>
	<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/</link>
	<description>This is my site.  I write here.</description>
	<pubDate>Sat, 05 Jul 2008 00:57:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: Keith</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3224</link>
		<pubDate>Fri, 25 Apr 2008 15:21:49 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3224</guid>
					<description>Any plans for a configuration screen?  Sorry, I don't know python.  

The single quote rule was driving me nuts on pages where I was creating content, not code so I took the rule out by editing gemini.py - and also added an open % close % rule ( Ruby on Rails views ). ( See my link for blog posting about it )

Your plugin code has these rules very tidily in the same place, so would be great if some python whiz created a configure screen.

Thanks again

Keith</description>
		<content:encoded><![CDATA[<p>Any plans for a configuration screen?  Sorry, I don&#8217;t know python.  </p>
<p>The single quote rule was driving me nuts on pages where I was creating content, not code so I took the rule out by editing gemini.py - and also added an open % close % rule ( Ruby on Rails views ). ( See my link for blog posting about it )</p>
<p>Your plugin code has these rules very tidily in the same place, so would be great if some python whiz created a configure screen.</p>
<p>Thanks again</p>
<p>Keith
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Marlun</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3216</link>
		<pubDate>Thu, 10 Apr 2008 10:22:27 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3216</guid>
					<description>Had the same problem as the one before me. Backspace only deletes the first one.</description>
		<content:encoded><![CDATA[<p>Had the same problem as the one before me. Backspace only deletes the first one.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Xoan</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3214</link>
		<pubDate>Mon, 07 Apr 2008 09:56:29 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3214</guid>
					<description>Nice plugin, all features works fine (Gnome 2.20.1) except deletes both inserted characters on backspace (deletes only the closing character if I hit delete works).

I haven't enough python knowledge (text buffers, text iters... OMG! too complicated for me), but something doesn't seem to work at this.

Thanks anyway, plugin is very useful.</description>
		<content:encoded><![CDATA[<p>Nice plugin, all features works fine (Gnome 2.20.1) except deletes both inserted characters on backspace (deletes only the closing character if I hit delete works).</p>
<p>I haven&#8217;t enough python knowledge (text buffers, text iters&#8230; OMG! too complicated for me), but something doesn&#8217;t seem to work at this.</p>
<p>Thanks anyway, plugin is very useful.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jero</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3213</link>
		<pubDate>Thu, 03 Apr 2008 16:57:03 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3213</guid>
					<description>I love it.
I only had some issue that I solved later and here i post the solution in case of  someone else has it.

It happened that when I clicked '{' and then ENTER just to have something like:
{
    [cursor here]
}

gedit crashed.

Then I realized that this happened only when I had the option to Use spaces instead of tab in gedit settings.

I unchecked that option and it worked great.

If you still want to use spaces instead of tabs you can change a line in gemini.py :

 go to the end of the file

find this:

        if view.get_insert_spaces_instead_of_tabs():
          buf.insert_at_cursor(' ' * view.get_tabs_width ())
        else:
          buf.insert_at_cursor('\t')
        
        return True

replace 
 view.get_tabs_width () 
with the number of spaces you want to be used instead of tabs ie.

If I want to use 4 spaces instead of tab my code will be:

        if view.get_insert_spaces_instead_of_tabs():
          buf.insert_at_cursor(' ' * 4)
        else:
          buf.insert_at_cursor('\t')
        
        return True

hope someone find this helpful</description>
		<content:encoded><![CDATA[<p>I love it.<br />
I only had some issue that I solved later and here i post the solution in case of  someone else has it.</p>
<p>It happened that when I clicked &#8216;{&#8217; and then ENTER just to have something like:<br />
{<br />
    [cursor here]<br />
}</p>
<p>gedit crashed.</p>
<p>Then I realized that this happened only when I had the option to Use spaces instead of tab in gedit settings.</p>
<p>I unchecked that option and it worked great.</p>
<p>If you still want to use spaces instead of tabs you can change a line in gemini.py :</p>
<p> go to the end of the file</p>
<p>find this:</p>
<p>        if view.get_insert_spaces_instead_of_tabs():<br />
          buf.insert_at_cursor(&#8217; &#8216; * view.get_tabs_width ())<br />
        else:<br />
          buf.insert_at_cursor(&#8217;\t&#8217;)</p>
<p>        return True</p>
<p>replace<br />
 view.get_tabs_width ()<br />
with the number of spaces you want to be used instead of tabs ie.</p>
<p>If I want to use 4 spaces instead of tab my code will be:</p>
<p>        if view.get_insert_spaces_instead_of_tabs():<br />
          buf.insert_at_cursor(&#8217; &#8216; * 4)<br />
        else:<br />
          buf.insert_at_cursor(&#8217;\t&#8217;)</p>
<p>        return True</p>
<p>hope someone find this helpful
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kev</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3196</link>
		<pubDate>Wed, 20 Feb 2008 03:37:43 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3196</guid>
					<description>Hey bud, nice plugin ya got there. Too bad it's not working correctly in *.RHTML files =[</description>
		<content:encoded><![CDATA[<p>Hey bud, nice plugin ya got there. Too bad it&#8217;s not working correctly in *.RHTML files =[
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: vince</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3187</link>
		<pubDate>Sat, 26 Jan 2008 21:06:26 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3187</guid>
					<description>Awesome plugin.. it handles the close of the auto-completed bracket perfectly.  Thanks so much!</description>
		<content:encoded><![CDATA[<p>Awesome plugin.. it handles the close of the auto-completed bracket perfectly.  Thanks so much!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bjarkigud</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3185</link>
		<pubDate>Tue, 22 Jan 2008 16:15:42 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-3185</guid>
					<description>Hi Gary and thanx a bunch for the plug-in. I am having a slight problem with it though. I have an international keyboard (Icelandic to be precise). The problem is that when I type a character like  again it just adds the character instead of overwriting the character generated by the plug-in. Below is an example

&amp;#62; (is displayed when I type '')

The same thing happens with all the characters supported by the plug-in.

Kind regards,
Bjarki</description>
		<content:encoded><![CDATA[<p>Hi Gary and thanx a bunch for the plug-in. I am having a slight problem with it though. I have an international keyboard (Icelandic to be precise). The problem is that when I type a character like  again it just adds the character instead of overwriting the character generated by the plug-in. Below is an example</p>
<p>&gt; (is displayed when I type &#8216;&#8217;)</p>
<p>The same thing happens with all the characters supported by the plug-in.</p>
<p>Kind regards,<br />
Bjarki
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: philong</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2567</link>
		<pubDate>Fri, 29 Jun 2007 08:39:32 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2567</guid>
					<description>yes. i have enable it. but it can't woring on my debian 4.0 etch. before this test on debian, i have use gemini on my notebook, that is ubuntu 7.04, and it is good.
i don't know if gedit's version is too low on debian. it is 2.14. and ubuntu's gedit is 2.18.1</description>
		<content:encoded><![CDATA[<p>yes. i have enable it. but it can&#8217;t woring on my debian 4.0 etch. before this test on debian, i have use gemini on my notebook, that is ubuntu 7.04, and it is good.<br />
i don&#8217;t know if gedit&#8217;s version is too low on debian. it is 2.14. and ubuntu&#8217;s gedit is 2.18.1
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ditocujo</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2561</link>
		<pubDate>Thu, 28 Jun 2007 14:27:18 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2561</guid>
					<description>Hye philong,

Did you enable it on the GEdit Preferences? (Edit / Preferences / Plugins)?

Best</description>
		<content:encoded><![CDATA[<p>Hye philong,</p>
<p>Did you enable it on the GEdit Preferences? (Edit / Preferences / Plugins)?</p>
<p>Best
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: philong</title>
		<link>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2557</link>
		<pubDate>Thu, 28 Jun 2007 07:16:14 +0000</pubDate>
		<guid>http://www.garyharan.com/index.php/2006/11/16/gemini-gedit-plugin-for-all-those-textmate-fans/#comment-2557</guid>
					<description>i use debian 4.0, and gemini not woking for gedit(2.14.4).
Why?</description>
		<content:encoded><![CDATA[<p>i use debian 4.0, and gemini not woking for gedit(2.14.4).<br />
Why?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
