Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 313 by gordon.sommers: read only
http://code.google.com/p/yi-editor/issues/detail?id=313

What steps will reproduce the problem?
1. open a read only file (that you own)
2. edit
3. write

What is the expected output? What do you see instead?
Expected: a warning or something (a la vim / emacs) that says "this file is read only!" Got: it just saved anyway (no warning) -- this should be a simple fix; it just needs to check if the file is writable by the current user and if not offer a warning. A :w! or emacs-style prompt as a follow up would then take care of follow-through.

Please provide relevant version information:
yi 0.6.2.3 (jun 21 2010)

What version of Yi are you using? yi 0.6.2.3 (jun 21 2010)
What version of GHC? 6.12.3
What version of Cabal? cabal library 1.8.0.6, cabal-install 0.8.2
What operating system/version? linux



--
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to