On 8/15/10 11:36 AM, Enrico Forestieri wrote:
On Mon, Apr 12, 2010 at 05:16:43PM +0200, rgh...@lyx.org wrote:

Author: rgheck
Date: Mon Apr 12 17:16:43 2010
New Revision: 34121
URL: http://www.lyx.org/trac/changeset/34121

Log:
Add a comment.

Modified:
    lyx-devel/trunk/src/buffer_funcs.cpp

Modified: lyx-devel/trunk/src/buffer_funcs.cpp
==============================================================================
--- lyx-devel/trunk/src/buffer_funcs.cpp        Mon Apr 12 17:16:03 2010        
(r34120)
+++ lyx-devel/trunk/src/buffer_funcs.cpp        Mon Apr 12 17:16:43 2010        
(r34121)
@@ -147,6 +147,8 @@
                b->setUnnamed();
                b->setFileName(filename);
        } else
+               // in this case, the user chose the filename, so we assume that 
she
+               // really does want this file.
                b->markDirty();
I don't like this behavior. No editor that I know of behaves like that,
not even notepad (gasp!) on Windows.

There was a long discussion of this, and I think this was the compromise at which we arrived. I'd have to look back at the list to see why, but that's my memory.

rh

Reply via email to