PowerAda xemacs

From OC Systems Wiki!
Jump to: navigation, search


NAME

xemacs - starts XEmacs, an Xwindows-based editor based on GNU emacs.

SYNOPSIS

xemacs [-help] [-batch] [-nw] [-unmapped] [-no-site-file]
       [-no-init-file] [-q] [-user user] [-u user]
       [-version] [-funcall function] [-f function]
       [-eval form] [-load file] [-l file]
       [-insert file] [-i file] [-kill] [+N file]

DESCRIPTION

NOTE: This is not the official man page for xemacs; there is none. OC Systems is providing this man page as a convenience, but much more information can be found within XEmacs itself.

XEmacs (formerly known as Lucid Emacs) is based on, and in many respects is similar to, GNU emacs. Unlike many text editors, it allows you to have any number of files open for editing at one time. You can also view different positions in a file at one time. Besides text editing, XEmacs can be used for:

  • Sending and reading email (VM or Readmail)
  • Reading USENET news (GNUS)
  • Browsing the World Wide Web or other HTML (W3)
  • Running grep and diff interactively (grep, diff)
  • Reading man pages (manual-entry)
  • Special features for programming (ada-mode, emacs-lisp-mode, c-mode, etc.)

Unlike an editor like vi, users generally start one emacs session and leave it running for an extended time. You can edit files with this session of emacs from the command line using gnuserv(1).

XEmacs has an online tutorial and manuals. To run the tutorial, start xemacs and type Control-h T. To enter the online manuals, type Control-h i.

OPTIONS

XEmacs accepts all standard X Toolkit command line options. In addition, the following options are processed in the order encountered:

-help
Print help message and exit.
-version
Print version info and exit.
-funcall function
Invoke the named lisp function with no arguments.
-f function
Same as -funcall.
-eval form
Evaluate the lisp form. Quote it carefully.
-load file
Load the named file of Lisp code into Emacs.
-l file
Same as -load.
-insert file
Insert file into the current buffer.
-i file
Same as -insert.
-kill
Exit Emacs.
+N file
Start displaying file at line N.
These options are processed only if they appear before all other options:
-batch
Execute batch (messages go to stderr). This option must be first in the list.
-nw
Inhibit the use of any window-system-specific display code: use the current tty.
-unmapped
Do not map the initial screen.
-no-site-file
Do not load the site-specific init file (site-run.el).
-no-init-file
Do not load the user-specific init file (~/.emacs).
-q
Same as -no-init-file.
-user user
Load user's init file instead of your own.
-u user
Same as -user.

Anything else is considered a file name, and is placed into a buffer for editing.

SEE ALSO

gnuserv(1)