Re: [patch] fix bug 2404

2006-07-17 Thread Georg Baum
Lars Gullik Bjønnes wrote: > I do like this better. > > Would anything change if you used exceptions to handle the case? > No need to return 0 from newFile? would it make anything simpler, or > just more complicated? I think it would make things more complicated, because we know at every place w

Re: [patch] fix bug 2404

2006-07-16 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Sonntag, 16. Juli 2006 16:49 schrieb Lars Gullik Bjønnes: | > Georg Baum <[EMAIL PROTECTED]> writes: | > | > | Another short fix that goes in tomorrow if nobody objects. See | > | http://bugzilla.lyx.org/show_bug.cgi?id=2404 for details. | > | > Why i

Re: [patch] fix bug 2404

2006-07-16 Thread Georg Baum
Am Sonntag, 16. Juli 2006 16:49 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > > | Another short fix that goes in tomorrow if nobody objects. See > | http://bugzilla.lyx.org/show_bug.cgi?id=2404 for details. > > Why is this the correct fix? > > I would have thought a me

Re: [patch] fix bug 2404

2006-07-16 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Another short fix that goes in tomorrow if nobody objects. See | http://bugzilla.lyx.org/show_bug.cgi?id=2404 for details. Why is this the correct fix? I would have thought a message that "this is not a template" and doing nothing (not loading a buffer a