<feed xmlns='http://www.w3.org/2005/Atom'>
<title>readline-incdec, branch v0.0.1</title>
<subtitle>Readline bindings to increment and decrement numbers on the command line</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/'/>
<entry>
<title>Add man page</title>
<updated>2021-08-29T14:43:51+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-29T14:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=dc1701625f8a994ff56dac0bd163db94dde26504'/>
<id>dc1701625f8a994ff56dac0bd163db94dde26504</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Idea.txt: Add name ideas</title>
<updated>2021-08-28T23:48:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T23:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=360a41567292184da41db27fe3ea71af8ccaabb7'/>
<id>360a41567292184da41db27fe3ea71af8ccaabb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove pos.pl</title>
<updated>2021-08-28T23:46:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T23:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=05b741a6147fdbb89b5bdffb2e3e1090e1df9d34'/>
<id>05b741a6147fdbb89b5bdffb2e3e1090e1df9d34</id>
<content type='text'>
No longer need this test file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer need this test file.
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Complete the Install section</title>
<updated>2021-08-28T23:46:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T23:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=16e297f319d45f34bc5142236ab9f3e81109d4b6'/>
<id>16e297f319d45f34bc5142236ab9f3e81109d4b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Add a section describing default bindings</title>
<updated>2021-08-28T23:46:32+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T23:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=bd2e97716a98266907e61f85be662079ad75dd48'/>
<id>bd2e97716a98266907e61f85be662079ad75dd48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Add demo screencast</title>
<updated>2021-08-28T23:03:27+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T23:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=8ce814a1995ebb00bf0ef123bf03df3b6a0f212c'/>
<id>8ce814a1995ebb00bf0ef123bf03df3b6a0f212c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>incdec.bash: Remove start position debug prints and TODO</title>
<updated>2021-08-28T22:51:44+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T22:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=685d35ca5ea0a976c670cd533533b03a68951c2d'/>
<id>685d35ca5ea0a976c670cd533533b03a68951c2d</id>
<content type='text'>
This works now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works now.
</pre>
</div>
</content>
</entry>
<entry>
<title>incdec.pm: Clean up code from previous start position commit</title>
<updated>2021-08-28T22:48:35+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T22:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=40289847cae91a317a660d38ec4c6a48164f58f6'/>
<id>40289847cae91a317a660d38ec4c6a48164f58f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>incdec.pm: Always return start position when backwards is on</title>
<updated>2021-08-28T22:47:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T22:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=e56b8c2e88c8c5444f66634dbe3c511a5f37a3d6'/>
<id>e56b8c2e88c8c5444f66634dbe3c511a5f37a3d6</id>
<content type='text'>
Previously, if backwards was on and point was before the first number on
the line, the start position would be set to 0 (when it gets set to
`$previous_match_start`). This means the start position wouldn't get set
to the actual start position of the first number.

We want the actual start position of that number so we can move point
only if it's on or after the current number when changing between
negative and positive numbers.

Also, the `\G` pattern didn't work on some of the `sed` tests because it
matches a number at that position. Since the position wasn't one that
was followed by the number, the regex didn't match a number, and the
increment didn't happen. We can get rid of the special handling for
start position at 0 now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if backwards was on and point was before the first number on
the line, the start position would be set to 0 (when it gets set to
`$previous_match_start`). This means the start position wouldn't get set
to the actual start position of the first number.

We want the actual start position of that number so we can move point
only if it's on or after the current number when changing between
negative and positive numbers.

Also, the `\G` pattern didn't work on some of the `sed` tests because it
matches a number at that position. Since the position wasn't one that
was followed by the number, the regex didn't match a number, and the
increment didn't happen. We can get rid of the special handling for
start position at 0 now.
</pre>
</div>
</content>
</entry>
<entry>
<title>100-increment-decrement: Want to return real start position from incdec</title>
<updated>2021-08-28T20:14:17+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-08-28T20:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/readline-incdec/commit/?id=9be99793b2d7eb4cc28db4cfc615325055d3853f'/>
<id>9be99793b2d7eb4cc28db4cfc615325055d3853f</id>
<content type='text'>
In order to set up point moving only when point is on or after the start
position of the changed number, I want the second return value from
`incdec()` to always give me the correct start position.

Currently, it returns 0 as the start position when backwards is on and
point is before the first number. It should return the start position of
the first number.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to set up point moving only when point is on or after the start
position of the changed number, I want the second return value from
`incdec()` to always give me the correct start position.

Currently, it returns 0 as the start position when backwards is on and
point is before the first number. It should return the start position of
the first number.
</pre>
</div>
</content>
</entry>
</feed>
