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

Re: [emacs] RFC live formating / tidying while I type

by zakame (Pilgrim)
on Sep 14, 2016 at 06:22 UTC ( [id://1171720]=note: print w/replies, xml ) Need Help??


in reply to [emacs] RFC live formating / tidying while I type

Sounds like a job for aggresive-indent-mode!

  • Comment on Re: [emacs] RFC live formating / tidying while I type

Replies are listed 'Best First'.
Re^2: [emacs] RFC live formating / tidying while I type
by LanX (Saint) on Sep 14, 2016 at 10:40 UTC
    Thanks, I'll check this out! :)

    Do you use it?

    Looks a bit too aggressive for me, I don't want Emacs to block while I type.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      I usually turn it on explicitly rather than globally enabled (I previously left on but found my aggressive-indent-excluded-modes growing...) Curious about it blocking though, unless there's a lot of backtracking in Emacs' state going on...

        hmm looked into the source, and there is no mention of Perl excludes rules for aggressive-indent-dont-indent-if .

        The git-hub page mentions conflicts with other modes like evil and - unsurprisingly - someone complained his POD is destroyed.

        This can't happen with my approach, though updating aggressive-indent-dont-indent-if with some rules using cperl-mode semantic knowledge might solve this...

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (None)
    As of 2024-04-18 23:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found