Python code now often is limited either to 80 columns, or to 88 columns.

fci-mode allows drawing a vertical rule at a single column, but not two.

I'd like to do something very similar in appearance to fci-mode, but draw two vertical lines instead of one. The line positions don't need to depend on the value of fill-column: they should just always be columns 79 and 87. I want to show two lines only for python mode. How can I do that?

  • 1
    See library vline.el perhaps. – Drew Oct 29 '18 at 2:12
  • Have you tried column-marker.el? – nega Oct 29 '18 at 17:13
  • I haven't found a way to do this, but instead I use a whitespace-mode face at 88 characters, and an fci-mode line at 80. – Croad Langshan Feb 9 '19 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.