deadpixi/sam

Sam and non-opened files

aksr opened this issue · 0 comments

aksr commented
  1. Open a non-existing file, e.g.: sam nonexistingfile.
  2. Execute, for example, q or w.
  3. Cursor changes and it's impossible to quit (etc.) without opening the window of the file first.

(It could be related to the previous bug: #77)

Edit: It doesn't matter if the file exists or not; when the file exists, executing X w doesn't work. This implies the problem is a some kind of race condition: executing q or X w etc. triggers a message (or an error) which isn't shown until the file is opened.

I think #77 has to be solved in a more general way.

I'll try to investigate this further.