#clojure logs

2008-03-07

06:07baggleshi
12:11rhickeyany emacs folks know how to enter a real tab in clojure-mode?
12:13bagglesack! tabs!
12:13bagglesevil!
12:13baggles<_< >_>
12:15rhickeyhave another suggestion for multiline docstrings?
12:16baggleswhat's wrong with spaces?
12:17rhickeywhen poured into another container, the spaces are in the wrong places, vs stripping tabs first
12:20bagglesoh. not sure I follow. but ok. is this you using docstrings in gui components?
12:45albinowhat's wrong with tabs?
12:57baggleswell, for indenting code, it leads to inconsistencies what with some people using 8-stop mixed with spaces and a 2 shiftwidth and some people just using tabs as the base shiftwidth
12:57baggleshttp://www.cliki.net/Coding Convention
12:57baggles:)
12:58rhickeyright, indenting is unpredictable, I agree, and don't like
12:58rhickeybut the docstrings might be used programmatically, not just looked at in the source
13:56ChouserIf used programmatically, could any set of multiple spaces be collapsed to one?
13:57rhickeysure, just more of a pain than stripping tabs, esp if you want to follow the 2 spaces after . rule
13:57Chouseror alternatively, a new quoting syntax could be used that strips the leading spaces of each wrapped line. I think bash has that.
13:58rhickeybleh, more syntax
13:58Chouser:-)
13:59rhickeyI'm not sure I'll avoid that indefinitely, as it is a common problem (multiline strings)
14:00Chouserwell, wait -- the newline is in the string too, right?
14:00rhickeyright, also easily stripped
14:00Chousercan't you just replace all \n\s+ with "\n "?
14:00rhickeywith a regex
14:01Chouseroh, or with just " " if you want to get rid of the newlines.
14:01Chouserright. you already included syntax for regex... :-)
17:00rhickeyjcowan: could you swap the LTU link for a link to Clojure TV? clojure.blip.tv and the main link to clojure.org?
17:22jcowanI have no Super-Cow Powers at LtU
17:22rhickeyno I meant on this IRC header
17:22jcowanOh, sure
17:24rhickeythanks