On Thu, Jul 29, 2004 at 11:11:53PM +0200, Richard Jelinek <rj@petamem.com> wrote: > Well folding is great and we are used to it. Unfortunatedly, this only works, > if the perl source code is kept in ISO-8859 encoding. As soon as the > source code is UTF-8, folding.el still works like a charm, but Perl > won't. It simply doesn't see the folded sections anymore. > > Seems the tokenizer/parser of perl ignores/oversees lines that are > after such an alternate line-end code. Sounds weird, unless its using just a CR preceded by a # comment, which would indeed make the next "line" be ignored. Can you place these 4 lines at the very beginning of your file, run it and save the output, and send a portion that has the broken folding? use Data::Dumper; $Data::Dumper::Useqq = 1; print Dumper <DATA>; __DATA__Thread Previous | Thread Next