MainMenu(3)
[Home]
[Commands]
[Variables]
[Macro-Dev]
[Glossary]
NAME
SYNOPSIS
DESCRIPTION
The main menu is provided to give an easier access to parts of MicroEmacs functionality, the menu is not burnt into MicroEmacs but defined on start-up in me.emf and osd.emf. The
user-setup(3) command can be used to set whether the menu is always visible and if the Alt-Hotkeys are enabled (i.e. 'A-f' to open the File menu).
The main menu is
osd(2) dialog number 0 so key bindings can be made which will open the main menu, an argument of 0 will simply open the main menu, an argument of 0x0n0000 will not only open the main menu but also the nth sub menu, e.g. to open the edit menu use:
0x020000 osd
Following is a brief description of the main menu items:
File Menu
New
Changes the current buffer to a new buffer.
Open
Opens a dialog enabling the user to select files for opening into MicroEmacs. By default the dialog opens the selected file using command
find-file(2), but if the view, binary or encrypt options are used the command used is
view-file(2),
find-bfile(2) or
find-cfile(2) respectively.
Quick Open
Opens a sub-menu list all user file types (defined in
user-setup(3)). Selecting one will open another sub-dialog list all files of that type in the current directory, selecting a file will open it using command
find-file(2).
Favorites
Opens a sub-menu enabling the user to add new favorite files, edit the existing list of favorite files, or select an existing favorite file in which case the file is opened using command
find-file(2). The favorite file using to store the list is "$MENAME.eff" and is saved in the first path given in the
$search-path(5). Each favorite file takes 2 lines in the file, the first is the text displayed in the dialog (note that characters '\' and '&' must be protected with a '\' and the '&' can be used to set the Hot key) and the second line is the file name. A line with a single '-' character creates a separater line in the dialog.
Find Tag
Only visible when a tags file is found in the current directory, the command jumps to the current tag or if not on a tag or the tag is not found, opens a dialog enabling the user to select a tag. See command
find-tag(2) for more information.
Find File
Close
Attributes
Opens a dialog enabling the user to set the current buffers file attributes. This is a front end to setting the modes
crlf(2m) and
ctrlz(2m) and the variable
$buffer-fmod(5).
Save
Save As
Save All
Printer Setup
Opens a dialog which enables the user to configure the printer driver, output location and page layout.
Print
Buffer
Opens a sub-menu listing all created buffers, selecting one will change the current buffer to the selected one.
Exit
Edit Menu
Undo
Undoes the last edit in the current buffer (executes command
undo(2)).
Redo
Redo the last undo, only available immediately after an undo. This is also done via the
undo(2) command.
Undo All
Undo all edits in the current buffer until the last save or no more undo history is available. Executes the command
undo(2) with a 0 numerical argument.
Set Mark
Cut
Copy
Paste
Narrow Out
Narrow To
Remove Single Narrow
Remove All Narrows
Search Menu
Search
Replace
Hilight Search
Opens another dialog which can be used to add and remove hilighting of individual lines in the current buffer. Note that setting a line hilight is a temporary change, it will not effect any files etc and will be lost when the buffer is deleted. The command executed is
line-scheme-search(3).
Goto Line
Goto Fence
Set Bookmark
Goto Bookmark
Insert Menu
Symbol
Date & Time
Opens a dialog with the current date and time in a selection of common formats; selecting one of these will insert the string into the current buffer at the current position. Note that the format text strings depend on the current language (Default and American languages use the order MM-DD-YY etc whereas the rest use DD-MM-YY). The names used for the day and month names can be defined using the Setup page of
Organizer(3).
File
File Name
Macro...
Format Menu
Restyle Buffer
Restyle Region
IQ Fill Paragraph
Fill Paragraph
Fill All Paragraphs
Executes command
fill-paragraph(2) with a very large positive numerical argument. Note that this only effects paragraphs from the current position onwards.
Paragraph to Line
All Paragraphs to Line
Executes command
paragraph-to-line(3) with a very large positive numerical argument. Note that this only effects paragraphs from the current position onwards.
Sort Lines
Ignore Case Sort Lines
Clean buffer
Capitalize Word
Lower Case Word
Lower Case Region
Upper Case Word
Upper Case Region
Execute Menu
Execute Command
Execute Buffer
Execute File
Start Kbd Macro
Query Kbd Macro
End Kbd Macro
Execute Kbd Macro
Name Kbd Macro
Ipipe command
Shell
Tools Menu
Current Buffer Tools
For some file formats MicroEmacs provides a file format specific set of tools, see the
file type help page for more specific information.
Count Words
Spell Word
Spell Buffer
Word Complete
Takes the incomplete word to the left of the cursor and attempts to complete the word by using the users current language dictionary. Executes command
spell-complete-word(3).
Compare Windows
Compile
Grep
Graphical Diff
Diff
Diff Changes
Organizer
Mail
View Mail
More...
Opens a sub-menu with a collection of other useful miscellaneous tools.
Window Menu
Split Window V
Grow Window V
Shrink Window V
Split Window H
Grow Window H
Shrink Window H
One Window
Delete Window
Previous Window
Next Window
Help Menu
Curr Buffer Help
For some file formats MicroEmacs provides a file format specific help page giving details of key-bindings and tools specific to the current buffers file type.
General Help
Help on Command
Help on Variable
Describe Bindings
Describe key
Describe Variable
List Buffers
List Commands
List Registry
List Variables
Command Apropos
User Setup
Scheme Editor
Games
Opens a sub-menu listing all available games, see
Games for more information.
Product Support
About MicroEmacs
NOTES
SEE ALSO
(c) Copyright JASSPA 1999
Last Modified: 1999/11/29
Generated On: 1999/12/01