vj57 / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

google docs edit emits empty lines #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. google docs edit --title "Foo"
2. write some test with empty lines inside
2. wq!
3. edit the doc again

I expect to see the same content that I previously saves, but the content it 
without the empty lines.
For example,
If I saved a doc with:
"foo

bar"

and edit it again, I'll only get:
f"foo
bar"

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Mac OS X Snow Leopard
Python 2.6
gdata-2.0.14
google 0.9.13
vim 7.3

Original issue reported on code.google.com by g...@infinidat.com on 19 Apr 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Some other notes:
* This happens with documents in txt format
* This happens other text editors, not just vi (e.g. TextEdit)

Original comment by g...@infinidat.com on 19 Apr 2011 at 2:44

GoogleCodeExporter commented 9 years ago
The removal of the empty lines occurs during the load of the doc, not during 
the save

Original comment by g...@infinidat.com on 20 Apr 2011 at 12:49

GoogleCodeExporter commented 9 years ago
That should be "omits" not "emits"

Original comment by CalebEgg on 2 May 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Works correctly with the code from trunk.

Original comment by szy...@endpoint.com on 29 Dec 2012 at 3:45