On Fri, 19 Nov 1999, thierry douez wrote:
> Hi,
>
> was trying to find out how to work with emacs as an external editor
> to metacard .... on linux.
>
> what happens is that it launch a new emacs and i have to quit emacs
> to be able to have the scripts changes back to metacard.
>
> is this the normal way ?
Yes.
> i heard about emacs open as a server ? does this help ?
Emacs supports the feature you need to do this, vi doesn't. And the
few people that do this that I know of all want to use vi. If what
you want is Emacs-compatible editing, you're probably better off just
changing the scripts in the Script Editor to add the features you need
(though building macros could be a bit of a challenge ;-)
> can we too imagine working with few emacs buffer, each one of them
> could be a specific script from metacard and then by simply saving the buffer
> in emacs recover the right script into metacard....
>
> Hummm, dreams or a bit of reality in it ?
This can be done, I think. But there's no built-in support for it so
you'd have to script it up yourself. I'm not exactly sure what the
best way to detect the file date change, but I'd guess that checking
it with a shell command on focusIn/openField would be the easiest. If
the date changes, you'd have to read the file in and then set the
script.
Regards,
Scott
> Thanks for guidance
> Regards,
>
> thierry Douez
>
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...