Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: ezyang@MIT.EDU (Edward Z. Yang)
Subject: [sup-talk] Attempt at reply-from hook
Date: Fri, 05 Jun 2009 01:24:36 -0400	[thread overview]
Message-ID: <1244179379-sup-6675@javelin> (raw)
In-Reply-To: <1244029436-sup-6141@ntdws12.chass.utoronto.ca>

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


  reply	other threads:[~2009-06-05  5:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 23:18 Edward Z. Yang
2009-06-02 22:09 ` Ingmar Vanhassel
2009-06-03  2:54   ` Edward Z. Yang
2009-06-03 11:44     ` Ben Walton
2009-06-05  5:24       ` Edward Z. Yang [this message]
2009-06-05 13:37         ` William Morgan
2009-06-06  0:09           ` Edward Z. Yang
2009-06-08 21:34             ` William Morgan
2009-06-08 21:59               ` Edward Z. Yang
     [not found]                 ` <1244502124-sup-7043@cabinet>
2009-06-09  0:12                   ` Edward Z. Yang
     [not found]                     ` <1244518550-sup-6361@cabinet>
2009-06-09  4:06                       ` Edward Z. Yang
2009-06-09 16:52                       ` William Morgan
2009-06-11  3:38                         ` Edward Z. Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244179379-sup-6675@javelin \
    --to=ezyang@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox