commit 9811f424a923bfe455784ac4fb8abdafce2c4c06
parent 6116b9af9245fa503eb577d294c4a3d9eb5661ec
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Wed, 13 Jun 2007 19:35:13 +0000
minor documentation/comment updates
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@460 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/HACKING b/HACKING
@@ -4,12 +4,17 @@ Invoke it like this:
ruby -I lib -w bin/sup
+You'll have to install all gems mentioned in the Rakefile (look for the line
+setting p.extra_deps). If you're on a Debian or Debian-based system (e.g.
+Ubuntu), you'll have to make sure you have a complete Ruby installation,
+especially libssl-ruby.
+
Coding standards
----------------
- Don't wrap code unless it really benefits from it. The days of
80-column displays are long over. But do wrap comments and other
text at whatever Emacs meta-Q does.
-- Use as few parentheses as possible.
+- I like poetry mode.
- Use {} for one-liner blocks and do/end for multi-line blocks.
diff --git a/doc/FAQ.txt b/doc/FAQ.txt
@@ -131,7 +131,6 @@ P: When I run Sup remotely and view an HTML attachment, an existing
Firefox on the *local* machine is redirected to the attachment
file, which it can't find (since it's on the remote machine). How do
I view HTML attachments in this environment?
-
S: Put this in your ~/.mailcap on the machine you run Sup on:
text/html; /usr/bin/firefox -a sup '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -12,9 +12,6 @@ class MessageFormatError < StandardError; end
## i would like, for example, to be able to add in a ruby-talk
## specific module that would detect and link to /ruby-talk:\d+/
## sequences in the text of an email. (how sweet would that be?)
-##
-## TODO: integrate with user's addressbook to render names
-## appropriately.
class Message
SNIPPET_LEN = 80
WRAP_LEN = 80 # wrap at this width