"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "tutorial/wipeout-tut19.html" of archive wipeout-tut-1.5.4.tar.gz:


Caution: In this restricted "SfR Fresh" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

17.2. WIPEOUT Integration with XEmacs

GUI examples for XEmacs



Figure 26: WipeOut GUI interface for XEmacs

Prerequisites

  • WIPEOUT correctly installed at your site.

  • GNU Emacs or XEmacs correctly installed at your site.

  • The file wipeout-mode.el as a part of the "WIPEOUT External Editor Package''.

Setting up XEmacs as your preferred Editor

  1. Start the WIPEOUT IDE in server mode. Specify the server name at the command line for this:

    /usr/local/wipeout> ./wipeout -svrname WipeOutEmacs &

    and close the internal editor e3 if one is opened.

  2. Use Properties->External Editor... in the Project Browser and Load... the file $(WIPEOUTHOME)/external-editor/xemacs.ext into this dialog.

  3. Choose Close and WIPEOUT will now use XEmacs for all editing requests.

Loading the WIPEOUT Mode into XEmacs

  • Add the following lines to your $(HOME)/.emacs file:

    (setq gnuserv-frame (selected-frame))

    (gnuserv-start)

    (load "$WIPEOUTHOME/external-editor/wipeout-mode'')

  • Start the editor from the Project Browser toolbar.

Connecting to the WIPEOUT Server

  • To connect XEmacs to the running WIPEOUT server type:

    M-x wipeout-server

    and type the name of the server you want to connect to:

    WipeOut Server To Connect: WipeOutEmacs

    Note: This is the value of the -svrname option with that you've started WIPEOUT.

Using the WIPEOUT menu

By activating the WIPEOUT mode in XEmacs the WIPEOUT menu is automatically added to the editors menu bar.



Figure 27: WipeOut menu in XEmacs

Activating the WIPEOUT mode

  • Emacs activates the WIPEOUT mode automatically if you load a file from WIPEOUT in Emacs. If you use the File->Open... menu in Emacs you can activate the WIPEOUT mode for this buffer manually by using:

    M-x wipeout-mode

Command reference

WipeOut function Description Key binding
- Connect XEmacs to a running WIPEOUT server. Enter the name of the server to connect to. C-w:
wipeout-server
Complete Symbol Complete the fragment of symbol at cursor position. Enter the symbol to complete. C-w C-c:
wipeout-complete-symbol
Show Man Page Show the Man Page of symbol at cursor position. Enter the Man Page to show. C-w C-m:
wipeout-show-man
Search Documentation Search the documentation of symbol at cursor position. Enter the symbol to complete. C-w C-d:
wipeout-search-docu


Previous Up Contents Next