Hi!
I really like the blogging bundle. It's amazing. But each time I close the window, I am asked to save the file. I think there are few, if at all, who save their blog entries as files. Wouldn’t it be a better behavior to ask for post to blog? Also I naturally type apple+s, when I am finished. So, I added a copy of the post to blog command and associated this shortcut to it. Storing the file in this case seems similar to post it. What do you think?
Helge
Actually, one of the things I love about blogging in TextMate is how convenient it is to save and return to a post I'm working on... I have all of my templates set to add "Status: Draft" to the header to prevent it from publishing early (before I get tags and other niceties attached). I think that every user is going to differ on how they use the blogging bundle...
A conflict does arise when I have a draft on my drive and I've published it to my blog. If I accidentally republish the one on my drive, it will overwrite the old article with a new timestamp, changing my permalink and messing up my Digg links. Not much can be done about that, other than manually deleting a file after publishing it, I think.
Brett
On 9/27/06 4:06 PM, "Helge Hartmann" helge.hartmann@gmx.de wrote:
Hi!
I really like the blogging bundle. It's amazing. But each time I close the window, I am asked to save the file. I think there are few, if at all, who save their blog entries as files. Wouldn¹t it be a better behavior to ask for post to blog? Also I naturally type apple+s, when I am finished. So, I added a copy of the post to blog command and associated this shortcut to it. Storing the file in this case seems similar to post it. What do you think?
Helge ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 27/9/2006, at 23:06, Helge Hartmann wrote:
[...] each time I close the window, I am asked to save the file. I think there are few, if at all, who save their blog entries as files. Wouldn’t it be a better behavior to ask for post to blog?
I agree that no-one likely saves their blog posts locally after posting, and it would be nice if the Post to Blog could mark the window as no longer modified -- currently though commands can’t do such thing (nor override the close warning). I am not sure how commands could best communicate such thing to TM.
On 9/28/06, Allan Odgaard throw-away-1@macromates.com wrote:
On 27/9/2006, at 23:06, Helge Hartmann wrote:
[...] each time I close the window, I am asked to save the file. I think there are few, if at all, who save their blog entries as files. Wouldn't it be a better behavior to ask for post to blog?
I agree that no-one likely saves their blog posts locally after posting, and it would be nice if the Post to Blog could mark the window as no longer modified -- currently though commands can't do such thing (nor override the close warning). I am not sure how commands could best communicate such thing to TM.
AFAIK If you open a new file, do things with it, then Select All and Delete (so the file is empty again) it doesn't prompt you to delete.
Post to Blog could wipe the content from the file if it is successful, but tbh I just get in the habit of Option - A, Delete, Option - W, if I don't want to be prompted.
Ed