jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
276 stars 56 forks source link

suggestion: use a reproducible name for preview #148

Open Hugo-Heagren opened 2 years ago

Hugo-Heagren commented 2 years ago

I had to write a long, important emai today and I wanted it to be just right. I used the preview function to check how it read in html, then edited the org source, then previewed again, iterating a few times. Because the preview function uses make-temp-file to generate the filename to open, the generated file is gauranteed to be in a different place each time, thus opening a new browser tab (or xwidget buffer, if you use that) every time! This becomes a hassle quickly -- ideally I would like behaviuor a bit more like working on a latex document, where the generated output is in the same place every time. Then I would only have to refresh the browser window (or setup a hot-refresh for the file or something).

So, could we use a reproducible method to create the filename?