Pep Turds

May 6th, 2008 § 11 comments

I’ve finally been given the “gift of time” to work on the pro­cess­ing mod­ule PEP — when I was review­ing the text tem­plate, I ran across this:

— Leave the lit­tle Emacs turd at the end of this file alone,
includ­ing the form­feed char­ac­ter (“^L”, or \f).

I should really switch to a turd-friendly edi­tor. I think VIM or Text­mate are scat­o­log­i­cally disinclined.

  • http://python.net/~goodger David Goodger

    It’s also known as an Emacs locals stanza. It’s referred to as a turd with affec­tion, not derision :-)

  • Brett

    =) Blame Barry War­saw for that requirement.

  • jnoller

    I’m sad that I some­how live turd-free!

  • Ben Finney

    Vim is def­i­nitely turd-friendly. You’ve likely seen them: they look like “vim: foo bar=baz :”.

    I usu­ally include the fol­low­ing Emacs-and-Vim turd in my reStruc­tured­Text documents:

    ..
    Local Vari­ables:
    mode: rst
    cod­ing: utf-8
    End:
    vim: filetype-rst :

  • Ben Finney

    Bah. Two prob­lems with that turd: it should read “filetype=rst”, and inden­ta­tion was not pre­served by the com­ment mechanism.

  • jnoller

    Huh, I didn’t know you could embed vim turds into documents.

    In seri­ous­ness, I sort of dis­like embed­ding editor-specific “nuggets of joy” into doc­u­ments — I can see why you might do it, but still.

  • jnoller

    It’s ok — my kid has taught me that every turd is special!

  • Ben Finney

    Vim is def­i­nitely turd-friendly. You’ve likely seen them: they look like “vim: foo bar=baz :”.

    I usu­ally include the fol­low­ing Emacs-and-Vim turd in my reStruc­tured­Text documents:

    ..
    Local Vari­ables:
    mode: rst
    cod­ing: utf-8
    End:
    vim: filetype-rst :

  • Ben Finney

    Bah. Two prob­lems with that turd: it should read “filetype=rst”, and inden­ta­tion was not pre­served by the com­ment mechanism.

  • http://jessenoller.com jnoller

    Huh, I didn’t know you could embed vim turds into documents.

    In seri­ous­ness, I sort of dis­like embed­ding editor-specific “nuggets of joy” into doc­u­ments — I can see why you might do it, but still.

  • http://jessenoller.com jnoller

    It’s ok — my kid has taught me that every turd is special!

What's this?

You are currently reading Pep Turds at jessenoller.com.

meta