Stephen Isard wrote in <[email protected]>: |On Fri, 15 Nov 2024, Steffen Nurpmeso steffen-at-sdaoden.eu |s-nail| |> wrote: |> ... |>|>|> I did[.] |>|>|> If the first character is not a digit it is used as the line- |>|>|> break indicator (by default reverse solidus ‘\’); if it |> is hy‐ |>|>|> phen-minus ‘-’ no symbol is produced. Thereafter one, |> two or |>|>|> three (space separated) numeric values are expected |> ... |>|> i will change it to say "if the last character is not a digit", |>|> you know, then we are backward-compatible. |>|> I hope this is also ok :) |>| |>|Sure! |> |> Even better (maybe), if all empty only the quote character |> compression is performed, but no line wrapping at all. | |I'm not sure that I'm understanding correctly. By "all empty" do you |mean no arguments given after "set quote-fold"? So if the user just |says "set quote-fold", then no folding takes place? That seems sort of |self-contradictory. Just the compression with no wrapping strikes me as
Yes, true, i also had an odd feeling, but then again i did neither want to add another variable, rename that one, etc etc. |at best a niche preference, and not a good candidate for the default |case of no arguments given. If you want to allow for it at all, maybe |better to make the user ask for it explicitly, e.g., with |"set quote-fold=0" Sure thing, but doing this additionally though. (Only decimal 0, other notations still be "real 0".) Nice you said it, one can actually generate a segmentation violation with such a setting! This code is pretty old and was never anything but a hack, i "normally" would write two context objects (quote_compressor and line_folder maybe) and feed them data i would think. Sigh! What a mess. Have to spend time. Ciao Stephen! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | |And in Fall, feel "The Dropbear Bard"s ball(s). | |The banded bear |without a care, |Banged on himself fore'er and e'er | |Farewell, dear collar bear
