jEdit Community - Resources for users of the jEdit Text Editor
Autosave of untitled buffers on Vista.
Submitted by Nick Payne on Sunday, 9 November, 2008 - 08:30
Works fine on XP, but on Vista this fails with an error messagebox: "C:\Program Files\jEdit\#Untitled-1#: Cannot save: java.io.FileNotFoundException: C:\Program Files\jEdit\#Untitled-1# (Access is denied)".

I can't see anywhere in Options to change the autosave path away from the Program Files dir. I have 4.3pre15 installed on Vista Business.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
i know it's been a while since this topic was opened...
by Eddie on Sat, 09/10/2010 - 15:00
...and most people might already know it, but windows 7 has the same issue. and the reason why it has that problem is that account control thingy they invented for vista.
if you open jedit as Administrator it will work.

bye, Eddie
 
Work-around
by pdegregorio on Wed, 30/03/2011 - 10:04
For me (Windows 7 x64 SP 1) what works is to change the jEdit shortcut "Start in" directory from C:\Program Files\jEdit to C:\Backup\jEdit where "C:\Backup\jEdit" is the previously configured jEdit file backup location.

Running jEdit with elevated rights "as administrator" is unnecessary and to be avoided, in my opinion.

There's a bug in SourceForge on this.
Don't remember exactly, but i
by elberry on Mon, 10/11/2008 - 08:14
Don't remember exactly, but it's under the saving and backup options.


Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
That's only for backup files
by Nick Payne on Mon, 10/11/2008 - 09:34
And I already have that set to another dir. It doesn't affect the initial location where jEdit tries to save an untitled buffer, which defaults to the program dir.

For the moment I have disabled saving of an untitled buffer - no point having it on when it fails.
 
Ah. Sorry, I misread the post
by elberry on Tue, 11/11/2008 - 05:01
Ah. Sorry, I misread the post. Sorry, I saw the #[filename]# and thought backups.

Yeah, I don't see an option for the untitled buffer thing either. If this is a feature you would like to have, please create a feature request ticket in the tracker.


Learn from the past. Live in the present. Plan for the future.
11101000
Blog
User login
Browse archives
« April 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
 
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293