[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[OT} Problems with pasting using Gmail, anyone else?

Todd Benson

5/27/2008 9:13:00 PM

I've posted code with correct spacing (indent of 2 spaces) by pasting
from vim into gmail, and I'm missing spaces on lines that have
them.when reading the code I sent through gmail. There's something
I'm obviously missing here (something to do with the 'folding' of
pastes feature that gmail provides?). Here's code pasted from two
sources. I'd appreciate it if you could let me know if it shows up
with the "p bar" line properly indented with 2 spaces.

pasted from gvim:
def foo
p bar
end

pasted from notepad:
def foo
p bar
end

I suspect it's the gmail browser UI for mail that I'm using, but I'm not sure.

Thanks,
Todd

2 Answers

Todd Benson

5/27/2008 9:23:00 PM

0

On Tue, May 27, 2008 at 4:13 PM, Todd Benson <caduceass@gmail.com> wrote:
> I've posted code with correct spacing (indent of 2 spaces) by pasting
> from vim into gmail, and I'm missing spaces on lines that have
> them.when reading the code I sent through gmail.

Never mind. It turns up just fine at the code I was originally
concerned about at...

http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb?key=n00b+question&cginame=namazu.rb&submit=Search&dbname=ruby-talk&max=50&am...

But what about other Gmail readers? Hmm...

Todd

Todd Benson

5/27/2008 9:31:00 PM

0

On Tue, May 27, 2008 at 4:13 PM, Todd Benson <caduceass@gmail.com> wrote:
> pasted from gvim:
> def foo
> p bar
> end
>
> pasted from notepad:
> def foo
> p bar
> end

Confirmed this to be a problem with gmail and/or the
news-group/mail-list gateway. I lose a single space on lines that
start with more than one space on the mail-list.

Todd