XEMACS(1)
π XEMACS(1) β General Commands Manual π
okay bestie, this is the XEMACS(1) page from the General Commands Manual, and it's literally iconic. no cap. π
β¨ NAME β¨
xemacs β Emacs: The Next Generation. periodt. π
π¦ SYNOPSIS π¦
xemacs [ command-line switches ] [ files ... ]
πΈ DESCRIPTION πΈ
XEmacs is a version of Emacs, compatible with and containing many improvements over GNU Emacs, written by Richard Stallman of the Free Software Foundation. It was originally based on an early release of GNU Emacs Version 19, and has tracked subsequent releases of GNU Emacs as they have become available. slay. π
The primary documentation of XEmacs is in the XEmacs Reference Manual, which you can read on-line using Info, a subsystem of XEmacs. Please look there for complete and up-to-date documentation. Complete documentation on using Emacs Lisp is available on-line through the XEmacs Lisp Programmer's Manual. Both manuals also can be printed out nicely using the TeX formatting package. π
The user functionality of XEmacs encompasses everything other Emacs editors do, and it is easily extensible since its editing commands are written in Lisp. lowkey genius. β¨
XEmacs has an extensive interactive help facility, but the facility assumes that you know how to manipulate XEmacs windows and buffers. CTRL-h enters the Help facility. Help Tutorial (CTRL-h t) requests an interactive tutorial which can teach beginners the fundamentals of XEmacs in a few minutes. Help Apropos (CTRL-h a) helps you find a command given its functionality, Help Key Binding (CTRL-h k) describes a given key sequence's effect, and Help Function (CTRL-h f) describes a given Lisp function specified by name. You can also look up key sequences in the XEmacs Reference Manual using Lookup Key Binding (CTRL-h CTRL-k), and look up Lisp functions in the XEmacs Lisp Programmer's Manual using Lookup Function (CTRL-h CTRL-f). All of these help functions, and more, are available on the Help menu if you are using a window system. π«Ά
XEmacs has extensive GUI (graphical user interface) support when running under a window system such as X, including multiple frames (top-level windows), a menubar, a toolbar, horizontal and vertical scrollbars, dialog boxes, and extensive mouse support. it's giving main character energy. π
XEmacs has full support for multiple fonts and colors, variable-width fonts, and variable-height lines, and allows for pixmaps to be inserted into a buffer. (This is used in the W3 web-browsing package and in some of the debugger and outlining interfaces, among other things.) π
XEmacs's Undo can undo several steps of modification to your buffers, so it is easy to recover from editing mistakes. we love a safety net. π
XEmacs's many special packages handle mail reading (VM, MH-E and RMail) and sending (Mail), Usenet news reading and posting (GNUS), World Wide Web browsing (W3), specialized modes for editing source code in all common programming languages, syntax highlighting for many languages (Font-Lock), compiling (Compile), running subshells within XEmacs windows (Shell), outline editing (Outline), running a Lisp read-eval-print loop (Lisp-Interaction-Mode), and automated psychotherapy (Doctor). not the automated psychotherapy ππ
There is an extensive reference manual, but users of other Emacsen should have little trouble adapting even without a copy. Users new to Emacs will be able to use basic features fairly rapidly by studying the tutorial and using the self-documentation features. π¦
π XEmacs Options π
XEmacs accepts all standard X Toolkit command line options when run in an X Windows environment. In addition, the following options are accepted (when options imply a sequence of actions to perform, they are performed in the order encountered):
-t fileβ Use specified file as the terminal instead of using stdin/stdout. This implies-nw.-batchβ Edit in batch mode. The editor will send messages to stdout. You must use the-l,-f, and-evaloptions to specify files to execute and functions to call.-nwβ Inhibit the use of any window-system-specific display code: use the current TTY.-debug-initβ Enter the debugger if an error occurs loading the init file.-unmappedβ Do not map the initial frame.-no-site-fileβ Do not load the site-specific init file (site-start.el).-q,-no-init-fileβ Do not load an init file.-no-early-packagesβ Do not process the early packages.-vanillaβ Load no extra files at startup. Equivalent to the combination of-q,-no-site-file, and-no-early-packages.-u user,-user userβ Load user's init file.fileβ Editfile.+numberβ Go to the line specified bynumber(do not insert a space between the+sign and the number).-helpβ Print a help message and exit.-V,-versionβ Print the version number and exit.-f function,-funcall functionβ Execute the lisp functionfunction.-l file,-load fileβ Load the Lisp code in the filefile.-eval formβ Evaluate the Lisp formform.-i file,-insert fileβ Insertfileinto the current buffer.-killβ Exit XEmacs (useful with-batch).
π Using XEmacs with X Windows π
XEmacs has been tailored to work well with the X window system. If you run XEmacs from under X windows, it will create its own X window to display in. obsessed. π
XEmacs can be started with the following standard X options:
-visual <visualname><bitdepth>β Select the visual that XEmacs will attempt to use.<visualname>should be one of the strings"StaticColor","TrueColor","GrayScale","PseudoColor"or"DirectColor", and<bitdepth>should be the number of bits per pixel (example,-visual TrueColor24for a 24bit TrueColor visual) SeeX(1)for more information.-privateColormapβ Require XEmacs to create and use a private colormap for display. This will keep XEmacs from taking colors from the default colormap and keeping them from other clients, at the cost of causing annoying flicker when the focus changes. Use this option only if your X server does not support 24 bit visuals.-geometry ##x##+##+##β Specify the geometry of the initial window. The##'s represent a number; the four numbers are width (characters), height (characters), X offset (pixels), and Y offset (pixels), respectively. Partial specifications of the form##x##or+##+##are also allowed. (The geometry specification is in the standard X format; seeX(1)for more information.)-iconicβ Specifies that the initial window should initially appear iconified.-name nameβ Specifies the program name which should be used when looking up defaults in the user's X resources.-title title,-T title,-wn titleβ Specifies the title which should be assigned to the XEmacs window.-d displayname,-display displaynameβ Create the XEmacs window on the display specified bydisplayname. Must be the first option specified in the command line.-font font,-fn fontβ Set the XEmacs window's font to that specified byfont. You will find the various X fonts in the/usr/lib/X11/fontsdirectory. XEmacs works with either fixed- or variable-width fonts, but will probably look better with a fixed-width font.-scrollbar-width pixelsβ Specify the width of the vertical scrollbars.-scrollbar-height pixelsβ Specify the height of the horizontal scrollbars.-bw pixels,-borderwidth pixelsβ Set the XEmacs window's border width to the number of pixels specified bypixels. Defaults to one pixel on each side of the window.-ib pixels,-internal-border-width pixelsβ Specify the width between a frame's border and its text, in pixels. Defaults to one pixel on each side of the window.-fg color,-foreground colorβ Sets the color of the text. See the file/usr/lib/X11/rgb.txtfor a list of valid color names.-bg color,-background colorβ Sets the color of the window's background.-bd color,-bordercolor colorβ Sets the color of the window's border.-mc colorβ Sets the color of the mouse pointer.-cr colorβ Sets the color of the text cursor.-rv,-reverseβ Reverses the foreground and background colors (reverse video). Consider explicitly setting the foreground and background colors instead of using this option.-xrm argumentβ This allows you to set an arbitrary resource on the command line.argumentshould be a resource specification, as might be found in your.Xresourcesor.Xdefaultsfile.
You can also set resources, i.e. X default values, for your XEmacs windows in your .Xresources or .Xdefaults file (see xrdb(1)). Use the following format:
Emacs.keyword:value
or
Emacs*EmacsFrame.keyword:value
where value specifies the default value of keyword. (Some resources need the former format; some the latter.) π§
You can also set resources for a particular frame by using the format
Emacs*framename.keyword:value
where framename is the resource name assigned to that particular frame. (Certain packages, such as VM, give their frames unique resource names, in this case "VM".) π
XEmacs lets you set default values for the following keywords:
default.attributeFont(classFace.AttributeFont) β Sets the window's text font.default.attributeForeground(classFace.AttributeForeground) β Sets the window's text color.default.attributeBackground(classFace.AttributeBackground) β Sets the window's background color.face.attributeFont(classFace.AttributeFont) β Sets the font forface, which should be the name of a face. Common face names are:defaultβ Normal text.boldβ Bold text.italicβ Italicized text.bold-italicβ Bold and italicized text.modelineβ Modeline text.zmacs-regionβ Text selected with the mouse.highlightβ Text highlighted when the mouse passes over.left-marginβ Text in the left margin.right-marginβ Text in the right margin.isearchβ Text highlighted during incremental search.info-nodeβ Text of Info menu items.info-xrefβ Text of Info cross references.
face.attributeForeground(classFace.AttributeForeground) β Sets the foreground color forface.face.attributeBackground(classFace.AttributeBackground) β Sets the background color forface.face.attributeBackgroundPixmap(classFace.AttributeBackgroundPixmap) β sets the background pixmap, aka the stipple, for face. the texture era πface.attributeUnderline(classFace.AttributeUnderline) β whether face should be underlined or not. underline nation rise π«ΆreverseVideo(classReverseVideo) β set it toonand the window shows up in reverse video. but bestie, consider explicitly setting the foreground and background colors instead of using this resource β that's the move, fr.borderWidth(classBorderWidth) β sets the window's border width, in pixels.internalBorderWidth(classInternalBorderWidth) β sets the window's internal border width, in pixels.borderColor(classBorderColor) β sets the color of the window's border.cursorColor(classForeground) β sets the color of the window's text cursor.pointerColor(classForeground) β sets the color of the window's mouse cursor.emacsVisual(classEmacsVisual) β sets the default visual XEmacs will try to use (as described above, iykyk).privateColormap(classPrivateColormap) β if set, XEmacs will default to using a private colormap.geometry(classGeometry) β sets the geometry of the XEmacs window (as described above).iconic(classIconic) β set toonand the XEmacs window will initially appear as an icon.menubar(classMenubar) β whether the XEmacs window will have a menubar. defaults to true.initiallyUnmapped(classInitiallyUnmapped) β whether XEmacs will leave the initial frame unmapped when it starts up.barCursor(classBarCursor) β whether the cursor should be a bar instead of the traditional box. glow-up for your cursor β¨title(classTitle) β sets the title of the XEmacs window.iconName(classTitle) β sets the icon name for the XEmacs window icon.scrollBarWidth(classScrollBarWidth) β sets the width of the vertical scrollbars, in pixels. a width of0means no vertical scrollbars.scrollBarHeight(classScrollBarHeight) β sets the height of the horizontal scrollbars, in pixels. a height of0means no horizontal scrollbars.scrollBarPlacement(classScrollBarPlacement) β sets the position of vertical and horizontal scrollbars. it should be one of the strings"top-left","bottom-left","top-right", or"bottom-right". the default is"bottom-right"for the Motif and Lucid scrollbars and"bottom-left"for the Athena scrollbars. pick your vibe πtopToolBarHeight(classTopToolBarHeight) β sets the height of the top toolbar, in pixels.0means no top toolbar.bottomToolBarHeight(classBottomToolBarHeight) β sets the height of the bottom toolbar, in pixels.0means no bottom toolbar.leftToolBarWidth(classLeftToolBarWidth) β sets the width of the left toolbar, in pixels.0means no left toolbar.rightToolBarWidth(classRightToolBarWidth) β sets the width of the right toolbar, in pixels.0means no right toolbar.topToolBarShadowColor(classTopToolBarShadowColor) β sets the color of the top shadows for the toolbars. (for all toolbars, not just the one at the top of the frame. periodt.)bottomToolBarShadowColor(classBottomToolBarShadowColor) β sets the color of the bottom shadows for the toolbars. (again: for all toolbars, not just the one at the bottom of the frame.)topToolBarShadowPixmap(classTopToolBarShadowPixmap) β sets the pixmap of the top shadows for the toolbars. (for all toolbars, not just the toolbar at the top of the frame.) if set, this resource overrides the corresponding color resource.bottomToolBarShadowPixmap(classBottomToolBarShadowPixmap) β sets the pixmap of the bottom shadows for the toolbars. (for all toolbars, not just the toolbar at the bottom of the frame.) if set, this resource overrides the corresponding color resource.toolBarShadowThickness(classToolBarShadowThickness) β thickness of the shadows around the toolbars, in pixels.visualBell(classVisualBell) β whether XEmacs should flash the screen rather than making an audible beep. silent but loud, honestly πbellVolume(classBellVolume) β volume of the audible beep. range is0through100.useBackingStore(classUseBackingStore) β whether XEmacs should set the backing-store attribute of the X windows it creates. this increases the memory usage of the X server but decreases the amount of X traffic necessary to update the screen, and it's useful when the connection to the X server goes over a low-bandwidth line such as a modem connection. retro modem core πtextPointer(classCursor) β the cursor to use when the mouse is over text.selectionPointer(classCursor) β the cursor to use when the mouse is over a mouse-highlighted text region.spacePointer(classCursor) β the cursor to use when the mouse is over a blank space in a buffer (that is, after the end of a line or after the end-of-file).modeLinePointer(classCursor) β the cursor to use when the mouse is over a mode line.gcPointer(classCursor) β the cursor to display when a garbage-collection is in progress. yes it has its own cursor, iconic behavior πscrollbarPointer(classCursor) β the cursor to use when the mouse is over the scrollbar.pointerColor(classForeground) β the foreground color of the mouse cursor.pointerBackground(classBackground) β the background color of the mouse cursor.
π Using the Mouse π
okay so here's the whole mouse button situation for the XEmacs window under X11, laid out for you bestie:
leftβ set point or make a text selection.middleβ paste text.rightβ pop up a menu of options.SHIFT-leftβ extend a selection.CTRL-leftβ make a selection and insert it at point.CTRL-middleβ set point and move selected text there.CTRL-SHIFT-leftβ make a selection, delete it, and insert it at point.META-leftβ make a rectangular selection.
π FILES π
Lisp code is read at startup from the user's init file, $HOME/.emacs. (yes, that file. the sacred text. π)
/usr/local/info β files for the Info documentation browser (a subsystem of XEmacs) to refer to. the complete text of the XEmacs Reference Manual and the XEmacs Lisp Programmer's Manual is included in a convenient tree structured form. fancy fr π³
/usr/local/lib/xemacs-$VERSION/info β the Info files may be here instead.
/usr/local/lib/xemacs-$VERSION/lisp/* β Lisp source files and compiled files that define most editing commands. the files are contained in subdirectories, categorized by function or individual package. some are preloaded; others are autoloaded from these directories when used.
/usr/local/lib/xemacs-$VERSION/etc β some files of information, pixmap files, other data files used by certain packages, etc.
/usr/local/lib/xemacs-$VERSION/$CONFIGURATION β various programs that are used with XEmacs.
/usr/local/lib/xemacs-$VERSION/$CONFIGURATION/DOC β contains the documentation strings for the Lisp primitives and preloaded Lisp functions of XEmacs. they are stored here to reduce the size of XEmacs proper. skinny legend behavior π
/usr/local/lib/xemacs/site-lisp β locally-provided Lisp files.
π BUGS AND HELP π
there's a newsgroup, comp.emacs.xemacs, for reporting XEmacs bugs and fixes and requesting help. but bestie, before you report something as a bug, please try to be sure that it really is a bug, not a misunderstanding or a deliberate feature. we ask you to read the section ``Reporting XEmacs Bugs'' near the end of the reference manual (or Info system) for hints on how and when to report bugs. also, include the version number of the XEmacs you are running and the system you are running it on in every bug report that you send in. finally, the more you can isolate the cause of a bug and the conditions it happens under, the more likely it is to be fixed, so please take the time to do so. (do it for the plot π«Ά)
the newsgroup is bidirectionally gatewayed to and from the mailing list xemacs@xemacs.org. you can read the list instead of the newsgroup if you do not have convenient Usenet news access. to request to be added to the mailing list, send mail to xemacs-request@xemacs.org. (do not send mail to the list itself.)
the XEmacs maintainers read the newsgroup regularly and will attempt to fix bugs reported in a timely fashion. however, not every message will get a response from one of the maintainers. note that there are many people other than the maintainers who read the newsgroup, and will usually be of assistance in helping with any problems encountered. the community ate that π
if you need more personal assistance than can be provided by the newsgroup, look in the SERVICE file (see above) for a list of people who offer it.
for more information about XEmacs mailing lists, see the file /usr/local/lib/xemacs-$VERSION/etc/MAILINGLISTS.
π UNRESTRICTIONS π
XEmacs is free; anyone may redistribute copies of XEmacs to anyone under the terms stated in the XEmacs General Public License, a copy of which accompanies each copy of XEmacs and which also appears in the reference manual.
copies of XEmacs may sometimes be received packaged with distributions of Unix systems, but it is never included in the scope of any license covering those systems. such inclusion violates the terms on which distribution is permitted. in fact, the primary purpose of the General Public License is to prohibit anyone from attaching any other restrictions to redistribution of XEmacs. sharing is caring but licensing is serious π«‘
π SEE ALSO π
X(1), xlsfonts(1), xterm(1), xrdb(1), emacs(1), vi(1)
β¨ AUTHORS β¨
Okay so XEmacs was not a solo project, bestie, it was a whole ensemble cast π and we're giving every single one of them their flowers:
- Steve Baur β
steve@xemacs.org - Martin Buchholz β
martin@xemacs.org - Richard Mlynarik β
mly@adoc.xerox.com - Hrvoje Niksic β
hniksic@xemacs.org - Chuck Thompson β
cthomp@xemacs.org - Ben Wing β
ben@xemacs.org - Jamie Zawinski β
jwz@jwz.org
β¦and many others π«Ά obviously, the group chat was popping.
It was based on an early version of GNU Emacs Version 19, which was written by Richard Stallman <rms@gnu.org> of the Free Software Foundation, and it has tracked subsequent releases of GNU Emacs as they have become available. No cap, it's been following that timeline like a dedicated stan. π
It was originally written by Lucid, Inc. (now defunct π) and it was called Lucid Emacs back then. Rebrand era, we love to see it.
π who did what, a breakdown π
- Chuck Thompson wrote the XEmacs redisplay engine, maintains the XEmacs FTP and WWW sites, and has put out all releases of XEmacs since 19.11 (which was the first release actually called XEmacs). Shipping icon, periodt. π¦β¨
- Ben Wing wrote the Asian-language support, the on-line documentation (including this very man page and a big chunk of the FAQ), the external widget code, and retooled or rewrote most of the basic, low-level XEmacs subsystems. The range?? Unmatched. ππ
- Jamie Zawinski put out all releases of Lucid Emacs, from the first (19.0) through the last (19.10), and was the primary code contributor for all of these releases. Main character energy fr fr. π₯
- Richard Mlynarik rewrote the XEmacs Lisp-object allocation system, improved the keymap and minibuffer code, and did the initial synching of XEmacs with GNU Emacs Version 19. Slay. π
Many others have also contributed significantly, and we are not forgetting them. For more detailed information β including a long history of XEmacs from multiple viewpoints, plus pretty pictures and bios of the major XEmacs contributors β go see the XEmacs About Page (that's the About XEmacs option on the Help menu, iykyk).
πΈ MORE INFORMATION πΈ
Want more tea about XEmacs? Same bestie, same. You've got options:
- Check out the XEmacs About Page (yes, the one we just mentioned above π)
- Crack open the file
/usr/local/lib/xemacs-$VERSION/etc/NEWS - Or just point your Web browser at:
http://www.xemacs.org/
β¦for up-to-the-minute information about XEmacs. Up-to-the-minute, bestie, they're that on top of it. β°β¨
The XEmacs FAQ (Frequently Asked Questions) can be found at the Web site just listed. A possibly out-of-date version is also accessible through the Info system inside of XEmacs β so like, vintage vibes, use with care π«Ά
The latest version of XEmacs can be downloaded using anonymous FTP from:
ftp://ftp.xemacs.org/pub/xemacs/
β¦or from a mirror site near you πͺβ¨ Mirror sites are listed in the file etc/FTP in the XEmacs distribution, or you can see the Web site for an up-to-date list of mirror sites. Pick your local fave, it's giving global community. π
okay that's the whole page, you read the entire manual, I'm so proud of you ππ go forth and customize your init file, bestie
This one's the 4th Berkeley Distribution release, dated 2000-09-20, and it's filed under XEMACS(1) β vintage, iconic, still slaying after all these years. π
β¨
π¦ where this page comes from
- debian bookworm: xemacs21-mule-canna-wnn 21.4.24-11
- ubuntu jammy: xemacs21-mule-canna-wnn 21.4.24-9ubuntu2
- ubuntu noble: xemacs21-mule-canna-wnn 21.4.24-12build3
- ubuntu resolute: xemacs21-mule-canna-wnn 21.4.24-12build3
- ubuntu stonking: xemacs21-mule-canna-wnn 21.4.24-12build3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms