Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by clemburg (Curate)
on Nov 02, 2000 at 21:30 UTC ( [id://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
http://www.brainbench.com

  • 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 :-)

    --ZZamboni

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found