Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Born
Am 04.03.2012 23:48, schrieb Andreas Vogel: First of all thanks for your detailed comment. Am 04.03.2012 22:03, schrieb Andreas Born: Am 04.03.2012 18:55, schrieb Andreas Vogel: Please let me summarize this issue after thinking about it again: Right now the submenu command opens a new context

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Vogel
First of all thanks for your detailed comment. Am 04.03.2012 22:03, schrieb Andreas Born: > Am 04.03.2012 18:55, schrieb Andreas Vogel: >> Please let me summarize this issue after thinking about it again: >> >> Right now the submenu command opens a new context. All exported vars in >> the parent

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Born
Am 04.03.2012 18:55, schrieb Andreas Vogel: Please let me summarize this issue after thinking about it again: Right now the submenu command opens a new context. All exported vars in the parent context are also exported to the new context of the submenu. This is the same behaviour like for Unix s

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Vogel
Am 04.03.2012 17:16, schrieb Andreas Vogel: > Am 04.03.2012 15:10, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: >> On 04.03.2012 14:47, Andreas Vogel wrote: >>> Am 04.03.2012 14:18, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 04.03.2012 14:08, Andreas Vogel wrote: > Hi all, > >

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Vogel
Am 04.03.2012 15:10, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: > On 04.03.2012 14:47, Andreas Vogel wrote: >> Am 04.03.2012 14:18, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: >>> On 04.03.2012 14:08, Andreas Vogel wrote: Hi all, This tiny patch makes exported variables really

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.03.2012 14:47, Andreas Vogel wrote: Am 04.03.2012 14:18, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 04.03.2012 14:08, Andreas Vogel wrote: Hi all, This tiny patch makes exported variables really global. Right now exported variables are set in the context of a submenu when running

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Vogel
Am 04.03.2012 14:18, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: > On 04.03.2012 14:08, Andreas Vogel wrote: >> Hi all, >> >> This tiny patch makes exported variables really global. Right now >> exported variables are set in the context of a submenu when running it. >> But any changes to those

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.03.2012 14:08, Andreas Vogel wrote: Hi all, This tiny patch makes exported variables really global. Right now exported variables are set in the context of a submenu when running it. But any changes to those vars are lost when leaving the submenu. This patch sets and exports all vars in the

[PATCH] Making exported variables really global

2012-03-04 Thread Andreas Vogel
Hi all, This tiny patch makes exported variables really global. Right now exported variables are set in the context of a submenu when running it. But any changes to those vars are lost when leaving the submenu. This patch sets and exports all vars in the calling context for the submenu which are e