Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2018-06-19 05:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.