📄 jove.4
字号:
.bp.NH 1Alphabetical List of Commands and Variables.dc "abort-char" "(variable)"This variable defines \s-2JOVE'S\s0 abort characer. When the abortcharacter is typed, the current \s-2JOVE\s0 command is aborted. Thedefault value is C-G..dc "add-lisp-special" "Not Bound"This command is to tell \s-2JOVE\s0 what identifiers require specialindentation in lisp mode. Lisp functions like defun and let are two ofthe default functions that get treated specially. This is just a kludgeto define some of your own. It prompts for the function name..dc "allow-^S-and-^Q" "(variable)"This variable, when set, tells \s-2JOVE\s0 that your terminal does not needto use the characters C-S and C-Q for flow control, and that it isokay to bind things to them. This variable should be set dependingupon what kind of terminal you have..dc "allow-bad-filenames" "(variable)"If set, this variable permits filenames to contain "bad" characterssuch as those from the set *&%!"`[]{}. These files are harder to dealwith, because the characters mean something to the shell. The defaultvalue is "off"..dc "append-region" "Not Bound"This appends the region to a specified file. If the file does notalready exist it is created..dc "apropos" "Not Bound"This types out all the commands, variables and macros with the specifickeyword in their names. For each command and macro that contains thestring, the key sequence that can be used to execute the command or macro isprinted; with variables, the current value is printed. So, to find all thecommands that are related to windows, you type.DSESC X apropos window<Return>.DE.dc "auto-case-abbrev" "(variable)"When this variable is on (the default), word abbreviations are adjusted forcase automatically. For example, if "jove" were the abbreviation for"jonathan's own version of emacs", then typing "jove" would give you"jonathan's own version of emacs", typing "Jove" would give you "Jonathan'sown version of emacs", and typing "JOVE" would give you "Jonathan's OwnVersion of Emacs". When this variable is "off", upper and lower case aredistinguished when looking for the abbreviation, i.e., in the example above,"JOVE" and "Jove" would not be expanded unless they were defined separately..dc "auto-execute-command" "Not Bound"This tells \s-2JOVE\s0 to execute a command automatically when a file whosename matches a specified pattern is visited. The first argument is thecommand you want executed and the second is a regular expressionpattern that specifies the files that apply. For example, if you wantto be in show-match-mode when you edit C source files (that is, filesthat end with ".c" or ".h") you can type.IDESC X auto-execute-command show-match-mode .*\.[ch]$.DE.dc "auto-execute-macro" "Not Bound"This is like.IQ auto-execute-commandexcept you use it to execute macrosautomatically instead of built-in commands..dc "auto-fill-mode" "Not Bound"This turns on Auto Fill mode (or off if it's currently on) in theselected buffer. When \s-2JOVE\s0 is in Auto Fill mode it automaticallybreaks lines for you when you reach the right margin so you don't haveto remember to hit Return. \s-2JOVE\s0 uses 78 as the right margin but youcan change that by setting the variable.IQ right-marginto anothervalue. See the.IQ setcommand to learn how to do this..dc "auto-indent-mode" "Not Bound"This turns on Auto Indent mode (or off if it's currently on) in theselected buffer. When \s-2JOVE\s0 is in Auto Indent mode, Return indents thenew line to the same position as the line you were just on. This isuseful for lining up C code (or any other language (but what else isthere besides C?)). This is out of date because of the new commandcalled.IQ newline-and-indentbut it remains because of several"requests" on the part of, uh, enthusiastic and excitable users, thatit be left as it is..dc "background-color" "(variable)"This specifies the background color of the screen (PC version only). Thedefault value is 0, which stands for black..dc "backward-character" "C-B"This moves point backward over a single character. If point is at thebeginning of the line it moves to the end of the previous line..dc "backward-list" "ESC C-P"This moves backward over a list as opposed to an s-expression. Thedifference between this and.IQ backward-s-expressionis that this first searchs for a ")" and then moves to the matching "(".This is useful when you're trying to find unmatched parens in a program..dc "backward-paragraph" "ESC ["This moves point backward to the beginning of the current or previousparagraph. Paragraphs are bounded by lines that begin with a Period orTab, or by blank lines; a change in indentation may also signal a breakbetween paragraphs, except that \s-2JOVE\s0 allows the first line of a paragraphto be indented differently from the other lines..dc "backward-s-expression" "ESC C-B"This moves point backward over a s-expression. It is just like.IQ forward-s-expressionwith a negative argument..dc "backward-sentence" "ESC A"This moves point backward to the beginning of the current or previoussentence. \s-2JOVE\s0 considers the end of a sentence to be the characters".", "!" or "?" followed by a Return or by one or more spaces..dc "backward-up-list" "ESC C-U"This is similar to.IQ backward-s-expressionexcept it backs up and OUT of the enclosing s-expression. In otherwords, it moves backward to the "(" that would match a ")" if you were totype it right then..dc "backward-word" "ESC B"This moves point backward to the beginning of the current or previousword..dc "bad-filename-extensions" "(variable)"This contains a list of words separated by spaces which are to beconsidered bad filename extensions, and so will not be counted infilename completion. The default is ".o" so if you have jove.c andjove.o in the same directory, the filename completion will not complainof an ambiguity because it will ignore jove.o..dc "begin-kbd-macro" "C-X ("This starts defining the keyboard macro by remembering all your keystrokes until you execute.IQ end-kbd-macro,by typing "C-X )". Because of a bug in \s-2JOVE\s0 you shouldn'tterminate the macro by typing "ESC X end-kbd-macro";.IQ end-kbd-macromust be bound to "C-X )" in order to make things work correctly. Toexecute the remembered key strokes you type "C-X E" which runs the.IQ execute-kbd-macrocommand.Sometimes you may want a macro to accept different input each time it runs.To see how to do this, see the.IQ make-macro-interactivecommand..dc "beginning-of-file" "ESC <"This moves point backward to the beginning of the buffer. This sometimesprints the "Point Pushed" message. If the top of the buffer isn't on thescreen \s-2JOVE\s0 will set the mark so you can go back to where you wereif you want..dc "beginning-of-line" "C-A"This moves point to the beginning of the current line..dc "beginning-of-window" "ESC ,"This moves point to the beginning of the current window. The sequence"ESC ," is the same as "ESC <" (beginning of file) except without the shiftkey on the "<", and can thus can easily be remembered..dc "bind-keymap-to-key" "Not Bound"This is the way to build nested keymaps. For example, when \s-2JOVE \s0starts up, internally it does a.IDbind-keymap-to-key ESC-map ^[.DETo make the arrow keys on vt100's work, you would do the following..ID.nfmake-keymap vt100-mapbind-keymap-to-key vt100-map ^[[bind-to-key next-line ^[[Abind-to-key previous-line ^[[Bbind-to-key forward-character ^[[Cbind-to-key backward-character ^[[D.fi.DEI may have gotten the escape sequences wrong, but you get the generalidea. Theoretically you can use these keymaps to bind arbitrarily longkey sequences, like those generated by the SUN keyboards, but that is abit of a pain because you will have to generate a bunch of keymaps byhand, almost one per key, because of the way the key sequences areorganized. Eventually there will be a more general way to have thesekeymaps built for you..dc "bind-macro-to-key" "Not Bound"This is like.IQ bind-to-keyexcept you use it to attach keys to named macros..dc "bind-macro-to-word-abbrev" "Not Bound"This command allows you to bind a macro to a previously defined wordabbreviation. Whenever you type the abbreviation, it will first be expandedas an abbreviation, and then the macro will be executed. Note that if themacro moves around, you should set the mark first (C-@) and then exchangethe point and mark last (C-X C-X)..dc "bind-to-key" "Not Bound"This attaches a key to an internal \s-2JOVE\s0 command so that future hits onthat key invoke that command. For example, to make "C-W" erase theprevious word, you type "ESC X bind-to-key kill-previous-word C-W"..dc "buffer-position" "Not Bound"This displays the current file name, current line number, total numberof lines, percentage of the way through the file, and the position ofthe cursor in the current line..dc "c-argument-indentation" "(variable)"This variable describes how to indent lines which are part of nestedexpressions in C. The default is -1, which means to indent a continuedline by lining it up with the first argument of the current expression.Otherwise, the line will be indented by c-argument-indentation characterspast the indent of the first line of the expression. For example, thedefault value produces:.nf Typeout(fmt, itoa(bcount++), line_cnt(b, nbuf), TypeNames[b->b_type], IsModified(b) ? "*" : b->b_ntbf ? "+" : NullStr, buf_width, b->b_name, filename(b));.fi.dc "c-indentation-increment" "(variable)"This defines a set of tabstops independent of the value ofinternal-tabstops and physical-tabstops. This value will be used in Cmode, and JOVE will insert the correct number of spaces and Tabs to getthe right behavior. For programmers that like to indent with 4 spaces,set this value to 4. Don't set internal-tabstops to 4 because that willnot work anymore. Setting internal-tabstops to 4 tells JOVE to displayTabs as every 4 spaces. This will cause your programs to look terriblewith anyone else who displays the file with normal tabstops at every 8characters. Not to mention printing your program won't look right. Butall that aside, if you set c-indentation-increment to 8 (the default),and then set internal-tabstops to 4 as well, JOVE will insert TWO Tabs toget the indentation to 8, which is clearly not what you want..dc "c-mode" "Not Bound"This turns on C mode in the currently selected buffer. This is one ofcurrently four possible major modes: Fundamental, Text, C, Lisp.When in C or Lisp mode, Tab, "}", and ")" behave a little differentlyfrom usual: They are indented to the "right" place for C (or Lisp)programs. In \s-2JOVE\s0, the "right" place is simply the way the authorlikes it (but I've got good taste)..dc "case-character-capitalize" "Not Bound"This capitalizes the character after point, i.e., the character underthe cursor. If a negative argument is supplied that many characters.IQ beforepoint are upper cased..dc "case-ignore-search" "(variable)"This variable, when set, tells \s-2JOVE\s0 to treat upper and lower case asthe same when searching. Thus "jove" and "JOVE" would match, and"JoVe" would match either. The default value of this variable is "off"..dc "case-region-lower" "Not Bound"This changes all the upper case letters in the region to their lowercase equivalent..dc "case-region-upper" "Not Bound"This changes all the lower case letters in the region to their uppercase equivalent..dc "case-word-capitalize" "ESC C"This capitalizes the current word by making the current letter uppercase and making the rest of the word lower case. Point is moved tothe end of the word. If point is not positioned on a word it is firstmoved forward to the beginning of the next word. If a negativeargument is supplied that many words.IQ beforepoint are capitalized.This is useful for correcting the word just typed without having tomove point to the beginning of the word yourself..dc "case-word-lower" "ESC L"This lower-cases the current word and leaves point at the end of it.If point is in the middle of a word the rest of the word isconverted. If point is not in a word it is first moved forward to thebeginning of the next word. If a negative argument is supplied thatmany words.IQ beforepoint are converted to lower case. This is usefulfor correcting the word just typed without having to move point to thebeginning of the word yourself..dc "case-word-upper" "ESC U"This upper-cases the current word and leaves point at the end of it.If point is in the middle of a word the rest of the word isconverted. If point is not in a word it is first moved forward to thebeginning of the next word. If a negative argument is supplied thatmany words.IQ beforepoint are converted to upper case. This is usefulfor correcting the word just typed without having to move point to thebeginning of the word yourself..dc "cd" "Not Bound"This changes the current directory..dc "character-to-octal-insert" "Not Bound"This inserts a Back-slash followed by the ascii value of the nextcharacter typed. For example, "C-G" inserts the string "\e007"..dc "clear-and-redraw" "ESC C-L"This clears the entire screen and redraws all the windows. Use thiswhen \s-2JOVE\s0 gets confused about what's on the screen, or when the screengets filled with garbage characters or output from another program..dc "comment-format" "(variable)"This variable tells \s-2JOVE\s0 how to format your comments when you run thecommand.IQ fill-comment.Its format is this:.ID<open pattern>%!<line header>%c<line trailer>%!<close pattern>.DEThe %!, %c, and %! must appear in the format; everything else is optional.A newline (represented by %n) may appear in the open or close patterns. %%is the representation for %. The default comment format is for C comments.See.IQ fill-commentfor more..dc "compile-it" "C-X C-E"This compiles your program by running the UNIX command "make" into a buffer,and automatically parsing the error messages that are created (if any). Seethe.IQ parse-errorscommand. To compile a C program without "make", use "C-U C-X C-E" and\s-2JOVE\s0 will prompt for a command to run instead of make. (And thenthe command you type will become the default command.) You can use thisto parse the output from the C compiler or the "grep" or "lint" programs.See also.IQ error-format-stringto make it possible to parse errors of a different format..dc "continue-process" "Not Bound"This sends SIGCONT to the current interactive process,.IQ ifthe process
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -