The problem that the glob check solves is subtle,
and it only has to do with error messages.
Imagine you want to read a file into the current buffer.
You use the shorthand

r z*

because you believe this will grab the correct file.
But z* doesn't match anything.
Since we are globbing you get the error message

shell pattern doesn't match any files

or something like that.
Now if you're sure the file is called z*, or even zz,
and you type

r zz

you don't want to get that error message.
But that's what you get if you glob.
I know that you didn't want to glob, and didn't mean to glob,
and I give the other error message

cannot open file zz

Other than clear error messages corresponding to what you are trying to do,
the check probably doesn't change a thing.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to