Re: [gedit-list] Proposed enhancement
- From: Brandon Thomas <bthomas21 zoominternet net>
- To: Doug McNutt <douglist macnauchtan com>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] Proposed enhancement
- Date: Tue, 17 Feb 2009 10:06:27 -0500
Thank you for this. It was a big help. For the time being I'm going to
use it with a slight tweak (added a ~ to the end of the filename so its
hidden).
I think I am still going to write my plugin though for my suggestion.
My next question: Is there any way to open 2 documents side by side for
analysis? Kind of like a diff between the two?
Brandon
On Sat, 2009-02-14 at 13:24 -0700, Doug McNutt wrote:
> At 12:15 -0500 2/5/09, Brandon Thomas wrote:
> >I'm looking for a way that gedit can save its backups as a revision
> >history instead of just ~. Currently I've modified my gnome session
> >to run a bash script which performs the following:
>
> >gconftool-2 --set --type=string
> >/apps/gedit-2/preferences/editor/save/backup_copy_extension .`date
> >"+%Y%m%d"`~
>
> <ftp://ftp.macnauchtan.com/Software/gedit/Archive>
>
> is a perl script configured as a gedit tool that might help. I have
> been using it for a while and I took some time to document it after
> the __END__ line in the source text.
>
> The result is a time-stamped copy of the current document. I have
> been thinking about a scheme using the diff tool to create patch
> files that represent differences between current and next-recent
> archive files.
>
> The gedit enhancement that would make it work better is a couple of
> additional ${GEDIT_...} environment variables that might be passed to
> tools. In particular a dirty flag to indicate if the current document
> has been changed and not yet saved. A way for a tool to remember
> something small like a string in gedit's environment variable space
> so it would be delivered when the tool is next called would do the
> trick.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]