Alright, this may be an extreme boundary case, but it just bit me hard at work, so I thought I'd give a heads up.
1) Work server is accessed via SMB.
2) Batch Find All/Replace All is done for some API changes.
3) Second Find All/Replace All is started, alert pops up "would you like to save your changes?" Yes, please.
4) Everything looks good.
5) *Some* files on server *are not changed*. Others are correctly edited.
6) Files that are not saved properly have permissions of rw-r--r--. Files that are saved properly have rw-rw-r--.
Now, the fix is to change permissions, but I want to point out that *this failed silently*. That to me is the problem. If I save the files individually, I get a helpful "The file Foo is locked. Do you want to overwrite it anyway?", but if they're saved as an action from the Find panel... no warnings, no alerts, nothing. Silent failure.
Just FYI.
On 26 Jun 2013, at 20:36, Jason McC. Smith wrote:
[…] *this failed silently*. That to me is the problem. If I save the files individually, I get a helpful "The file Foo is locked. Do you want to overwrite it anyway?", but if they're saved as an action from the Find panel... no warnings, no alerts, nothing. Silent failure.
That’s certainly an oversight, I’ll try to get that improved in the near future, sorry about the inconvenience.
No worries, it's a complex app that I rely on daily, and love to death. These things happen. :)
On Tue, Jul 2, 2013 at 5:11 PM, Allan Odgaard mailinglist@textmate.orgwrote:
On 26 Jun 2013, at 20:36, Jason McC. Smith wrote:
[…] *this failed silently*. That to me is the problem. If I save the
files individually, I get a helpful
"The file Foo is locked. Do you want to overwrite it anyway?", but if they're saved as an action from the Find panel... no warnings, no alerts, nothing. Silent failure.
That’s certainly an oversight, I’ll try to get that improved in the near future, sorry about the inconvenience.
______________________________**_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/**listinfo/textmatehttp://lists.macromates.com/listinfo/textmate
With 2.0-alpha.9449 if saving fails then it will beep and show number of save failures in the status bar, and keep the find dialog open and window marked as containing unsaved changes.
Ideally it would show a sheet with more details, but at least now changes should no longer be silently lost :)
On 3 Jul 2013, at 2:17, Jason McC. Smith wrote:
No worries, it's a complex app that I rely on daily, and love to death. These things happen. :)
On Tue, Jul 2, 2013 at 5:11 PM, Allan Odgaard mailinglist@textmate.orgwrote:
On 26 Jun 2013, at 20:36, Jason McC. Smith wrote:
[…] *this failed silently*. That to me is the problem. If I save the
files individually, I get a helpful
"The file Foo is locked. Do you want to overwrite it anyway?", but if they're saved as an action from the Find panel... no warnings, no alerts, nothing. Silent failure.
That’s certainly an oversight, I’ll try to get that improved in the near future, sorry about the inconvenience.
______________________________**_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/**listinfo/textmatehttp://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
*Beautiful*! Thank you Allan!
On Tue, Jul 23, 2013 at 4:24 PM, Allan Odgaard mailinglist@textmate.orgwrote:
With 2.0-alpha.9449 if saving fails then it will beep and show number of save failures in the status bar, and keep the find dialog open and window marked as containing unsaved changes.
Ideally it would show a sheet with more details, but at least now changes should no longer be silently lost :)
On 3 Jul 2013, at 2:17, Jason McC. Smith wrote:
No worries, it's a complex app that I rely on daily, and love to death.
These things happen. :)
On Tue, Jul 2, 2013 at 5:11 PM, Allan Odgaard mailinglist@textmate.org* *wrote:
On 26 Jun 2013, at 20:36, Jason McC. Smith wrote:
[…] *this failed silently*. That to me is the problem. If I save the
files individually, I get a helpful
"The file Foo is locked. Do you want to overwrite it anyway?", but if they're saved as an action from the Find panel... no warnings, no alerts, nothing. Silent failure.
That’s certainly an oversight, I’ll try to get that improved in the near future, sorry about the inconvenience.
______________________________****_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/****listinfo/textmatehttp://lists.macromates.com/**listinfo/textmate <http://**lists.macromates.com/listinfo/**textmatehttp://lists.macromates.com/listinfo/textmate
______________________________**_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/**listinfo/textmatehttp://lists.macromates.com/listinfo/textmate
______________________________**_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/**listinfo/textmatehttp://lists.macromates.com/listinfo/textmate