R
Ronny
(This article was originally posted in comp.emacs.xemacs, as this is
the place
where it belongs to, but I didn't get any response there. Hopefully
there are
some Perl programmers using Xemacs who can help me here...)
I'm using Xemacs "right out of the box" to edit Perl code. Xemacs
correctly switches on CPerl mode automatically. However, it seems to
have
a very particular idea, how a Perl program should be laid out: Suppose
I write
a function definition like this:
sub myfunc($)
{
As soon as I type the {, Xemacs positions it exactly under the "$"
sign:
sub myfunc($)
{
(i.e. it places the brace under the $ sign, which is silly IMO).
I suspect that CPerl mode does not properly recognize this as the
start of a function definition at all...
Is this a known problem and does someone have a solution for it?
Ronald
the place
where it belongs to, but I didn't get any response there. Hopefully
there are
some Perl programmers using Xemacs who can help me here...)
I'm using Xemacs "right out of the box" to edit Perl code. Xemacs
correctly switches on CPerl mode automatically. However, it seems to
have
a very particular idea, how a Perl program should be laid out: Suppose
I write
a function definition like this:
sub myfunc($)
{
As soon as I type the {, Xemacs positions it exactly under the "$"
sign:
sub myfunc($)
{
(i.e. it places the brace under the $ sign, which is silly IMO).
I suspect that CPerl mode does not properly recognize this as the
start of a function definition at all...
Is this a known problem and does someone have a solution for it?
Ronald