On Wed, 28 Jul 1999 18:34:20 +0100, Arnd Hanses wrote:
>On Wed, 28 Jul 1999 17:55:00 +0200 (MET DST), Jean-Marc Lasgouttes
>wrote:
>
>>>>>>> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:
>>
>>Arnd> On Wed, 28 Jul 1999 11:01:21 +0200 (MET DST), Jean-Marc
>>Arnd> Lasgouttes wrote:
>>>>>> BTW I like your suggestion of using isalnum().
>>>>
>>Arnd> Well, it's only a macro shorthand.
>>>>
>>Arnd> Please note, until filetools.C are cleaned, I have to let '.'
>>Arnd> (dots) pass through this filter. I could not find a safe and
>>Arnd> efficient method for stripping and later re-adding path prefix
>>Arnd> and extension suffix, thus avoiding the problem with single
>>Arnd> (sole) trailing dots.
>>>> Why do you need to handle `.'?
>>
>>Arnd> Else foobarxlyx instead of foobar.lyx will result. This is
>>Arnd> because I could not find (became confused with extension
>>Arnd> handling there) the right way to strip extensions including
>>Arnd> dots. But this (i.e. extension handling in filetools.C) has to
>>Arnd> be cleaned up anyway.
>>
>>But why do you turn . into something else? They do not cause any
>>problem, as far a I know.
>
>Just the other way round:
>
>>Arnd> Please note, until filetools.C are cleaned, I have to let '.'
>>Arnd> (dots) pass through this filter.
>
>They pass through untouched.....
>
>This is not, what the method's name says.
I rechecked my patch again and could no more find obvious mistakes. Now
LyX is finally doing what I want on my box. I think you can now safely
compile and stress-test, if you have a little time (or even read it, if
you want).
Bye,
Arnd