|--==> "SJT" == Stephen J Turnbull <stephen(a)xemacs.org> writes:
>>>>>"SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SJT> Why should XEmacs quit?
SY> Consistency. A large proportion of the software that I use
SY> (all open source, predominately GNU) seem to do things this
SY> way.
SJT> There's only one that's anything like XEmacs. And you don't use
that,
SJT> do you? ;-)
,----[ C-u M-! which emacs RET ]
| which: no emacs in ( path elided )
`----
:-)
SJT> Seriously, quitting and displaying help is a reasonable fallback, but
SJT> we should be able to do better.
Yes.
SY> Yes it is[1]. So '--help' wouldn't be appropriate here. But
SY> a very terse "Illegal option: '-something'; if '-something'
is
SY> a filename please use '--file=-something'" would be enough.
SJT> This implies executing XEmacs three times to accomplish the task if
SJT> they aren't interested in editing a file with name beginning with
"-",
SJT> but really forgot what option they want.
Good point.
I think you suggested somewhere else in this thread of displaying
something in a warnings buffer, that sounds like the best option.
You've convinced this lil XEmacs hacker. :-)
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|