<?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/"
	>

<channel>
	<title>Simon South &#187; Programming</title>
	<atom:link href="http://simonsouth.ca/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://simonsouth.ca</link>
	<description>I&#039;m an independent software consultant. I make software and I make software work.</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:15:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Emacs delphi-mode Updated</title>
		<link>http://simonsouth.ca/2010/07/emacs-delphi-mode-updated/</link>
		<comments>http://simonsouth.ca/2010/07/emacs-delphi-mode-updated/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 16:18:48 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[delphi-mode]]></category>
		<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.simonsouth.ca/?p=21</guid>
		<description><![CDATA[I&#8217;ve checked in two fixes to GNU Emacs&#8216; delphi-mode (a major mode for editing Borland Delphi source code) that improve the way case statements are indented. Case statements are now indented correctly when the first line ends with a single-line comment, as in the example below. case Gender of // A comment here used to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve checked in two fixes to <a href="http://www.gnu.org/software/emacs/">GNU Emacs</a>&#8216; delphi-mode (a major mode for editing Borland Delphi source code) that improve the way case statements are indented.</p>
<ol>
<li>Case statements are now indented correctly when the first line ends with a single-line comment, as in the example below.
<p><code> </code></p>
<pre>case Gender of  // A comment here used to break indentation
   'M':
      Writeln('Male');
   'F':
      Writeln('Female');
end;</pre>
</li>
<li>Indentation now works correctly for records containing a variant part, which is defined using a case statement within the record declaration.  Thanks to Guillermo R. Palavecino who reported the problem.
<p><code> </code></p>
<pre>type
   TEmployee = record
      LastName, FirstName: String;
      case FullTime: Boolean of
	 True: (Salary: Currency);
	 False: (Wage: Currency);
   end;</pre>
</li>
</ol>
<p>The changes are in <a href="https://savannah.gnu.org/projects/emacs/">Bazaar</a> now and should be included in the next release of Emacs.</p>
<div class='wb_fb_bottom'><div style="float:right;"></div></div>]]></content:encoded>
			<wfw:commentRss>http://simonsouth.ca/2010/07/emacs-delphi-mode-updated/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

