📄 news
字号:
** Both emacsclient and Emacs itself now accept command line optionsof the form +LINE:COLUMN in addition to +LINE.** Changes to Show Paren mode.*** Overlays used by Show Paren mode now use a priority property.The new user option show-paren-priority specifies the priority touse. Default is 1000.** New command M-x check-parens can be used to find unbalanced parengroups and strings in buffers in Lisp mode (or other modes).** Changes to hideshow.el*** Generalized block selection and traversalA block is now recognized by its start and end regexps (both strings),and an integer specifying which sub-expression in the start regexpserves as the place where a `forward-sexp'-like function can operate.See the documentation of variable `hs-special-modes-alist'.*** During incremental search, if Hideshow minor mode is active,hidden blocks are temporarily shown. The variable `hs-headline' canbe used in the mode line format to show the line at the beginning ofthe open block.*** User option `hs-hide-all-non-comment-function' specifies afunction to be called at each top-level block beginning, instead ofthe normal block-hiding function.*** The command `hs-show-region' has been removed.*** The key bindings have changed to fit the Emacs conventions,roughly imitating those of Outline minor mode. Notably, the prefixfor all bindings is now `C-c @'. For details, see the documentationfor `hs-minor-mode'.*** The variable `hs-show-hidden-short-form' has been removed, andhideshow.el now always behaves as if this variable were set to t.** Changes to Change Log mode and Add-Log functions*** If you invoke `add-change-log-entry' from a backup file, it makesan entry appropriate for the file's parent. This is useful for makinglog entries by comparing a version with deleted functions.**** New command M-x change-log-merge merges another log into thecurrent buffer.*** New command M-x change-log-redate fixes any old-style date entriesin a log file.*** Change Log mode now adds a file's version number to change logentries if user-option `change-log-version-info-enabled' is non-nil.Unless the file is under version control the search for a file'sversion number is performed based on regular expressions from`change-log-version-number-regexp-list' which can be customized.Version numbers are only found in the first 10 percent of a file.*** Change Log mode now defines its own faces for font-lock highlighting.** Changes to cmuscheme*** The user-option `scheme-program-name' has been renamed`cmuscheme-program-name' due to conflicts with xscheme.el.** Changes in Font Lock*** The new function `font-lock-remove-keywords' can be used to removefont-lock keywords from the current buffer or from a specific major mode.*** Multi-line patterns are now supported. Modes using this, shouldset font-lock-multiline to t in their font-lock-defaults.*** `font-lock-syntactic-face-function' allows major-modes to choosethe face used for each string/comment.*** A new standard face `font-lock-doc-face'.Meant for Lisp docstrings, Javadoc comments and other "documentation in code".** Changes to Shell mode*** The `shell' command now accepts an optional argument to specify the bufferto use, which defaults to "*shell*". When used interactively, anon-default buffer may be specified by giving the `shell' command aprefix argument (causing it to prompt for the buffer name).** Comint (subshell) changesThese changes generally affect all modes derived from comint mode, whichinclude shell-mode, gdb-mode, scheme-interaction-mode, etc.*** Comint now by default interprets some carriage-control characters.Comint now removes CRs from CR LF sequences, and treats single CRs andBSs in the output in a way similar to a terminal (by deleting to thebeginning of the line, or deleting the previous character,respectively). This is achieved by adding `comint-carriage-motion' tothe `comint-output-filter-functions' hook by default.*** By default, comint no longer uses the variable `comint-prompt-regexp'to distinguish prompts from user-input. Instead, it notices whichparts of the text were output by the process, and which entered by theuser, and attaches `field' properties to allow emacs commands to usethis information. Common movement commands, notably beginning-of-line,respect field boundaries in a fairly natural manner. To disable thisfeature, and use the old behavior, customize the user option`comint-use-prompt-regexp-instead-of-fields'.*** Comint now includes new features to send commands to running processesand redirect the output to a designated buffer or buffers.*** The command M-x comint-redirect-send-command reads a command andbuffer name from the mini-buffer. The command is sent to the currentbuffer's process, and its output is inserted into the specified buffer.The command M-x comint-redirect-send-command-to-process acts likeM-x comint-redirect-send-command but additionally reads the name ofthe buffer whose process should be used from the mini-buffer.*** Packages based on comint now highlight user input and program prompts,and support choosing previous input with mouse-2. To control these features,see the user-options `comint-highlight-input' and `comint-highlight-prompt'.*** The new command `comint-write-output' (usually bound to `C-c C-s')saves the output from the most recent command to a file. With a prefixargument, it appends to the file.*** The command `comint-kill-output' has been renamed `comint-delete-output'(usually bound to `C-c C-o'); the old name is aliased to it forcompatibility.*** The new function `comint-add-to-input-history' adds commands to the inputring (history).*** The new variable `comint-input-history-ignore' is a regexp foridentifying history lines that should be ignored, like tcsh time-stampstrings, starting with a `#'. The default value of this variable is "^#".** Changes to Rmail mode*** The new user-option rmail-user-mail-address-regexp can beset to fine tune the identification of the correspondent whenreceiving new mail. If it matches the address of the sender, therecipient is taken as correspondent of a mail. If nil, the default,`user-login-name' and `user-mail-address' are used to exclude yourselfas correspondent.Usually you don't have to set this variable, except if you collectmails sent by you under different user names. Then it should be aregexp matching your mail addresses.*** The new user-option rmail-confirm-expunge controls whether and howto ask for confirmation before expunging deleted messages from anRmail file. You can choose between no confirmation, confirmationwith y-or-n-p, or confirmation with yes-or-no-p. Default is to askfor confirmation with yes-or-no-p.*** RET is now bound in the Rmail summary to rmail-summary-goto-msg,like `j'.*** There is a new user option `rmail-digest-end-regexps' thatspecifies the regular expressions to detect the line that ends adigest message.*** The new user option `rmail-automatic-folder-directives' specifiesin which folder to put messages automatically.*** The new function `rmail-redecode-body' allows to fix a messagewith non-ASCII characters if Emacs happens to decode it incorrectlydue to missing or malformed "charset=" header.** The new user-option `mail-envelope-from' can be used to specifyan envelope-from address different from user-mail-address.** The variable mail-specify-envelope-from controls whether touse the -f option when sending mail.** The Rmail command `o' (`rmail-output-to-rmail-file') now writes thecurrent message in the internal `emacs-mule' encoding, rather than inthe encoding taken from the variable `buffer-file-coding-system'.This allows to save messages whose characters cannot be safely encodedby the buffer's coding system, and makes sure the message will bedisplayed correctly when you later visit the target Rmail file.If you want your Rmail files be encoded in a specific coding systemother than `emacs-mule', you can customize the variable`rmail-file-coding-system' to set its value to that coding system.** Changes to TeX mode*** The default mode has been changed from `plain-tex-mode' to`latex-mode'.*** latex-mode now has a simple indentation algorithm.*** M-f and M-p jump around \begin...\end pairs.*** Added support for outline-minor-mode.** Changes to RefTeX mode*** RefTeX has new support for index generation. Index entries can be created with `C-c <', with completion available on index keys. Pressing `C-c /' indexes the word at the cursor with a default macro. `C-c >' compiles all index entries into an alphabetically sorted *Index* buffer which looks like the final index. Entries can be edited from that buffer.*** Label and citation key selection now allow to select several items and reference them together (use `m' to mark items, `a' or `A' to use all marked entries).*** reftex.el has been split into a number of smaller files to reduce memory use when only a part of RefTeX is being used.*** a new command `reftex-view-crossref-from-bibtex' (bound to `C-c &' in BibTeX-mode) can be called in a BibTeX database buffer in order to show locations in LaTeX documents where a particular entry has been cited.** Emacs Lisp mode now allows multiple levels of outline headings.The level of a heading is determined from the number of leadingsemicolons in a heading line. Toplevel forms starting with a `('in column 1 are always made leaves.** The M-x time-stamp command (most commonly used on write-file-hooks)has the following new features:*** The patterns for finding the time stamp and for updating a patternmay match text spanning multiple lines. For example, some people liketo have the filename and date on separate lines. The new variabletime-stamp-inserts-lines controls the matching for multi-line patterns.*** More than one time stamp can be updated in the same file. Thisfeature is useful if you need separate time stamps in a program sourcefile to both include in formatted documentation and insert in thecompiled binary. The same time-stamp will be written at each matchingpattern. The variable time-stamp-count enables this new feature; itdefaults to 1.** Partial Completion mode now completes environment variables infile names.** Ispell changes*** The command `ispell' now spell-checks a region iftransient-mark-mode is on, and the mark is active. Otherwise itspell-checks the current buffer.*** Support for synchronous subprocesses - DOS/Windoze - has beenadded.*** An "alignment error" bug was fixed when a manual spellingcorrection is made and re-checked.*** An Italian, Portuguese, and Slovak dictionary definition has been added.*** Region skipping performance has been vastly improved in somecases.*** Spell checking HTML buffers has been improved and isn't so stricton syntax errors.*** The buffer-local words are now always placed on a new line at theend of the buffer.*** Spell checking now works in the MS-DOS version of Emacs.** Makefile mode changes*** The mode now uses the abbrev table `makefile-mode-abbrev-table'.*** Conditionals and include statements are now highlighted whenFontlock mode is active.** Isearch changes*** Isearch now puts a call to `isearch-resume' in the command history,so that searches can be resumed.*** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r,respectively, i.e. you can repeat a regexp isearch with the same keysthat started the search.*** In Isearch mode, mouse-2 in the echo area now yanks the currentselection into the search string rather than giving an error.*** There is a new lazy highlighting feature in incremental search.Lazy highlighting is switched on/off by customizing variable`isearch-lazy-highlight'. When active, all matches for the currentsearch string are highlighted. The current match is highlighted asbefore using face `isearch' or `region'. All other matches arehighlighted using face `isearch-lazy-highlight-face' which defaults to`secondary-selection'.The extra highlighting makes it easier to anticipate where the cursorwill end up each time you press C-s or C-r to repeat a pending search.Highlighting of these additional matches happens in a deferred fashionusing "idle timers," so the cycles needed do not rob isearch of itsusual snappy response.If `isearch-lazy-highlight-cleanup' is set to t, highlights formatches are automatically cleared when you end the search. If it isset to nil, you can remove the highlights manually with `M-xisearch-lazy-highlight-cleanup'.** VC ChangesVC has been
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -