Re: function-local variables in ltmain

2005-08-16 Thread Gary V. Vaughan
Hallo Ralf, Ralf Wildenhues wrote: Hi Albert, * Albert Chin wrote on Sat, Aug 13, 2005 at 09:56:43PM CEST: On Sat, Aug 13, 2005 at 10:40:01AM +0200, Ralf Wildenhues wrote: Gary once mentioned a plan to emulate local variables in m4sh. Indeed I did; and for exactly the reasons you

Re: function-local variables in ltmain

2005-08-16 Thread Ralf Wildenhues
Hi Gary, Welcome back! * Gary V. Vaughan wrote on Tue, Aug 16, 2005 at 01:29:13PM CEST: Ralf Wildenhues wrote: * Albert Chin wrote on Sat, Aug 13, 2005 at 09:56:43PM CEST: On Sat, Aug 13, 2005 at 10:40:01AM +0200, Ralf Wildenhues wrote: Just look at two examples: func_extract_archives uses

Re: function-local variables in ltmain

2005-08-16 Thread Gary V. Vaughan
Hallo Ralf, Ralf Wildenhues wrote: Welcome back! Thanks :-) * Gary V. Vaughan wrote on Tue, Aug 16, 2005 at 01:29:13PM CEST: Ralf Wildenhues wrote: * Albert Chin wrote on Sat, Aug 13, 2005 at 09:56:43PM CEST: On Sat, Aug 13, 2005 at 10:40:01AM +0200, Ralf Wildenhues wrote: Just

SP2NL cleanup

2005-08-16 Thread Stepan Kasal
Hello, attached please find a patch, which changes the check for EBCDIC. 1) I added a comment which explains why \n isn't portable enough. 2) space is space, no need to use \040 3) Change the logic, so that it potentially works even for other charsets. Stepan Kasal 2005-08-16 Stepan Kasal

Re: SP2NL cleanup

2005-08-16 Thread Stepan Kasal
Hello Ralf, thanks for testing my patch. On Tue, Aug 16, 2005 at 04:32:50PM +0200, Ralf Wildenhues wrote: 3) Change the logic, so that it potentially works even for other charsets. Good idea. ... but cannot be fully implemented without od -x or some such. :-( For now, I returned to

Re: function-local variables in ltmain

2005-08-16 Thread Ralf Wildenhues
Hi Gary, * Gary V. Vaughan wrote on Tue, Aug 16, 2005 at 04:06:38PM CEST: Ralf Wildenhues wrote: * Gary V. Vaughan wrote on Tue, Aug 16, 2005 at 01:29:13PM CEST: maintain an m4 map of function name to enumeration encoding, and name the local variables localxx_var_name if output ugliness is

Re: SP2NL cleanup

2005-08-16 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Tue, Aug 16, 2005 at 03:36:21PM CEST: Hello, attached please find a patch, which changes the check for EBCDIC. 1) I added a comment which explains why \n isn't portable enough. 2) space is space, no need to use \040 Not true. :) 3) Change the logic,

Re: function-local variables in ltmain

2005-08-16 Thread Albert Chin
On Tue, Aug 16, 2005 at 12:29:13PM +0100, Gary V. Vaughan wrote: Ralf Wildenhues wrote: * Albert Chin wrote on Sat, Aug 13, 2005 at 09:56:43PM CEST: On Sat, Aug 13, 2005 at 10:40:01AM +0200, Ralf Wildenhues wrote: 2) This looks somewhat ugly in the output, but to a certain extent, it is