Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Breathing life into the (Emacs) cperl-mode

by bojinlund (Monsignor)
on Jul 03, 2020 at 10:47 UTC ( [id://11118860]=note: print w/replies, xml ) Need Help??


in reply to Breathing life into the (Emacs) cperl-mode

Very good!

I have in most of my Perl files:

# (compile (concat "perltidy " (buffer-name)) nil) # (ediff-files (concat (buffer-name) ".tdy") (buffer-name))
to make it easy to tidy up a file.

A command in the modernized cperl-mode to run perltidy with the input from a emacs buffer hade been good!?

Replies are listed 'Best First'.
Re^2: Breathing life into the (Emacs) cperl-mode
by haj (Vicar) on Jul 03, 2020 at 13:03 UTC

    So something like perltidy-mode?

    Or rather, run perltidy with input from a buffer which has not yet been saved, and write the output to another buffer? I guess that makes sense (probably also for perlcritic). Please open an issue at my Github Repo!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found