orgzly-revived / orgzly-android-revived

Outliner for taking notes and managing to-do lists
https://www.orgzlyrevived.com
GNU General Public License v3.0
602 stars 38 forks source link

Display fill-paragraph content properly #296

Open k4r4b3y opened 2 months ago

k4r4b3y commented 2 months ago

I take my notes on desktop emacs with fill-paragraph command (M-q). This neatly organizes the paragraph's lines to be less than 80 or so characters, and moves the remaining line to one below with inserting a new line.

All this is good, but on Orgzly Revived app, the notes written this way, get displayed with broken lines, switching to the next line abruptly before even filling the Orgzly Revived's screen.

Is it possible that Orgzly Revived displays the M-q -applied paragraphs as if they were single, continuous lines? This would improve readability of the notes for users like me who use M-q to fill the paragraphs written on desktop emacs.

amberin commented 2 months ago

I have been hit by this, too. But these are just regular newlines in the text file -- how could Orgzly know which newlines to replace with spaces, and which to leave intact?

I ended up moving away from hard newlines in my .org files, as I came to the conclusion that inserting newlines at column 80 makes much less sense for notes, than when editing code. And since Emacs does have the ability to soft-wrap any way the user wants, I haven't missed my hard newlines since.

k4r4b3y commented 1 month ago

But these are just regular newlines in the text file -- how could Orgzly know which newlines to replace with spaces, and which to leave intact?

Yeah it is a tough problem.


I ended up reading my notes inside Orgzly Revived in Landscape mode. That way, horizontally the Orgzly Revived screen is wide enough to properly extend beyond the M-q applied lines. That way, the lines look visually correct.