From: Josef 'Jupp' SCHUGT Date: 2005-08-26T06:42:07+09:00 Subject: Re: [QUIZ] Sodoku Solver (#43) Hi! At Tue, 23 Aug 2005 11:11:46 +0900,Adam Shelly wrote: > aargh. What happened to my tabs? Vanished. Well-known problem in ASCII-artist communities. Follows best current practice to prepare a Ruby program before including it in the text of an e-mail. Valid for all e-mail programs running in Emacsen: 1. mark whole program 2. issue 'M-x untabify' 3. mark whole program again 4. issue 'M-x comment-region' This leaves the program readable while at the same time keeping the whitespace intact. Using 'M-x comment-region' makes sure that the whitespace is no leading one. Some MUAs are known to remove *any* leading whitespace - not just spaces! For making the program runnable again 'M-x uncomment-region' is suficient. irb(main):001:0> algorithm.port(user.mua) == exercise(message.reader) true (^_^) Josef 'Jupp' SCHUGT -- Receiving this message does not necessarily imply that you are expected to understand it. If you do not understand it the best current practice (BCP) is ignoring it. If you only understand parts of it the BCP is ignoring the rest.