Marcus Harnisch writes:
> Second, stop removing temporary files; as long as they are in
/tmp,
> the tmpreaper will get them sooner or later (which, of course, is
> not feasible across all platforms supported by XEmacs).
A well behaved application should clean up after itself.
Sure, but *which* well-behaved application? In a world where you pass
temporary files to an *unknown* third-party application running
asynchronously, you cannot know when the temporary file becomes
unnecessary. On the other hand, how is xdg-open supposed to know that
the file is have received is temporary, and may be cleaned up? How is
the actual viewer application supposed to know? There's no protocol
for this.
xdg-open ought to be able to wait for the launched process to
terminate. It is actually arguable whether it should wait by default,
although this is not likely to change.
This doesn't work in a document-is-window world where programs like
Firefox and OpenOffice allow only one instance of themselves to run at
a time, and additional instances which are started just hand off
responsibility for new documents to the existing instance. Like
xdg-open itself, the viewer process is often ephemeral.
Really, XEmacs ought to detect when GNOME or KDE or Windows or Aqua is
present, and refuse to start at all on the grounds of gross negligence
in design of the environment.
:-)
Or do I mean ":-("? :-(
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta