martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.19k stars 259 forks source link

X/re/q doesn't work #1090

Closed QiBaobin closed 1 year ago

QiBaobin commented 1 year ago

Thanks for the great work, it seems that X/re-files/q doesn't work.

rnpnr commented 1 year ago

It seems to work here. Can you give steps to reproduce? What I did:

  1. vis foo bar foobar
  2. :X/foo/q
  3. only bar is still open
QiBaobin commented 1 year ago
  1. vise *.md
  2. :X/md/q
  3. only the first file are closed
  4. :X/md/ i/test works well

vis v0.7-74-gc9737a7 +curses +lua

rnpnr commented 1 year ago

I'm still not able to reproduce. I am however able to reliably produce a segfault by doing:

  1. vis {a,b,c,d}.md
  2. :X/md/ i/test
  3. :X/md/q!