One of our greatest and most original living writers sets out the perils of the writing life with joyful provocation