📄 oonews
字号:
sequence, the meta prefix character followed by the un-metized character (Meta-G unmetized is G). The meta prefix character is specified by the value of the variable meta-prefix-char. If this character (normally Escape) has been redefined locally with a non-prefix definition (such as happens in completing minibuffers) then the local redefinition is suppressed when the character is not the last one in a key sequence. So the local redefinition is effective if you type the character explicitly, but not effective if the character comes from the use of the Meta key.* `-' is no longer a completion command in the minibuffer. It is an ordinary self-inserting character.* The list load-path of directories load to search for Lisp files is now controlled by the EMACSLOADPATH environment variable[[ Note this was originally EMACS-LOAD-PATH and has been changed again; sh does not deal properly with hyphens in env variable names]] rather than the EPATH environment variable. This is to avoid conflicts with other Emacses. While Emacs is being built initially, the load-path is now just ("../lisp"), ignoring paths.h. It does not ignore EMACSLOADPATH, however; you should avoid having this variable set while building Emacs.* You can now specify a translation table for keyboard input characters, as a way of exchanging or substituting keys on the keyboard. If the value of keyboard-translate-table is a string, every character received from the keyboard is used as an index in that string, and the character at that index in the string is used as input instead of what was actually typed. If the actual input character is >= the length of the string, it is used unchanged. One way this feature can be used is to fix bad keyboard designes. For example, on some terminals, Delete is Shift-Underscore. Since Delete is a more useful character than Underscore, it is an improvement to make the unshifted character Delete and the shifted one Underscore. This can be done with ;; First make a translate table that does the identity translation. (setq keyboard-translate-table (make-string 128 0)) (let ((i 0)) (while (< i 128) (aset keyboard-translate-table i i) (setq i (1+ i)))) ;; Now alter translations of some characters. (aset keyboard-translate-table ?\_ ?\^?) (aset keyboard-translate-table ?\^? ?\_) If your terminal has a Meta key and can therefore send codes up to 255, Meta characters are translated through elements 128 through 255 of the translate table, and therefore are translated independently of the corresponding non-Meta characters. You must therefore establish translations independently for the Meta characters if you want them too: ;; First make a translate table that does the identity translation. (setq keyboard-translate-table (make-string 256 0)) (let ((i 0)) (while (< i 256) (aset keyboard-translate-table i i) (setq i (1+ i)))) ;; Now alter translations of some characters. (aset keyboard-translate-table ?\_ ?\^?) (aset keyboard-translate-table ?\^? ?\_) ;; Now alter translations of some Meta characters. (aset keyboard-translate-table (+ 128 ?\_) (+ 128 ?\^?)) (aset keyboard-translate-table (+ 128 ?\^?) (+ 128 ?\_))* (process-kill-without-query PROCESS)This marks the process so that, when you kill Emacs,you will not on its account be queried about active subprocesses.Changes in Emacs 1.11* The commands C-c and C-z have been interchanged, for greater compatibility with normal Unix usage. C-z now runs suspend-emacs and C-c runs exit-recursive-edit.* The value returned by file-name-directory now ends with a slash. (file-name-directory "foo/bar") => "foo/". This avoids confusing results when dealing with files in the root directory. The value of the per-buffer variable default-directory is also supposed to have a final slash now.* There are now variables to control the switches passed to `ls' by the C-x C-d command (list-directory). list-directory-brief-switches is a string, initially "-CF", used for brief listings, and list-directory-verbose-switches is a string, initially "-l", used for verbose ones.* For Ann Arbor Ambassador terminals, the termcap "ti" string is now used to initialize the screen geometry on entry to Emacs, and the "te" string is used to set it back on exit. If the termcap entry does not define the "ti" or "te" string, Emacs does what it used to do.Changes in Emacs 1.10* GNU Emacs has been made almost 1/3 smaller. It now dumps out as only 530kbytes on Vax 4.2bsd.* The term "checkpoint" has been replaced by "auto save" throughout the function names, variable names and documentation of GNU Emacs.* The function load now tries appending ".elc" and ".el" to the specified filename BEFORE it tries the filename without change.* rmail now makes the mode line display the total number of messages and the current message number. The "f" command now means forward a message to another user. The command to search through all messages for a string is now "F". The "u" command now means to move back to the previous message and undelete it. To undelete the selected message, use Meta-u.* The hyphen character is now equivalent to a Space while in completing minibuffers. Both mean to complete an additional word.* The Lisp function error now takes args like format which are used to construct the error message.* Redisplay will refuse to start its display at the end of the buffer. It will pick a new place to display from, rather than use that.* The value returned by garbage-collect has been changed. Its first element is no longer a number but a cons, whose car is the number of cons cells now in use, and whose cdr is the number of cons cells that have been made but are now free. The second element is similar but describes symbols rather than cons cells. The third element is similar but describes markers.* The variable buffer-name has been eliminated. The function buffer-name still exists. This is to prevent user programs from changing buffer names without going through the rename-buffer function.Changes in Emacs 1.9* When a fill prefix is in effect, paragraphs are started or separated by lines that do not start with the fill prefix. Also, a line which consists of the fill prefix followed by white space separates paragraphs.* C-x C-v runs the new function find-alternate-file. It finds the specified file, switches to that buffer, and kills the previous current buffer. (It requires confirmation if that buffer had changes.) This is most useful after you find the wrong file due to a typo.* Exiting the minibuffer moves the cursor to column 0, to show you that it has really been exited.* Meta-g (fill-region) now fills each paragraph in the region individually. To fill the region as if it were a single paragraph (for when the paragraph-delimiting mechanism does the wrong thing), use fill-region-as-paragraph.* Tab in text mode now runs the function tab-to-tab-stop. A new mode called indented-text-mode is like text-mode except that in it Tab runs the function indent-relative, which indents the line under the previous line. If auto fill is enabled while in indented-text-mode, the new lines that it makes are indented.* Functions kill-rectangle and yank-rectangle. kill-rectangle deletes the rectangle specified by dot and mark (or by two arguments) and saves it in the variable killed-rectangle. yank-rectangle inserts the rectangle in that variable. Tab characters in a rectangle being saved are replaced by spaces in such a way that their appearance will not be changed if the rectangle is later reinserted at a different column position.* `+' in a regular expression now means to repeat the previous expression one or more times. `?' means to repeat it zero or one time. They are in all regards like `*' except for the number of repetitions they match. \< in a regular expression now matches the null string when it is at the beginning of a word; \> matches the null string at the end of a word.* C-x p narrows the buffer so that only the current page is visible.* C-x ) with argument repeats the kbd macro just defined that many times, counting the definition as one repetition.* C-x ( with argument begins defining a kbd macro starting with the last one defined. It executes that previous kbd macro initially, just as if you began by typing it over again.* C-x q command queries the user during kbd macro execution. With prefix argument, enters recursive edit, reading keyboard commands even within a kbd macro. You can give different commands each time the macro executes. Without prefix argument, reads a character. Your options are: Space -- execute the rest of the macro. Delete -- skip the rest of the macro; start next repetition. C-d -- skip rest of the macro and don't repeat it any more. C-r -- enter a recursive edit, then on exit ask again for a character C-l -- redisplay screen and ask again."* write-kbd-macro and append-kbd-macro are used to save a kbd macro definition in a file (as Lisp code to redefine the macro when the file is loaded). These commands differ in that write-kbd-macro discards the previous contents of the file. If given a prefix argument, both commands record the keys which invoke the macro as well as the macro's definition.* The variable global-minor-modes is used to display strings in the mode line of all buffers. It should be a list of elements thaht are conses whose cdrs are strings to be displayed. This complements the variable minor-modes, which has the same effect but has a separate value in each buffer.* C-x = describes horizontal scrolling in effect, if any.* Return now auto-fills the line it is ending, in auto fill mode. Space with zero as argument auto-fills the line before it just like Space without an argument.Changes in Emacs 1.8This release mostly fixes bugs. There are a few new features:* apropos now sorts the symbols before displaying them. Also, it returns a list of the symbols found. apropos now accepts a second arg PRED which should be a function of one argument; if PRED is non-nil, each symbol is tested with PRED and only symbols for which PRED returns non-nil appear in the output or the returned list. If the third argument to apropos is non-nil, apropos does not display anything; it merely returns the list of symbols found. C-h a now runs the new function command-apropos rather than apropos, and shows only symbols with definitions as commands.* M-x shell sends the command if (-f ~/.emacs_NAME)source ~/.emacs_NAME invisibly to the shell when it starts. Here NAME is replaced by the name of shell used, as it came from your ESHELL or SHELL environment variable but with directory name, if any, removed.* M-, now runs the command tags-loop-continue, which is used to resume a terminated tags-search or tags-query-replace.Changes in Emacs 1.7It's Beat CCA Week.* The initial buffer is now called "*scratch*" instead of "scratch", so that all buffer names used automatically by Emacs now have *'s.* Undo information is now stored separately for each buffer. The Undo command (C-x u) always applies to the current buffer only. C-_ is now a synonym for C-x u. (buffer-flush-undo BUFFER) causes undo information not to be kept for BUFFER, and frees the space that would have been used to hold it. In any case, no undo information is kept for buffers whose names start with spaces. (These buffers also do not appear in the C-x C-b display.)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -