Export/Import Textpad settings

Ideas for new features

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Export/Import Textpad settings

Absolutely
61
72%
Yeah, maybe
18
21%
Don't care
4
5%
Not really
1
1%
No way
1
1%
 
Total votes: 85

User avatar
gracefool
Posts: 76
Joined: Thu Jan 29, 2004 7:21 am
Location: Wellington, New Zealand
Contact:

Post by gracefool »

XML is slower and fatter than a simple configuration file.

It's a configuration file for a specific application. I can't think of any reason another application should ever be interested in it.
User avatar
BenjiSmith
Posts: 49
Joined: Fri Jan 16, 2004 9:37 pm
Contact:

Post by BenjiSmith »

I'd be willing to accept an xml file format for TP settings, as long as TP uses a very basic, non-dtd-validating, xml parser. A basic basic basic xml parser is easy to build, and won't add to much to TextPad's code footprint.

But, adding a dtd-validating, DOM Level 3 complaint xml parser to TP could easly add more than a megabyte to the application size. Totally not worth it.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

But, adding a dtd-validating, DOM Level 3 complaint xml parser to TP could easly add more than a megabyte to the application size. Totally not worth it.
I don't agree that it wouldn't be worth it.

If there were a validating xml parser within textpad, it could be used to validate our own files as well...

But then, a dtd-validating parser wouldn't really fit my needs, I'd need a XSchema-validating parser...
User avatar
gracefool
Posts: 76
Joined: Thu Jan 29, 2004 7:21 am
Location: Wellington, New Zealand
Contact:

Post by gracefool »

MudGuard wrote:If there were a validating xml parser within textpad, it could be used to validate our own files as well...

But then, a dtd-validating parser wouldn't really fit my needs, I'd need a XSchema-validating parser...
Just run a script that does what you need from within Textpad. Simple.

Just because you want something doesn't mean the average user doesn't think it's bloat.
User avatar
Jan Paul
Posts: 21
Joined: Mon Apr 28, 2003 1:24 pm
Location: The Netherlands

Post by Jan Paul »

MudGuard wrote: But then, a dtd-validating parser wouldn't really fit my needs, I'd need a XSchema-validating parser...
Dito: I think it would be a nice addition to TextPad, because now I have to step-out of TextPad all the time. I have not found any XML validator that I could integrate with TextPad at this time...

Maybe this will be a functionality for an add-on?

Jan Paul
User avatar
s_reynisson
Posts: 940
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Get a room funboys! (errr... ok, another thread in any case!)
Then I open up and see
the person fumbling here is me
a different way to be
Kniht
Posts: 4
Joined: Wed Sep 22, 2004 4:08 am

Re: XML for the 21st century

Post by Kniht »

rkrite wrote:
gracefool wrote:XML is a waste of time and resources if the file isn't going to be used in other applications.
Wouldn't assuming that a data source (or file) won't be used for another application be more time wasting than initially giving the file flexability from the beginning, if by some chance the file does become a source of data?
How can you waste time you haven't spent yet? The INI format is easy enough to convert to naive XML if you ever need that functionality, and if you don't, you don't lose anything (presuming INI is more natural to how the settings are internally stored than XML, which is frankly often the case).

Remember, really parsing true XML is harder than you think.
User avatar
RichardBronosky
Posts: 3
Joined: Thu Nov 17, 2005 10:04 pm
Contact:

Windows apps need to learn lessons from *Nix apps!

Post by RichardBronosky »

maniac wrote:i moved everything to a folder - textpad system files in one, syn files, macros, dictionaries, clip, etc in another

then just update all the settings in textpad to reflect that and use those folders, then export the REG file into that folder, zip the folder, and bam

next time you install textpad or whatever, just recreate the folder, unpack, and double click the REG file
This is a fine one off solution. But TextPad has enterprise level customers. It needs an enterprise level solution.

VIM on *Nix boxes has a .vim folder in the user folder. If you tar it you can move it anywhere.

I have hundreds of boxes with VIM configured perfectly. I'm not saying VIM (or *Nix) is easy, but I can "scp bronosky.com/vimconf.tgz; tar -C ~ -zxf vimconf.tgz" in about 4 seconds.
geewizz7
Posts: 11
Joined: Thu Dec 03, 2009 5:38 am

Settings

Post by geewizz7 »

It would be nice to export settings when new people come to work in a company (how often do you rebuild your computer and need to do this?).
However, as sb already pointed out, a simple registry exporting batch file together with zipping up some files does the trick very nicely. Why not just include that batch file in releases of textpad, with a link to it in the start menu?
Post Reply