Pep Turds

I’ve finally been given the “gift of time” to work on the processing module PEP – when I was reviewing the text template, I ran across this:

– Leave the little Emacs turd at the end of this file alone,
including the formfeed character (“^L”, or \f).

I should really switch to a turd-friendly editor. I think VIM or Textmate are scatologically disinclined.

  • Ben Finney
    Vim is definitely turd-friendly. You've likely seen them: they look like "vim: foo bar=baz :".

    I usually include the following Emacs-and-Vim turd in my reStructuredText documents:

    ..
    Local Variables:
    mode: rst
    coding: utf-8
    End:
    vim: filetype-rst :
  • Huh, I didn't know you could embed vim turds into documents.

    In seriousness, I sort of dislike embedding editor-specific "nuggets of joy" into documents - I can see why you might do it, but still.
  • Ben Finney
    Bah. Two problems with that turd: it should read "filetype=rst", and indentation was not preserved by the comment mechanism.
  • It's ok - my kid has taught me that every turd is special!
  • Brett
    =) Blame Barry Warsaw for that requirement.
  • It's also known as an Emacs locals stanza. It's referred to as a turd with affection, not derision :-)
  • I'm sad that I somehow live turd-free!
blog comments powered by Disqus