Laurie wrote:
Here is another rather nastier example that actually *does* have an
X: line but can still cause severe problems if you try and parse it.
This is because the ABC is embedded in this email where spurious
T: lines and X: lines can occur. In fact you can even get spurious
K: lines
From: John Chambers [EMAIL PROTECTED]
Date: Wed, 06 Mar 2002 20:46:49 UTC
In fact, if you want to have a really simple way of separating ABC
from text, you could just look for a line with a letter in column 1
and a colon in column 2.
This was the very assumption I used when I added a
I have been wondering about this all since I first come across abc, but
I haven't figured it out yet and I have never thought of asking until
now. Anyway:
Is there a good reason why the X: field is required?
* It is not nessecary to separate the tunes since
an empty line is used for that
On Wed 06 Mar 2002 at 12:14PM +, Erik Ronström wrote:
I have been wondering about this all since I first come across abc, but
I haven't figured it out yet and I have never thought of asking until
now. Anyway:
Is there a good reason why the X: field is required?
* It is not
Erik asks:
| Is there a good reason why the X: field is required?
Actually, lots of abc software if very casual about this. My ABC Tune
Finder will dig tunes out of text if they just start with the T: line
and have a K: line. The tune-extraction code generates X:1 if it is
missing. I'm not
Erik writes:
| Also, some programs allow you to select a
| set of tunes using the X: field.
|
| Yes, but nothing says that they shouldn't allow you to select
| enumerated tunes. But if you have individual tunes, there is not much
| reason to select them by number. And even if there are, you can
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de
[EMAIL PROTECTED]
Envoyé : mercredi 6 mars 2002 15:43
[...]
I guess my question about changing this would be is there a
really compelling reason to change it? It seems to be useful.
[...]
Yes,
--- John Chambers writes:
I don't think anyone has suggested abolishing the X: header line. The
suggestion is to make it optional in single-tune files.
I agree completely!
It is in fact optional now, in the sense that tunes on mailing lists
often lack an X: line, and a lot of ABC