Text reflow woes (or: I want bullets back!)y

Aaron Janse aaron at ajanse.me
Thu Jan 16 20:50:45 GMT 2020


On Thu, Jan 16, 2020, at 12:26 PM, solderpunk wrote:
> But everybody writing for Gopherspace (which is many people here) must
> face precisely this problem, because hard-wrapping is basically compulsory
> there.

And my understanding is that while Gemini isn't supposed to be a Gopher 2.0,
it's supposed to make it better than Gopher. I think that non-hard-wrapping
could be a big step towards this goal.

lel said:
> Adding an arbitrary cap to line lengths purely so that a hypothetical
> mobile client doesn't require 10-20 lines of wrapping code (code that
> Google suggests already exists in the Android SDK and merely has to be
> invoked) seems absurd to me, particularly when the wrapping itself is
> trivial, and this is entirely because word-wrapping is considered
> preferable to naive, occasionally-mid-word wrapping.

Honestly, even if it takes 40 lines of code, I'd rather write that then
manually wrap every single gemini document I ever write. 

> What are other people doing, writing in "long line" form and
> then feeding the result to `fmt` or `par` before uploading?

For things such as email, after manually wrapping quotes, I think using
`fmt` or `par` is the most efficient way to wrap text. However, this only
works for text that's written once, such as emails. This doesn't work for
continually edited content such as websites.

> If you're hosting shared gemini content for a group of non-technical users,
> it might make sense for your server to automatically reformat gemini files
> before sending them

I don't have a problem with people "rendering" into Gemini. I just think that
the spec shouldn't make it necessary. Rendering/compiling into Gemini adds
a level of indirection that hides the transparency that makes me love the
protocol.

Cheers!


More information about the Gemini mailing list