This is a multi-part message in MIME format.

--Multipart_Thu__21_Aug_2003_12:50:53_-0700_08480a80
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Attached is a patch for ruby-mode.el that adds font hilighting for
<<HERE documents, as well as identation handling that's identical to
in/ίΕ.  (That's where I stole the code from. ;)

I'd actually like to have nicer indentation handling, but I'm afraid I
don't quite get how ruby-calculate-indent works. ;-)  If someone had a
pointer or two, I'd like to try making it work somewhat like text-mode.

Anyhow, here's what I've got currently.

-- 
Ryan Pavlik <rpav / users.sf.net>

"Let super-dimensional physics take its course!" - 8BT

--Multipart_Thu__21_Aug_2003_12:50:53_-0700_08480a80
Content-Type: application/octet-stream;
 nameuby-mode.el.patch"
Content-Disposition: attachment;
 filenameuby-mode.el.patch"
Content-Transfer-Encoding: base64

LS0tIHJ1YnktbW9kZS5lbAkyMDAzLTA4LTIxIDExOjUyOjI3LjAwMDAwMDAwMCAtMDcwMAorKysg
cnVieS1tb2RlLmVsLXJwYXYJMjAwMy0wOC0yMSAxMjozODo1MC4wMDAwMDAwMDAgLTA3MDAKQEAg
LTYxLDcgKzYxLDcgQEAKICAgKGNvbmNhdCAiWz8kLyUoKXt9I1wiJ2AuOl1cXHxcXFtcXHxcXF1c
XHxcXDxcXCgiCiAJICBydWJ5LWJsb2NrLWJlZy1yZQogCSAgIlxcfCIgcnVieS1ibG9jay1lbmQt
cmUKLQkgICJcXClcXD5cXHxePWJlZ2luIikKKwkgICJcXClcXD5cXHxePWJlZ2luXFx8XFw8XFw8
Wy1dP1tcIiddP1xcKFtBLVpdK1xcKVtcIiddPyIpCiAgICkKIAogKGRlZmNvbnN0IHJ1YnktbmVn
YXRpdmUKQEAgLTQ1Miw2ICs0NTIsMTEgQEAKIAkJICAgIChmb3J3YXJkLWxpbmUgMSkKIAkJICAo
c2V0cSBpbi1zdHJpbmcgKG1hdGNoLWVuZCAwKSkKIAkJICAoZ290by1jaGFyIGluZGVudC1wb2lu
dCkpKQorCSAgICAgICAoKGxvb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IiddPyIgbmlsIHQpCisJICAgIChwcm9n
bgorCSAgICAgIChiZWdpbm5pbmctb2YtbGluZSkKKyAgICAgICAgICAgICAgKGZvcndhcmQtbGlu
ZSkKKwkgICAgICAoc2V0cSBiZWcgKHBvaW50KSkpKSkKKyAgICAgIChpZiAoYW5kIGJlZyAocmUt
c2VhcmNoLWZvcndhcmQgKG1hdGNoLXN0cmluZyAxKSBuaWwgdCkpCisJICAocHJvZ24KKwkgICAg
KHNldC1tYXRjaC1kYXRhIChsaXN0IGJlZyAocG9pbnQpKSkKKwkgICAgdCkKKwluaWwpKSkKKwor
CiAgIChkZWZ2YXIgcnVieS1mb250LWxvY2sta2V5d29yZHMKICAgICAobGlzdAogICAgICAoY29u
cyAoY29uY2F0CkBAIC04MzMsNiArODY1LDEzIEBACiAgICAgICAgMCBmb250LWxvY2stY29tbWVu
dC1mYWNlIHQpCiAgICAgICcocnVieS1mb250LWxvY2stbWF5YmUtZG9jcwogICAgICAgIDAgZm9u
dC1sb2NrLWNvbW1lbnQtZmFjZSB0KQorICAgICA7OyAiaGVyZSIgZG9jdW1lbnQKKyAgICAgJyhy
dWJ5LWZvbnQtbG9jay1oZXJlLWRvY3MKKyAgICAgICAwIGZvbnQtbG9jay1zdHJpbmctZmFjZSB0
KQorICAgICAnKHJ1YnktZm9udC1sb2NrLW1heWJlLWhlcmUtZG9jcworICAgICAgIDAgZm9udC1s
b2NrLXN0cmluZy1mYWNlIHQpCisgICAgICcoIlxcKFxcPFxcPFstXT9bXCInXT9bQS1aXStbXCIn
XT9cXCkiCisgICAgICAgMSBmb250LWxvY2stc3RyaW5nLWZhY2UgdCkKICAgICAgOzsgY29uc3Rh
bnRzCiAgICAgICcoIlxcKF5cXHxbXl9dXFwpXFxiXFwoW0EtWl0rXFwoXFx3XFx8X1xcKSpcXCki
CiAgICAgICAgMiBmb250LWxvY2stdHlwZS1mYWNlKQo-Multipart_Thu__21_Aug_2003_12:50:53_-0700_08480a80--