Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

RE: RE: Re: how to indent/pretty print perl code

by clemburg (Curate)
on Nov 02, 2000 at 21:30 UTC ( #39695=note: print w/ replies, xml ) Need Help??

in reply to RE: Re: how to indent/pretty print perl code
in thread how to indent/pretty print perl code

Yup, you are right about cperl mode. It's just that I don't know a better replacement. In my experience, nearly all modes for Perl break on complicated constructs (this is BTW a good incentive to keep your Perl readable).

If you can find out where this "pretty-print" option comes from, it should not be hard to automate it, too - I will be glad to help (though I don't use xemacs, but GNU emacs, and pretty-print is not there in my emacs :-( ... might be the incentive to go for xemacs?).

Christian Lemburg
Brainbench MVP for Perl

Comment on RE: RE: Re: how to indent/pretty print perl code
Replies are listed 'Best First'.
RE: RE: RE: Re: how to indent/pretty print perl code
by ZZamboni (Curate) on Nov 03, 2000 at 18:35 UTC
    I think the package is ps-print.el (I'm from a remote terminal right now, so I can't check thoroughly), and it says it belongs to GNU Emacs, so I would assume it is present there too. When I read the file I assumed it would only work from interactive mode because it says it needs a font-lock package. But if you figure out how to make it work from batch mode, please let me know :-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://39695]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2015-11-30 07:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (763 votes), past polls