Debate general Setting up your editor

  • Monday, February 07, 2011 7:07 PM
     
     

    HI,

    I've just installed Sho and set up Emacs following the directions in the Book of Sho. Unfortunately this didn't work as expected. I had to change

    sys.Sho.EditorArgs = "+%l %f"

    to

    sys.Sho.EditorArgs = "+%l \"%f\""

    Otherwise Emacs is confused by the spaces in my path (C:\Program Files (x86)\Sho 2.0 for .NET 4\Sho\).

     

All Replies

  • Friday, February 11, 2011 4:28 PM
    Moderator
     
     
    Thanks Bootvis, you're quite right; if your path has spaces you'll need those extra escaped quotes, and your suggestion makes it safe for all paths.  Great suggestion!  We'll update that in the book.