Discussion:
[notepad-plus - Help] NPP hanged on Ctrl+S, can I rescue "new 2"?
(too old to reply)
SourceForge.net
2009-01-12 21:38:53 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6090228
By: henrik_e

I did as I always do - Ctrl+N and type notes. After a while I thought it was
time to save, so I pressed Ctrl+S. The file pane opened, turned white, and I
clicked cancel. Then NPP turned white and I got the "hour glass" pointer.

My current theory is that NPP/explorer.exe sent a request to all storage devices,
and my external USB harddisk was slow in responding. It can also be a bug, of
course. What I did next was to see if it was available, Windows+Run, then I
typed h: + Enter. Whereupon Windows hung so hard I couldn't even re-start
explorer.exe (my fix of choice for example when a program refuses to close
down).

Now, I have XP 64-bit, and at a glance I can't find out whether my 5.1.2 Unicode
is for 64-bit or 32-bit. The zip is 3.10 MB (3,258,582 bytes), if that helps.
Any recommendations for a version that is proper for my would be appreciated.


But right now, I'm just looking for a way to

a) somehow find any temporary file the text was saved in, before it was Saved
As..., so to speak. Possible? If not, would this be a possible new feature -
i.e. saving to temp before opening the file dialog, just in case that fails?

b) auto-backup every n minutes, for example with a plug-in, so it doesn't happen
again. Harddisk space is cheap. I don't know what the backup function I enabled
does - is that to stop you from overwriting existing files only/rollback?

/Henrik


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-13 00:58:41 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6092646
By: harrybharry

a) No temporary files. If N++ crashes, dumps are generated (at least its tried,
it is a crash after all). I dont think writing a temp file right before save
is a good idea, way to much load on the harddisk (besides, if explorer is having
trouble with the disks, who guarantees notepad++ wont, some user might decide
the USB is the best place for temp storage).

b) Such a plugin exists methinks, not sure for unnamed files though. Search
the forums or the web, dunno where it is at.

There is no x64 version of notepad++, it runs fine in wow64 (and the same goes
for linux+wine :))

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-13 00:59:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6092650
By: harrybharry

Sidenote: Wine has issues, but it runs

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-13 10:10:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6096206
By: henrik_e

a) Well, any solution will do so long as my words are not deleted cos the program
hangs.

b) autosave (of all changed files) every 5 mins would be good. There is a plugin
by Franco Stellari, but I've emailed him about it, I haven't seen an autosaved
file from the plugin yet.

I'm sure you can see my point. Something like those hidden files Microsoft Word
saves regularly in order to not lose user data.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-15 19:29:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6129654
By: henrik_e

His plugin doesn't prevent text from getting lost either. If I learn (and remember,
every single time or else!!) to always press Ctrl+S after I press Ctrl+N (ie.
create a new file and name it before typing into it), is there a plugin that
will let me set the interval between autosave?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-15 19:32:26 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6129735
By: henrik_e

His plugin doesn't prevent text from getting lost either. If I learn (and remember,
every single time or else!!) to always press Ctrl+S after I press Ctrl+N (ie.
create a new file and name it before typing into it), is there a plugin that
will let me set the interval between autosave?

(ps. The forum (of sorts) seems to have incurred a lower character limit to
the topics? It told me the topic was too long, and reloaded the page, kindly
deleting the text in this textarea.

Luckily I had the proper mode set in Opera, so I could go back in my browser
and not have to type it again.)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-01-15 20:16:03 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=6130261
By: harrybharry

I dont know about the timeinterval of the autosave plugin,you should ask the
author (if he still maintains it).
Personally I stick with my opinion notepad++ shouldnt create temp files out
of nowhere. If some other developer thinks otherwise, Im not going to stop them.
But as it currently stands (new feature or not) you can only go by 'save and
safe often' since there is no real restore functionality.

Also, if Windows explorer hangs, jank your network cable/usb device/tape drive
if possible, sounds more like a timeout that anything else (in other words,
be patient, dont terminate the process).

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

Continue reading on narkive:
Loading...