<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vis-open-extend, branch main</title>
<subtitle>vis plugin to open files the Plan 9 style</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/'/>
<entry>
<title>use the actual function name of the position conversion function</title>
<updated>2026-05-30T14:20:40+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2026-05-30T14:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=af99bfb2a3be649e10f5fdc81b9bf8aaf4bb2d1c'/>
<id>af99bfb2a3be649e10f5fdc81b9bf8aaf4bb2d1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simplify setting the cursor position by using vis' file:pos_by_linecol</title>
<updated>2026-05-15T22:08:13+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2026-05-15T22:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=12eb98edcb560302d6986596b34de087b9f88431'/>
<id>12eb98edcb560302d6986596b34de087b9f88431</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>parse even file names with column or additional colon characters</title>
<updated>2026-05-15T22:03:14+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-10-22T12:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=1bb06d6529be334c4c16d99f91b027e9f6a148d5'/>
<id>1bb06d6529be334c4c16d99f91b027e9f6a148d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simplify code by use vis' capability to change files during WIN_OPEN</title>
<updated>2026-05-15T21:47:29+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2026-05-15T21:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=a230f0ac3fbd0a9540329b7951b1e8f3eda797de'/>
<id>a230f0ac3fbd0a9540329b7951b1e8f3eda797de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow proper transparent WIN_OPEN event handling</title>
<updated>2024-09-26T13:53:45+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2024-09-26T13:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=3c458c6710ab77d6ec34f051de77435db9ccc089'/>
<id>3c458c6710ab77d6ec34f051de77435db9ccc089</id>
<content type='text'>
Simply changing the file in a single WIN_OPEN event has one of two
possible problems.

1. Problem: We keep the current window
  Then all previously ran WIN_OPEN event handlers have observed a wrong
  file path, leading to broken syntax highlighting for example.
2. Problem: Use a new window
  This solves the 1. Problem by emitting a new WIN_OPEN event with
  the correct file path. However, this leads to plugins like vis-cursors
  to jump to a possibly different line rendering vis-open-extend useless.

The solution to both problems is to split our event handling in two
parts:

On the original event detect the file and the specified line.
Change to the file in a new window, remember the line and stop
the event handling for the first event.

On the second WIN_OPEN event for the correct file path simply
jump to the remembered line.

This allows both plugins vis-open-extend and vis-cursors to work,
if vis-open-extend is loaded after vis-cursors, so our event handler
runs after the one from vis-cursors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simply changing the file in a single WIN_OPEN event has one of two
possible problems.

1. Problem: We keep the current window
  Then all previously ran WIN_OPEN event handlers have observed a wrong
  file path, leading to broken syntax highlighting for example.
2. Problem: Use a new window
  This solves the 1. Problem by emitting a new WIN_OPEN event with
  the correct file path. However, this leads to plugins like vis-cursors
  to jump to a possibly different line rendering vis-open-extend useless.

The solution to both problems is to split our event handling in two
parts:

On the original event detect the file and the specified line.
Change to the file in a new window, remember the line and stop
the event handling for the first event.

On the second WIN_OPEN event for the correct file path simply
jump to the remembered line.

This allows both plugins vis-open-extend and vis-cursors to work,
if vis-open-extend is loaded after vis-cursors, so our event handler
runs after the one from vis-cursors.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: skip if the file with the colon in the name actually exists</title>
<updated>2024-09-24T22:36:54+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-09-24T22:36:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=7e1eceeb9c8cc191ea6d84f47ee3064e1dad8610'/>
<id>7e1eceeb9c8cc191ea6d84f47ee3064e1dad8610</id>
<content type='text'>
This is an attempt to avoid need to add special arguments to vis
like -a or so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an attempt to avoid need to add special arguments to vis
like -a or so.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: there is undocumented interface for creating new win.file</title>
<updated>2024-09-21T10:10:44+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-09-21T10:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=bbf5f8cda0bb09babac06888ab9bac5fa2117048'/>
<id>bbf5f8cda0bb09babac06888ab9bac5fa2117048</id>
<content type='text'>
Perhaps, https://lists.sr.ht/~martanne/devel/%3CD42Y9RUWT1JD.39LJTUER8TDSK@cepl.eu%3E#%3CD4A3NDR7Q6Z3.AM59886VR01B@muhq.space%3E
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Perhaps, https://lists.sr.ht/~martanne/devel/%3CD42Y9RUWT1JD.39LJTUER8TDSK@cepl.eu%3E#%3CD4A3NDR7Q6Z3.AM59886VR01B@muhq.space%3E
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: add missing return</title>
<updated>2024-09-18T15:32:25+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-09-18T15:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=e0ad94a402c1d94113e09cf98c4884608ebcba1b'/>
<id>e0ad94a402c1d94113e09cf98c4884608ebcba1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: add missing file_exists function</title>
<updated>2024-09-18T15:27:42+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-09-18T15:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=25d0064a87c319ab69233d7669e4a5d0370a7afa'/>
<id>25d0064a87c319ab69233d7669e4a5d0370a7afa</id>
<content type='text'>
And try to set corrected win.file.path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And try to set corrected win.file.path
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: initial commit</title>
<updated>2024-09-18T15:07:54+00:00</updated>
<author>
<name>Matěj Cepl</name>
<email>mcepl@cepl.eu</email>
</author>
<published>2024-09-18T15:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-open-extend/commit/?id=c349451d309c96c773c5fb3e04369aef940a8a96'/>
<id>c349451d309c96c773c5fb3e04369aef940a8a96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
