Skip to content

Commit

Permalink
documented changes to favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
bjasspa committed Oct 20, 2024
1 parent ed2fea5 commit c4550ea
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
7 changes: 7 additions & 0 deletions microemacs/doc/m3osd000.3
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ a region which is hilighted. Once the region is selected then the
\fC<DELETE>\fR or \fC<BACKSPACE>\fR key erases the selected region. This also
enables a similar behaviour with the Mouse \fBDrag region\fR driver, see
below.
.IP "\fCC-# to Favorites\fR"
When enabled, \fCC-0\fR opens the favorites menu and \fCC-1\fR to \fCC-9\fR opens favorite file with the hotkey of
given number. \fCC-c 0\fR adds the current file to the end to the favorite file list, \fCC-c 1\fR to \fCC-c 9\fR
adds the current file as a favorite file with the given number as a hotkey, replacing the previous file if it exists.
See \fBFavorites\fR within the File menu section of the
.Hl "main menu" MainMenu 3
for more information on favorites.
.SS "Locale Setup"
.IP "\fCKeyboard\fR"
Configures \*(mS to the user's keyboard. Accent character generation keys
Expand Down
18 changes: 12 additions & 6 deletions microemacs/doc/m3osd006.3
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,21 @@ open it using command
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
.Ht find-file 2 .
The favorite file using to store the list is "\fB$MENAME\fR\fC.eff\fR" and is saved in the first path given in the
.Ht $search-path 5 .
The favorite file used to store the list is "\fB$MENAME\fR\fC.eff\fR" and is saved in the
.Ht $user-path 5 .
.IP
Each favorite file takes 2 lines in the file, the first is the text displayed in the dialog (note that character
\&'\fC\\\fR' must be protected with a '\fC\\\fR' and the characters '\fC\\H\fR' inserted before another character will
make that character a Hot key) and the
second line is the file name. If the second line starts with a '!' character, the rest of the line is processed using
make that character a Hot key), if the line starts with a '-' then a dividing line is inserted before it in the menu
(use '\\-' if the line should start with a '-'). The
second line is the file name of the favorite file. If this line with a ':' character the rest of the line is a buffer
name rather than a file name. If it starts with a '!' character, the rest of the line is processed using
.Ht execute-line 2 ,
this can be used to view help pages or execute processes such as compile etc. A file line with a single '\fC-\fR'
character creates a separater line in the dialog, no second line is required.
this can be used to view help pages or execute processes such as compile etc.
.IP
Quicker access to the favorite menu, and the first 9 favorite files in particular, by enabling the \fBC-#\fR bindings,
see the Start-up tab of
.Ht user-setup 3 .
.IP "\fCClose\fR"
Closes the current buffer, executes a dialog form of the command
.Ht delete-buffer 2 .
Expand Down
2 changes: 1 addition & 1 deletion microemacs/macros/userstp.emf
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ osd .osd.user-start 160 "Ctpfx" &cat .osd.checkbox-chars "\} \HRebind Home Keys"
osd .osd.user-start 170 "fh" " "
osd .osd.user-start 180 "Ctpfx" &cat .osd.checkbox-chars "\} \HMS Shift Region" 10 user-set-checkbox
osd .osd.user-start 190 "fh" " "
osd .osd.user-start 200 "Ctpfx" &cat .osd.checkbox-chars "\} Favorites to C-\H#" 17 user-set-checkbox
osd .osd.user-start 200 "Ctpfx" &cat .osd.checkbox-chars "\} C-\H# to Favorites" 17 user-set-checkbox
osd .osd.user-start 500 ""
osd .osd.user-start 510 "c" "Locale Setup"
osd .osd.user-start 520 ""
Expand Down

0 comments on commit c4550ea

Please sign in to comment.