<div dir="ltr"><div>TL;DR: I think that you can create the file with the filename you want and then open the file in DrRacket instead of using the save menu item to create the file.<br></div><div><br></div>DrRacket is making this call to put-file:<div>
<br></div><div><div>#lang racket/gui</div><div>(put-file </div><div> "Select a file" #f #f #f</div><div> "rkt"</div><div> '() </div><div> '(("Racket Sources" "*.rkt;*.scrbl;*.rktl;*.rktd;*.ss;*.scm") ("Any" "*.*")))</div>
</div><div><br></div><div>and my read of the docs suggests that this call should allow .pmd, as long as .pmd is an "extension that is recognized by the system".</div><div><br></div><div>In any case, as far as I can tell, you cannot work around this and still use save to create the file, I'm sorry to say; it seems to require a change either in the Racket source or possibly in Mac OS X itself.</div>
<div><br></div><div>Robby<br></div>
<div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 1:41 PM, Alec Ramsay <span dir="ltr"><<a href="mailto:a73cram5ay@gmail.com" target="_blank">a73cram5ay@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm using DrRacket on Mac OS X to work through the Pollen <a href="http://mbutterick.github.io/pollen/doc/quick-tour.html" target="_blank">Quick tour</a>.</div>
<div><br></div><div>When saving files with .pp and .pm file extension, I get the popup below as expected and desired (and DrRacket creates files with .pp and .pm file extensions, respectively, no .rkt extension). </div>
<div><br></div><div>However, when I make the file name have a .pmd file extension and save--see Section 2.7 - Markdown Mode--this popup does not appear, and DrRacket simply automatically appends the .rkt extension (which I don't want) and saves. There doesn't seem to be a way to save a file with just a .pmd extension from DrRacket. (Again, you can for .pp and .pm).</div>
<div><br></div><div>What controls when this popup appears and/or how do I get it to appear, so I can create .pmd files from w/in DrRacket?</div><div><br></div><div>Thanks in advance for any tips or suggestions!</div><div>
<br></div><div>Alec<br><div><br></div><div><br></div><div><img src="cid:ii_146ab1bbee42dab8" alt="Inline image 1" width="449" height="162"><br></div></div></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div></div>