(hehe... typo on 'cold' node wording, just meant 'code' node) On Sunday, May 23, 2021 at 4:34:19 PM UTC-4 Félix wrote:
> Thanks for this Rob. Never noticed this before :) > > I tried, and it's true that extract (a common command I also use often) > seems to remove trailing (white) lines. (tested with trailing empty lines > and some with space characters in them. they were all removed. (never > really noticed this before because I lazily select what I want from the top > and dont care where i stop after the chunk of code in many empty lines > below it.) > > But in cases where people are writing text that is not code, or code that > wants some empty lines here and there for some reason, this can be > annoying. I propose that there should be an option to turn off the cleanup > of empty trailing lines when using the extract command, so that selected > empty lines are part of the cold node being created. > > (Steve please notice Rob is talking about trailing empty lines. not > trailing whitespace at the end of lines containing some text.) > > Thanks again - and yeah. maybe fill an issue on github for that :) > > -- > Félix > > > > On Sun, May 23, 2021 at 4:27 PM Rob <[email protected]> wrote: > >> Thanks for the reply. >> >> What meaning could possibly be assigned to trailing whitespace? What >>> purpose could trailing whitespace have? >> >> >> The trailing white space serves a very specific purpose for me. I'm not >> writing computer code, I'm writing documents. After running my script, I >> have to manually go in and add back the blank lines between sections >> (paragraphs, etc.) >> >> >>> Wouldn't there be a >>> better way of signifying whatever is intended than trailing >>> whitespace you can't visually detect? >>> >> >> The whitespace is clearly visible by its absence after it's been stripped >> out. Perhaps for coding, that's desirable (don't know as I don't code >> much), for documents, I need white space between paragraphs and sections, >> especially how I'm using it, needing visual separation for easier reading >> while giving a presentation. >> >> >>> Apropos to nothing but a strong opinion I have, what's worse than >>> trailing whitespace is the mixing of spaces and tabs. Because >>> there's no visual way to tell the difference, and the games Vim >>> and other editors play in converting between the two, mixing spaces and >>> tabs is a horror movie just waiting to happen. >>> >> >> I agree with this and don't use tabs, just spaces. >> >> Rob... >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "leo-editor" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/leo-editor/eb666ced-e825-4787-98b4-10a6535d0d13n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/leo-editor/eb666ced-e825-4787-98b4-10a6535d0d13n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/938edcf3-ed24-4412-a9c0-30582836237en%40googlegroups.com.
