<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/erlang.git/lib/tools/emacs/test.erl.indented, branch pu</title>
<subtitle>github.com: erlang/otp.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/'/>
<entry>
<title>Inside parentheses, line-initial commas align with the open parenthesis</title>
<updated>2013-06-18T11:38:41+00:00</updated>
<author>
<name>Magnus Henoch</name>
<email>magnus.henoch@gmail.com</email>
</author>
<published>2013-06-18T11:38:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=104c60227d3efea4c858a32c486ee15127d6edbc'/>
<id>104c60227d3efea4c858a32c486ee15127d6edbc</id>
<content type='text'>
For example:

  [ one
  , two
  , three
  ]

This does not affect coding styles that don't put commas at the
beginning of lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For example:

  [ one
  , two
  , three
  ]

This does not affect coding styles that don't put commas at the
beginning of lines.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2012-08-31T12:48:46+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-08-31T12:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630'/>
<id>2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix highlighting of atoms ending with a dollar sign</title>
<updated>2012-08-07T10:09:19+00:00</updated>
<author>
<name>Magnus Henoch</name>
<email>magnus.henoch@erlang-solutions.com</email>
</author>
<published>2012-08-06T10:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=5db6226178d98141b7d1f5cf792797160710c693'/>
<id>5db6226178d98141b7d1f5cf792797160710c693</id>
<content type='text'>
Like this: 'atom$'.  In that example, the last single quote should be
recognised as ending the atom.  This needs a font-lock workaround
similar to the one for strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like this: 'atom$'.  In that example, the last single quote should be
recognised as ending the atom.  This needs a font-lock workaround
similar to the one for strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation of record fields in Emacs</title>
<updated>2012-06-12T09:59:52+00:00</updated>
<author>
<name>Tomas Abrahamsson</name>
<email>tomas.abrahamsson@gmail.com</email>
</author>
<published>2012-02-11T20:55:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6'/>
<id>ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6</id>
<content type='text'>
In some situations, the indentation of record fields in Emacs was
strange. This example below shows how Emacs previously would indent
two similar pieces of code very differently:

    some_function_with_a_very_long_name() -&gt;
        #'a-long-record-name-like-it-sometimes-is-with-asn.1-records'{
                                         field1=a,
                                         field2=b}.

    x() -&gt;
        #some_record_name{
       field1=a,
       field2=b}.

This changes the indentation to be like below for both cases:

    some_function() -&gt;
        #some_record{
           field1=a,
           field2=b}.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some situations, the indentation of record fields in Emacs was
strange. This example below shows how Emacs previously would indent
two similar pieces of code very differently:

    some_function_with_a_very_long_name() -&gt;
        #'a-long-record-name-like-it-sometimes-is-with-asn.1-records'{
                                         field1=a,
                                         field2=b}.

    x() -&gt;
        #some_record_name{
       field1=a,
       field2=b}.

This changes the indentation to be like below for both cases:

    some_function() -&gt;
        #some_record{
           field1=a,
           field2=b}.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved indentation of old catch.</title>
<updated>2010-06-01T11:16:39+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2010-05-28T08:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=16d48acbde6cd272c02ce7db2fd4dc8ad973f7d2'/>
<id>16d48acbde6cd272c02ce7db2fd4dc8ad973f7d2</id>
<content type='text'>
An example that didn't work previously.
case Foo of 
     {ok, X} -&gt;
         ok;
     _ -&gt;
         catch file:close(FD)
end.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An example that didn't work previously.
case Foo of 
     {ok, X} -&gt;
         ok;
     _ -&gt;
         catch file:close(FD)
end.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added more type highlighting and fixed record indentation with types.</title>
<updated>2010-06-01T11:16:39+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2010-05-27T08:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=6f1e1cd1e2c36e2d4b46d64b25ad6dff7cbe3609'/>
<id>6f1e1cd1e2c36e2d4b46d64b25ad6dff7cbe3609</id>
<content type='text'>
Type highlighting reported by Jay Nelson
  non_neg_integer() will highlight purple but pos_integer() does not.

Closing record indentation problem reported by Maxim Treskin:

-record(state, {
         sequence_number = 1          :: integer()
                                                      }).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Type highlighting reported by Jay Nelson
  non_neg_integer() will highlight purple but pos_integer() does not.

Closing record indentation problem reported by Maxim Treskin:

-record(state, {
         sequence_number = 1          :: integer()
                                                      }).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation of records with line breaks inside lists</title>
<updated>2010-05-18T22:38:26+00:00</updated>
<author>
<name>Magnus Henoch</name>
<email>magnus@erlang-solutions.com</email>
</author>
<published>2010-05-18T22:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=1f32cb47e3d6f8f93228f6d42a91fc483e03b57f'/>
<id>1f32cb47e3d6f8f93228f6d42a91fc483e03b57f</id>
<content type='text'>
Trying to indent this piece of code by hitting TAB on each line:

foo() -&gt;
    [#foo{
	foo = foo}].

used to cause an error.  Fix by ignoring errors when trying to skip
backwards from a record.

Also add this test case to test.erl.orig and test.erl.indented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trying to indent this piece of code by hitting TAB on each line:

foo() -&gt;
    [#foo{
	foo = foo}].

used to cause an error.  Fix by ignoring errors when trying to skip
backwards from a record.

Also add this test case to test.erl.orig and test.erl.indented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/emacs-bugfixes' into dev</title>
<updated>2010-03-22T15:08:29+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-03-22T15:08:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=99101783758b3e4805284aaec16d34dc3597158e'/>
<id>99101783758b3e4805284aaec16d34dc3597158e</id>
<content type='text'>
* dgud/emacs-bugfixes:
  Fix another -spec() problem
  Add missing elisp files to the the release target
  Fix electric semi-colon and tuples inside lists

OTP-8530 dgud/emacs-bugfixes

Fixed emacs-mode installation problems and some other minor issues.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/emacs-bugfixes:
  Fix another -spec() problem
  Add missing elisp files to the the release target
  Fix electric semi-colon and tuples inside lists

OTP-8530 dgud/emacs-bugfixes

Fixed emacs-mode installation problems and some other minor issues.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix another -spec() problem</title>
<updated>2010-03-15T13:09:56+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2010-03-15T09:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=228e1f013f99e2d2fb4ee0f7a9cb5d21638756a8'/>
<id>228e1f013f99e2d2fb4ee0f7a9cb5d21638756a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix electric semi-colon and tuples inside lists</title>
<updated>2010-03-15T13:09:50+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2010-02-24T15:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/erlang.git/commit/?id=824ba9639ef6973c4c26b86616b2625b37ef2595'/>
<id>824ba9639ef6973c4c26b86616b2625b37ef2595</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
