[Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
I just encountered a nasty problem: When I have multiple Lazarus installations (trunk, branches, snapshot...), the common Lazarus configuration is used by default (when no --pcp is specified). Actually I wondered about many error messages on an IDE rebuild, until I noticed that the (default) c

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: I just encountered a nasty problem: When I have multiple Lazarus installations (trunk, branches, snapshot...), the common Lazarus configuration is used by default (when no --pcp is specified). Actually I wondered about many error messages on

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Vincent Snijders
2011/3/30 Hans-Peter Diettrich : > Can somebody please clarify the intended procedure for configuring multiple > parallel Lazarus installations? > Always specify the primary config directory, if you have multiple parallel Lazarus installations. You may add the --pcp parameter in the shortcut you u

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Andreas Schneider
On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: > Well, definitely not on Unix. > On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus "installed" in his home directory; i.e. without "make inst

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 10:56, Andreas Schneider wrote: On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus "installed" in

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mark Morgan Lloyd
Andreas Schneider wrote: On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus "installed" in his home directory

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 12:02, Martin wrote: The problem is many users install a 2nd copy, but do not know True. My idea (but I havent got the time) would be: - lazarus remembers it's own exe-path in the enviroments-options.xml - if the exe path changes, lazarus gives a warning (can be switched of

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 11:37:06AM +0200, Vincent Snijders wrote: > > Can somebody please clarify the intended procedure for configuring multiple > > parallel Lazarus installations? > > > > Always specify the primary config directory, if you have multiple > parallel Lazarus installations. You may

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich wrote: > I just encountered a nasty problem: > > When I have multiple Lazarus installations (trunk, branches, snapshot...), > the common Lazarus configuration is used by default (when no --pcp is > specified). Actually I wondered about many e

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Zaher Dirkey hat am 30. März 2011 um 14:26 geschrieben: > > > > On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich [mailto:drdiettri...@aol.com] >wrote: > > > I just encountered a nasty problem: > > > > When I have multiple Lazarus installations (trunk, branches, snapshot...), >

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE directory should never contain config files. I dare to

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 12:16, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE director

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 14:23, Mattias Gaertner wrote: Zaher Dirkey hat am 30. März 2011 um 14:26 geschrieben: On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich mailto:drdiettri...@aol.com>> wrote: I just encountered a nasty problem: When I have multiple Lazarus installations (trun

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE direc

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Paulo Costa
On 30/03/2011 14:49, michael.vancann...@wisa.be wrote: Don't try to force Windows habits on Unix users. Beware! It's more a single user versus multi user mindset. And it is a memory optimization, by having the same executable on disk, and in memory, for multiple users. It has also the downs

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Felipe Monteiro de Carvalho
Maybe Lazarus should simply come with a sh script and a batch script, which would do: ./startlazarus --pcp=./config and startlazarus.exe --pcp=config They could be called: singleuserlazarus.sh and singleuserlazarus.bat -- Felipe Monteiro de Carvalho -- ___

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Felipe Monteiro de Carvalho hat am 30. März 2011 um 16:20 geschrieben: > Maybe Lazarus should simply come with a sh script and a batch script, > which would do: > > ./startlazarus --pcp=./config > > and > > startlazarus.exe --pcp=config > > They could be called: singleuserlazarus.sh and sing

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Where does the IDE look for the configuration? If no --pcp is given it uses Under windows: PrimaryConfigPath:= ExtractFilePath(ChompPathDelim(SysToUTF8(GetAppConfigDir(False + 'lazarus'; all other: ~/.lazarus This will be the common configuration,

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Felipe Monteiro de Carvalho
2011/3/30 Mattias Gaertner : > It's not only for single user. > > Maybe better localconfiglazarus? Indeed, that's a better name. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freep

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Hans-Peter Diettrich hat am 30. März 2011 um 17:29 geschrieben: >[...] > What's the purpose of specifying a Lazarus directory, other than the one > with the IDE?  I guess, with 'IDE' you mean the lazarus executable. This executable may be in the config directory, when the Lazarus directory i

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely no

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Mark Morgan Lloyd wrote: michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 03:17:36PM +0100, Paulo Costa wrote: > It's more a single user versus multi user mindset. And it is a memory > optimization, by having the same executable on disk, and in memory, for > multiple users. > It has also the downside that, for it to be effective, it forces all t

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 11:02:04 +0100 Martin wrote: > On 30/03/2011 10:56, Andreas Schneider wrote: >[...] > The problem is many users install a 2nd copy, but do not know > > My idea (but I havent got the time) would be: > - lazarus remembers it's own exe-path in the enviroments-options.xml > -

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
Martin schrieb: But that is only where to search: - That is: IF there was a config in the local director, then yes maybe it would be good to use this local config That's what I want. - Except: people who had lazarus for a long time, and kept upgrading, may still have an old 0.9.24 config th

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitel

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
Paulo Costa schrieb: On 30/03/2011 14:49, michael.vancann...@wisa.be wrote: Don't try to force Windows habits on Unix users. Beware! It's more a single user versus multi user mindset. Right, and Lazarus is in what category??? In a multi-user environment (company network) an administrator

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. The real question, without using command line how to share config file between Windows and Linux at the same computer, (export/import it is bad idea). Let me point where is my con

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Zaher Dirkey wrote: You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. The real question, without using command line how to share config file between Windows and Linux at the same computer, (export/impo

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
On Thu, Mar 31, 2011 at 12:17 AM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > > On Wed, 30 Mar 2011, Zaher Dirkey wrote: > > You all repeat another discuses, while the end user like me, still have >> problem to share him config espicialy for IDE. >> >> The real question, without usin

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread waldo kitty
On 3/30/2011 09:49, michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: I dare to disagree. A SVN checkout is writeable, and this is where the EXE is stored, along with the related source files. Consequently the config should be stored there as well. No, no and

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Bart
On 3/31/11, Zaher Dirkey wrote: > I already have this answer before. this command line params, that mean i > must make shortcut for it, and i am not sure if lazarus will take it when > rebuild packages and restart. I use Lazarus with the --pcp=SomePath from a Desktop Shortcut under Windows (and L

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Mattias Gaertner
On Thu, 31 Mar 2011 10:17:07 +0200 Bart wrote: > On 3/31/11, Zaher Dirkey wrote: > > I already have this answer before. this command line params, that mean i > > must make shortcut for it, and i am not sure if lazarus will take it when > > rebuild packages and restart. > > I use Lazarus with th

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. I dare to disagree. A SVN checkout is writeable, and this is where the EXE is stored, along with the related source files. Consequently the config should be stored there a

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Hans-Peter Diettrich
Vincent Snijders schrieb: 2011/3/30 Hans-Peter Diettrich : Can somebody please clarify the intended procedure for configuring multiple parallel Lazarus installations? Always specify the primary config directory, if you have multiple parallel Lazarus installations. That's only the very last

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: The only point I was trying to make is that on UNIX (and only on Unix) looking by default in the directory where the binary is, goes against long-standing unix practise and recommendations. Depends on what you consider UNIX. I understand that ParamStr[0] may get

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Hans-Peter Diettrich
Zaher Dirkey schrieb: You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. IMO the current config is not shareable, due to the many absolute pathes in it. The real question, without using command line how to share config file

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 12:15, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: No unix tool does this. Not even when it is freshly (re)built from sources. And neither should Lazarus. I claimed no more, no less. I never said that Lazarus should *break* that convention. If the convention is to

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Graeme Geldenhuys
On 31/03/2011 12:22, Hans-Peter Diettrich wrote: Try compiling different versions of any unix application - this is where repository checkouts enter the scene. And then try to use all these versions in parallel... I do this often, and have no problems. Why? Because the apps I use (in this exa

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Mattias Gaertner
    Hans-Peter Diettrich hat am 31. März 2011 um 13:50 geschrieben: >[...] > > http://wiki.freepascal.org/Multiple_Lazarus#The_config_directory > > Thanks for this link - as is, it fully supports my opinions :-] > >  >> >   The config directory > [...] > The config directory can be shared betwee

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Marco van de Voort
On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote: > > problem to share him config espicialy for IDE. > > IMO the current config is not shareable, due to the many absolute pathes > in it. Interesting. How did you test this? Did you try the lazarus-dir parameter approach? IIRC

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Andreas Schneider
On Thursday, March 31, 2011 12:22 Hans-Peter Diettrich wrote: > Right, but this is only a workaround, that requires much care in making > it work. Did you ever notice the many error messages and warnings, at > the first start of a another Lazarus installation, when it tries to > initialize itself

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Mattias Gaertner
    Martin hat am 31. März 2011 um 13:22 geschrieben: >[...] > This whole discussion seems to mix 2 issues into one: > - problems caused by using the wrong config due to none awareness (imho > the main issue)  +1   > - convenience of using multiply configs. > > Searching for config files in the

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 13:09, Mattias Gaertner wrote: Martin hat am 31. März 2011 um 13:22 geschrieben: >[...] > This whole discussion seems to mix 2 issues into one: > - problems caused by using the wrong config due to none awareness (imho > the main issue) +1 > - convenience of using multiply confi

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Lukasz Sokol
On 31/03/2011 13:02, Andreas Schneider wrote: > Sorry, but a newbie shouldn't juggle with a bunch of lazarus > installations of different versions in the first place. Either you > know what you are doing, or you don't. In the latter case: stay away > from it until you do :D > What

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Hans-Peter Diettrich
Martin schrieb: This whole discussion seems to mix 2 issues into one: - problems caused by using the wrong config due to none awareness (imho the main issue) - convenience of using multiply configs. The first problem disappears as soon as a config resides in the Lazarus directory, next the

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 21:09, Hans-Peter Diettrich wrote: Martin schrieb: This whole discussion seems to mix 2 issues into one: - problems caused by using the wrong config due to none awareness (imho the main issue) - convenience of using multiply configs. The first problem disappears as soon as a c

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Try compiling different versions of any unix application - this is where repository checkouts enter the scene. And then try to use all these versions in parallel... I do this often, and have no problems. Why? Because the apps I use (in this example Mozilla Firefox),

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: > Searching for config files in the exe dir (even if done) doesn't solve > the first issue, as there may not be any config files in that directory > to start with. Then the IDE creates defaults. Where is that default config created, in the primary or secondary

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: > Searching for config files in the exe dir (even if done) doesn't solve > the first issue, as there may not be any config files in that directory > to start with. Then the IDE creates defaults. No. This is: - if a search in the exe-dir is added, (so the the behaviour will

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote: problem to share him config espicialy for IDE. IMO the current config is not shareable, due to the many absolute pathes in it. Interesting. How did you test this? It bites me whenever I try to

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Mattias Gaertner
  Hans-Peter Diettrich hat am 1. April 2011 um 05:46 geschrieben: >[...] > Where is that default config created, in the primary or secondary config > path?  It seems you don't know what the secondary configs are. The secondary configs are templates for the primary configs. The installers and ad

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Mattias Gaertner
  Hans-Peter Diettrich hat am 1. April 2011 um 06:23 geschrieben: >[...]  > If a global config is found, but is invalid/incompatible, a local config > should be created.  Define invalid.     >[...]  > > About primary and secondary config paths: > At least on my Windows the Lazarus directory

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Lukasz Sokol
On 01/04/2011 10:27, Hans-Peter Diettrich wrote: > Marco van de Voort schrieb: >> On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote: problem to share him config espicialy for IDE. >>> IMO the current config is not shareable, due to the many absolute pathes in >>> it. >> >>

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Martin
On 01/04/2011 05:23, Hans-Peter Diettrich wrote: Martin schrieb: > Searching for config files in the exe dir (even if done) doesn't solve > the first issue, as there may not be any config files in that directory > to start with. Then the IDE creates defaults. No. This is: - if a search i

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Reimar Grabowski
On Fri, 01 Apr 2011 11:32:11 +0200 Hans-Peter Diettrich wrote: > You possibly forget that then you'll have to initialize all those added > configs, and when you want to change something, for all installations, > every single config has to be edited - a maintenance nightmare :-( Maintenance nigh

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Henry Vermaak
On 01/04/11 15:55, Reimar Grabowski wrote: On Fri, 01 Apr 2011 11:32:11 +0200 Hans-Peter Diettrich wrote: You possibly forget that then you'll have to initialize all those added configs, and when you want to change something, for all installations, every single config has to be edited - a main

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. sounds good at first, but is actually worse. Because this behaviour is unpredictable from the end users view. Unpredictable why? Currently the results are unpredictable, when the IDE

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: > If a global config is found, but is invalid/incompatible, a local config should be created. Define invalid. That's up to the (already existing) IDE code. > About primary and secondary config paths: > At least on my Windows the Lazarus directory is listed

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: >[...] > Where is that default config created, in the primary or secondary config > path? It seems you don't know what the secondary configs are. That's why I'm asking ;-) The secondary configs are templates for the primary configs. The installers and adminis

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: ...let me explain a bit more what I tried to explain before (and had in my last mail too) It would only help, if you totally abandon all global config. don't even look for a global anymore, only check the exe folder, nowhere else. Why that? When multiple directories are in

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Mattias Gaertner
On Sat, 02 Apr 2011 00:45:56 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > > If a global config is found, but is invalid/incompatible, a local > > config should be created. > > > > Define invalid. > > That's up to the (already existing) IDE code. Already existing: file

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Mattias Gaertner
On Sat, 02 Apr 2011 02:48:06 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >[...] > > The secondary configs are templates for the primary configs. The > > installers and administrators can create templates. > > There exist other opinions as well :-( I explained how it is i

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Martin
On 02/04/2011 00:45, Hans-Peter Diettrich wrote: Martin schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. sounds good at first, but is actually worse. Because this behaviour is unpredictable from the end users view. Unpredictable why? Bec

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Martin
On 02/04/2011 04:33, Hans-Peter Diettrich wrote: Martin schrieb: ...let me explain a bit more what I tried to explain before (and had in my last mail too) It would only help, if you totally abandon all global config. don't even look for a global anymore, only check the exe folder, nowhere el

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: BTW, my experiments indicate that putting an environmentoptions.xml into the Lazarus directory (scp) will make the IDE use these settings, but only if there exists no config in the default location. The full config then is written back to the *default* location (pcp),

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Hans-Peter Diettrich
Martin schrieb: On 02/04/2011 00:45, Hans-Peter Diettrich wrote: Martin schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. sounds good at first, but is actually worse. Because this behaviour is unpredictable from the end users view. Unpred

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Where can I find the documentation for the templates? There is not much to know: The secondary have obviously the same format as the primary configs. The values depends on version. They are human readable xml and you should not edit them manually. Use the IDE to creat

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Hans-Peter Diettrich
Martin schrieb: When multiple directories are in a search path, the search stops on the first item (file...) found. That's common practice, isn't it? I explained below, but I do again. In order for that to work, WITHOUT the user needing to be aware of doing anything. EVERY lazarus must come

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Mattias Gaertner
On Sat, 02 Apr 2011 14:15:22 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> BTW, my experiments indicate that putting an environmentoptions.xml into > >> the Lazarus directory (scp) will make the IDE use these settings, but > >> only if there exists no config in the defau

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Mattias Gaertner
On Sat, 02 Apr 2011 16:17:25 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> Where can I find the documentation for the templates? > > > > There is not much to know: > > The secondary have obviously the same format as the primary configs. > > The values depends on version.

Re: [Lazarus] Lazarus config woes

2011-04-03 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Where can I find the documentation for the templates? There is not much to know: The secondary have obviously the same format as the primary configs. The values depends on version. They are human readable xml and you should not edit them manually. Use the IDE to create

Re: [Lazarus] Lazarus config woes

2011-04-03 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: BTW, my experiments indicate that putting an environmentoptions.xml into the Lazarus directory (scp) will make the IDE use these settings, but only if there exists no config in the default location. The full config then is written back to the *default* location (pcp),