http://qs321.pair.com?node_id=11118860


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!