[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: email-style italics: MARKUP.PM



** Reply to message from Paul Lagasse  on
Sun, 10 Aug 2008 10:21:09 -0400

Paul:

Skipping for the nonce the issue of Email addresses, in your
sample paragraph, I really don't understand WHY there are
unbalanced tags. E.g. what is the purpose of unbalanced "I
don't think it's _usable in any later versions"? If that's an
error, then it's an error. I don't see how the parent program
that created this usage of underscore could possibly
discriminate between a tag that means Bold On/Off, and a tag
that means something else... Or are we to assume that these
tags are always inserted manually, and recipients are always
assumed to discriminate -- to translate them appropriately as
Bold in their heads when that's clearly what they mean, and
otherwise to interpret them as something else?

Actually, you _can_ stop, fix, and resume from the current
location in the file: the program operates from the *current
location* to End_Of_File (not from Top_Of_File to EOF).

The way MARKUP.PM is designed, if you're verifying each change,
it treats them as balanced pairs, not as individual tags, so
when you elect NOT to make the change, it skips both members of
the pair and moves on to the first tag in the next-following
pair. That halves the number of "change" PRompts you have to
deal with (no small matter when there are, say, 518 underscores
as in one of my test files). Obviously we could stop on each
tag, and then, if skipped, treat the next following tag as the
first member of a new pair. And the user could be forced to
verify each beginning/ending tag -- and be shown the exact tag
that will be put if they proceed with the change. That would
solve the problem with tags that appear in Email addresses or
other similar situations. It's adds to the user's burden, but
ensures accuracy. Is that what you want? Or do you prefer the
"convert this pair, correct this pair, or skip this _ and move
to next _" formula? And dump any check for balance or
even-numberedness, except a simple check for basic existence? I
don't really care -- although you have to remember that when
you're staring at the Begin tag, it isn't always obvious or even
visible where the End tag is (for example, in a long
"quotation"). Remember, I'm trying to get away from the notion
that * and _ are the only tags involved -- far too parochial.
You should be able to change "quotation" to “-” or
whatever...

R.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------