From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <680C3DA2-9DBC-4524-8F6E-31885F9E7446@storytotell.org> References: <680C3DA2-9DBC-4524-8F6E-31885F9E7446@storytotell.org> Date: Sat, 15 Aug 2009 01:26:39 +0200 Message-ID: <56a297000908141626l5865febfiad288956c06f357b@mail.gmail.com> From: Noah Evans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Using proportional fonts in Acme for Programming Topicbox-Message-UUID: 4a8cd232-ead5-11e9-9d60-3106f5b1d025 For Lisp variants ask Alex Shinn(alexshinn@gmail.com), he's got an interesting scheme implementation mostly working. It's a summer of code project this year. On Thu, Aug 13, 2009 at 7:55 PM, Daniel Lyons wrote= : > > On Aug 13, 2009, at 3:14 AM, Aaron W. Hsu wrote: > >> So, I was browsing around the other day looking at Acme resources, and I >> discovered an old post from 1995 wherein someone advocated the use of >> proportional fonts for programming in Acme. This surprised me, to say th= e >> least. He even went as far as to mention that SML was the language they = were >> using, and had managed to get a decent indenting pattern for it that was >> just as readable, without messing things up for proportional font users. >> >> I have to admit that I'm a bit skeptical about whether such a technique >> actually works, and so, I thought I would pose some questions to you. > > Bjarne Stroustrup actually advocates this style in "The C++ Programming > Language." > > This discussion reminds me of this elastic tab stops concept: > > =A0http://nickgravgaard.com/elastictabstops/ > > I don't think it made it into any editors, but it would support the kind = of > fancy alignment I like to have in my code while also supporting real font= s, > which I would prefer to use. > >> Thirdly, would you continue using proportional width fonts in cases like >> Lisp code, where you very often see something like the following indenta= tion >> scheme, and how would you resolve these indentation problems with >> proportional width fonts if you did continue to use them? >> >> =A0 =A0 =A0 =A0(let ([foo bar] >> =A0 =A0 =A0 =A0 =A0 =A0 =A0[something else]) >> =A0 =A0 =A0 =A0 =A0(some-func (called again) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(with fun indentation) >> =A0 =A0 =A0 =A0 =A0 (and yet) >> =A0 =A0 =A0 =A0 =A0 (another))) > > > I bet you could set up Emacs to use a proportional font. It can do anythi= ng, > right? :) > > I'd love it if Acme or Plan 9 had good support for some kind of Lisp > variant. > > =97 > Daniel Lyons > > >