jEdit Community - Resources for users of the jEdit Text Editor
Jedit thinks it crashed when it opens a second instance
Submitted by andreweans on Tuesday, 7 August, 2007 - 03:38
Jedit has a useful feature that if it crashes (or my system crashes), then the next time I start jedit, it will see my autosave files, tell me that it crashed, and offer to load the autosave files instead of the manually saved (old) versions.

When I first installed it, I had it assigned as the default program to handle txt files. However, I discovered that when I already had it running, and had some unsaved (but autosaved) files open, then if I tried to open a txt file from windows explorer, then a second instance of jedit would start, and tell me that it thought it had crashed (because it found autosave files), and offer to load the autosave files. This worried me because it apparently was unaware of (or unable to coordinate with) the instance of jedit which was already running, and I was afraid that in that case, one instance might clobber file changes made by the other instance. To be safe, I changed the default program for txt files to wordpad, to prevent a second instance of jedit from starting when I open txt files from windows explorer.

Why does jedit not recognize that the presence of autosave files is due to an already-running other instance of jedit rather than due to jedit having crashed?

In order to avoid the problem, is there a way I can set jedit as the default program for txt files but have it open those files in the already-running instance rather than open a new instance?
User login
Browse archives
« March 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82338
Context Free Art (*.cfdg)   0.31   46042
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18107
ColdFusion scheme   1.0   18015
R Edit Mode - extensive version   0.1   17461
Advanced HTML edit mode   1.0   16194
Matlab Edit Mode   1.0   16056
jEdit XP icons   1.0   15220
XP icons for jEdit   1.1   14281