From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 5 Jan 2007 00:26:21 -0500 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] python indent acme proportional fonts ah joy In-Reply-To: <13426df10701041941k6954773g671210b1d107c264@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10701041941k6954773g671210b1d107c264@mail.gmail.com> Topicbox-Message-UUID: fd05d4bc-ead1-11e9-9d60-3106f5b1d025 > reminiscent of the 'free your mind Luke' discussion a few years ago on > indents in code and Acme and fonts and ... > > I'm finding that I am counting spaces in acme when I get the > occasional python 'unindent' error. You may think those columns are > aligned, but that's just the proportional font showing. > > Guess I gotta find a fixed font for editing in acme. You can toggle a window into and out of fixed width mode by typing Font in the tag and then executing it (middle click). Also, as long as the lines only contain leading spaces you should see alignment the same in the variable-width font -- the width of a space is still constant. It is just a smaller constant in the variable-width font, so sometimes it is hard to see whether you are looking at six spaces or seven. Also, try acme -a. It really helps in cases like these. It takes about a day to get used to, but then you won't go anywhere without it. Russ