<p>OK, thanks for the tip. I'll put it in a PR.</p>
<p>Cheers</p>
<div class="gmail_quote">On Jun 18, 2012 11:49 AM, "MinRK" <<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote">On Sun, Jun 17, 2012 at 6:39 PM, Kent Inverarity <span dir="ltr"><<a href="mailto:kent.inverarity@adelaide.edu.au" target="_blank">kent.inverarity@adelaide.edu.au</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
There is a bug in the notebook where the notebook name is truncated at<br>
the first period in the filename when you open it -- and subsequently<br>
renamed when you save it. If you are using a period near the start of<br>
your filenames, this is annoying because you lose whatever the rest of<br>
the filename is as soon as you hit Ctrl+S.<br>
<br>
Presumably a better behaviour would be to truncate at the last period<br>
in the filename? I've attached a git patch file which does this.<br>
<br>
I didn't open an issue or PR in Github, as I'm not sure which is the<br>
best place to bring this sort of thing up.<br></blockquote><div><br></div><div>The best place is a PR if you have a fix.  Though neither the code we have nor your patch is precisely correct.</div><div><br></div><div>It should be:</div>


<div><br></div><div>name = os.path.splitext(os.path.basename(path))[0]</div><div><br></div><div>If you want to do a PR with that change, please do, or I can push if you don't want to.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<br>
Cheers<br>
<br>
Kent<br>
<br>
--<br>
--<br>
Kent Inverarity<br>
<br>
<br>
--<br>
--<br>
Kent Inverarity<br>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div>