On Mar 7, 2006, at 9:10 PM, Robert Kern wrote:
> In this particular case, IPython executes
>
> $EDITOR temp_file
>
> and waits for the process to exit. open starts the application and
> exits
> immediately, so IPython thinks the user has finished editing the
> file. As Ed
> Leafe mentioned, BBEdit comes with a convenient command-line
> executable for just
> this use. Since this is a common idiom for programs that start
> external editors,
> this executable ought to have the desired behavior (possibly
> available through a
> command line option). One should use this executable instead.
It does. I use BBEdit for my Subversion editor, so I have:
SVN_EDITOR='bbedit -w'
in my environmental settings. The '-w' option means 'wait for the
file to close'. What's good about this is that you don't have to quit
BBEdit; simply closing the file ends the 'wait'.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig