Can i change global settings in random .leo file?
On 25.2.2012 11:21 Edward K. Ream wrote: Leo's core uses c.config.getX to get almost all settings. This is as it should be: such settings include those in the "local" file, the file being loaded. In contrast, Leo's core (and the mod_http plugin) use g.app.config.getX to get *global* settings. Global settings include only settings in leoSettings.leo and myLeoSettings.leo. These methods are called *before* any local file has been loaded. Confusingly, the g.app.config.getX getters include an optional "c" argument. At present, if c is a commander, g.app.config.getX(c) is equivalent to c.config.getX(). This optional argument obscures what g.app.config is supposed to do. I shall eliminate it unless somebody complains bitterly, and probably even then ;-) Your comments, please. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
