From mboxrd@z Thu Jan 1 00:00:00 1970 From: ezyang@MIT.EDU (Edward Z. Yang) Date: Fri, 05 Jun 2009 01:24:36 -0400 Subject: [sup-talk] Attempt at reply-from hook In-Reply-To: <1244029436-sup-6141@ntdws12.chass.utoronto.ca> References: <1243898254-sup-7513@javelin> <1243980495-sup-7229@cannonball> <1243997614-sup-7485@javelin> <1244029436-sup-6141@ntdws12.chass.utoronto.ca> Message-ID: <1244179379-sup-6675@javelin> Excerpts from Ben Walton's message of Wed Jun 03 07:44:24 -0400 2009: > Redwood::log "my message" > > Then, look in the log buffer. I tried probing several ways. - The reply-from.rb hook is being called. - The message variable does exist. - The message.has_label? "mylabel" returns false, as the body of the if statement never gets logged. (My contention is that the message very clearly has that label, so wtf). - It is difficult to get a str representation of the message I am still stymied. Cheers, Edward