andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

I press Ctrl+P and Enki frozen. #89

Closed vi closed 11 years ago

vi commented 11 years ago

I meant "Compete symbol under cursor" (which is Ctrl+P in Vim and probably Ctrl+Space in Enki), but it probably tried to show "Print..." dialog...

Probably Ctrl+P should not be this disruptive and should prepare printing in background.

andreikop commented 11 years ago

Which branch?

vi commented 11 years ago

32d28393c1f072d4960d7a899775dcf74f7bf7ca

Note: the freeze itself is because of stale FUSE filesystems mounted somewhere. The question is that Enki does all that in foreground.

andreikop commented 11 years ago

It is common practice to be prepared for network peers fail. I.e. if Enki loads some info from remote network server via TCP, it will use threads, async io etc to make the process fail safe. But, when Enki works with files, it will believe, that file system calls won't freeze. If I made code FS freeze safe, it will be too complicated.

Won't fix