Quantcast

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Hrotkó Gábor

[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri Feb 17, 2017 05:34 PM UTC
Owner: nobody
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
  • assigned_to: Alan Ezust
  • Group: -->

[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri Feb 17, 2017 05:35 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor
  • status: open --> pending-rejected
  • Comment:

I tried applying the patch to the svn trunk but it did not apply cleanly for MiscUtilities.java.
Can you please try to freshen the patch to the latest SVN? I like your ideas.


[patches:#596] #501 Auto-save untitled buffers - patch

Status: pending-rejected
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Sun Mar 19, 2017 08:53 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Hrotkó Gábor
In reply to this post by Hrotkó Gábor

Please find the updated patch against rev. 24670 attached.

Attachments:


[patches:#596] #501 Auto-save untitled buffers - patch

Status: pending-rejected
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Mon Mar 27, 2017 11:23 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Hrotkó Gábor
In reply to this post by Hrotkó Gábor

Hi Alan,

can you review my patch? I could promote jedit with more success by this feature.
By the way, I use the version with this path for months without any issue.

Thanx!


[patches:#596] #501 Auto-save untitled buffers - patch

Status: pending-rejected
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri Mar 31, 2017 03:28 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] Re: #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2

I am so sorry for not getting around to this!! I do plan to put it into
jEdit but I've been away from my home development box for a couple of
weeks. I will be home next week and then I am away for 2 more weeks.
I will try extra hard to get it into the svn trunk next week.

thanks again for your contribution!!

On Fri, May 5, 2017 at 3:44 PM, "Hrotkó Gábor" [hidden email] wrote:

Hi Alan,

can you review my patch? I could promote jedit with more success by this
feature.
By the way, I use the version with this path for months without any issue.

Thanx!


[patches:#596] #501 Auto-save untitled buffers - patch

Status: pending-rejected
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri Mar 31, 2017 03:28 PM UTC
Owner: Alan Ezust
Attachments:

  • <a class="" href="https://sourceforge.net/p/jedit/ patches/596/attachment/saveUntitled.patch">saveUntitled.patch (22.0 kB; text/x-patch)

I created a patch for the feature request: "#501 Auto-save untitled
buffers".
Altough the settings "Autosave untitled buffers" exists, but not working
like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked
(default):
- the untitled buffers will be autosaved when closing jedit, without a
question prompt
- the autosave for an untitled buffer saved to
<jedit_settings_dir>/autosave, and reloaded after a restart (the state
persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because you indicated interest in <
https://sourceforge.net/p/jedit/patches/596/>

To unsubscribe from further messages, please visit <
https://sourceforge.net/auth/subscriptions/>


[patches:#596] #501 Auto-save untitled buffers - patch

Status: pending-rejected
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri May 05, 2017 07:44 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor
  • status: pending-rejected --> open

[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Fri May 05, 2017 07:44 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] Re: #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor

Just tried this verison of the patch. it does not apply cleanly either :-(


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Mon May 08, 2017 01:18 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Hrotkó Gábor
In reply to this post by Hrotkó Gábor

This is against 24674, and I tested it also.

Attachments:


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Mon May 08, 2017 01:18 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] Re: #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2

That applies cleanly and I am testing it now.


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Tue May 09, 2017 09:57 AM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor

I like it! And it makes my feature "never mark untitled buffers dirty" totally obsolete, since the main reason I put that in was so I could exit without worrying about dirty untitled buffers. I guess I will have to remove that before the next release.


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Tue May 09, 2017 09:57 AM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor

Testing it with Editpane Scope Buffersets, there is an inconsistency. This is not going to cause me to lose sleep over, but it is something...

If I close the dirty untitled-1 buffer from view#1, the only view that has it open, I am asked if i want to save the untitled buffer. But if I close view#2 with an untitled-2 buffer that is not open in view#1, it does not ask me to save, and the contents are lost. If later, I create a new untitled-2 buffer, it is empty.


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Tue May 09, 2017 05:24 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Hrotkó Gábor
In reply to this post by Hrotkó Gábor

I added a simple solution for this:
When you have more than one view opened, and close a view with untitled buffers:
all of it's untitled buffers will be moved to the first or last opened view's active editpane's bufferset.
Works fine, no untitled buffer will be lost. Also for EditPane and View scopes.
I think the help also should be updated with these infos.

Attachments:


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Tue May 09, 2017 05:49 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] Re: #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2

Oh I like your solution very much. Elegant.


[patches:#596] #501 Auto-save untitled buffers - patch

Status: open
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Sat May 13, 2017 09:04 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:patches] #596 #501 Auto-save untitled buffers - patch

Alan Ezust-2
In reply to this post by Hrotkó Gábor
  • status: open --> closed-accepted
  • Comment:

Committed revision 24675.
Thanks for your contribution!


[patches:#596] #501 Auto-save untitled buffers - patch

Status: closed-accepted
Group:
Labels: untitled autosave
Created: Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
Last Updated: Sat May 13, 2017 09:04 PM UTC
Owner: Alan Ezust
Attachments:

I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file

Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Loading...