⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 windows版本的emacs
💻
📖 第 1 页 / 共 5 页
字号:
*** Support for autodoc comments in Pike mode.Autodoc comments for Pike are used to extract documentation from thesource, like Javadoc in Java.  Pike mode now recognize this markup incomment prefixes and paragraph starts.*** The comment prefix regexps on c-comment-prefix may be mode specific.When c-comment-prefix is an association list, it specifies the commentline prefix on a per-mode basis, like c-default-style does.  Thischange came about to support the special autodoc comment prefix inPike mode only.*** Better handling of syntactic errors.The recovery after unbalanced parens earlier in the buffer has beenimproved; CC Mode now reports them by dinging and giving a messagestating the offending line, but still recovers and indent thefollowing lines in a sane way (most of the time).  An "else" with nomatching "if" is handled similarly.  If an error is discovered whileindenting a region, the whole region is still indented and the erroris reported afterwards.*** Lineup functions may now return absolute columns.A lineup function can give an absolute column to indent the line to byreturning a vector with the desired column as the first element.*** More robust and warning-free byte compilation.Although this is strictly not a user visible change (well, dependingon the view of a user), it's still worth mentioning that CC Mode nowcan be compiled in the standard ways without causing trouble.  Somecode have also been moved between the subpackages to enhance themodularity somewhat.  Thanks to Martin Buchholz for doing thegroundwork.*** c-style-variables-are-local-p now defaults to t.This is an incompatible change that has been made to make the behaviorof the style system wrt global variable settings less confusing fornon-advanced users.  If you know what this variable does you mightwant to set it to nil in your .emacs, otherwise you probably don'thave to bother.Defaulting c-style-variables-are-local-p to t avoids the confusingsituation that occurs when a user sets some style variables globallyand edits both a Java and a non-Java file in the same Emacs session.If the style variables aren't buffer local in this case, loading ofthe second file will cause the default style (either "gnu" or "java"by default) to override the global settings made by the user.*** New initialization procedure for the style system.When the initial style for a buffer is determined by CC Mode (from thevariable c-default-style), the global values of style variables nowtake precedence over the values specified by the chosen style.  Thisis different than the old behavior: previously, the style-specificsettings would override the global settings.  This change makes itpossible to do simple configuration in the intuitive way withCustomize or with setq lines in one's .emacs file.By default, the global value of every style variable is the newspecial symbol set-from-style, which causes the value to be taken fromthe style system.  This means that in effect, only an explicit settingof a style variable will cause the "overriding" behavior describedabove.Also note that global settings override style-specific settings *only*when the initial style of a buffer is chosen by a CC Mode major modefunction.  When a style is chosen in other ways --- for example, by acall like (c-set-style "gnu") in a hook, or via M-x c-set-style ---then the style-specific values take precedence over any global stylevalues.  In Lisp terms, global values override style-specific valuesonly when the new second argument to c-set-style is non-nil; see thefunction documentation for more info.The purpose of these changes is to make it easier for users,especially novice users, to do simple customizations with Customize orwith setq in their .emacs files.  On the other hand, the new system isintended to be compatible with advanced users' customizations as well,such as those that choose styles in hooks or whatnot.  This new systemis believed to be almost entirely compatible with currentconfigurations, in spite of the changed precedence between style andglobal variable settings when a buffer's default style is set.(Thanks to Eric Eide for clarifying this explanation a bit.)**** c-offsets-alist is now a customizable variable.This became possible as a result of the new initialization behavior.This variable is treated slightly differently from the other stylevariables; instead of using the symbol set-from-style, it will becompleted with the syntactic symbols it doesn't already contain whenthe style is first initialized.  This means it now defaults to theempty list to make all syntactic elements get their values from thestyle system.**** Compatibility variable to restore the old behavior.In case your configuration doesn't work with this change, you can setc-old-style-variable-behavior to non-nil to get the old behavior backas far as possible.*** Improvements to line breaking and text filling.CC Mode now handles this more intelligently and seamlessly wrt thesurrounding code, especially inside comments.  For details see the newchapter about this in the manual.**** New variable to recognize comment line prefix decorations.The variable c-comment-prefix-regexp has been added to properlyrecognize the line prefix in both block and line comments.  It'sprimarily used to initialize the various paragraph recognition andadaptive filling variables that the text handling functions uses.**** New variable c-block-comment-prefix.This is a generalization of the now obsolete variablec-comment-continuation-stars to handle arbitrary strings.**** CC Mode now uses adaptive fill mode.This to make it adapt better to the paragraph style inside comments.It's also possible to use other adaptive filling packages inside CCMode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/).A new convenience function c-setup-filladapt sets up Filladapt for useinside CC Mode.Note though that the 2.12 version of Filladapt lacks a feature thatcauses it to work suboptimally when c-comment-prefix-regexp can matchthe empty string (which it commonly does).  A patch for that isavailable from the CC Mode web site (http://www.python.org/emacs/cc-mode/).**** The variables `c-hanging-comment-starter-p' and`c-hanging-comment-ender-p', which controlled how comment starters andenders were filled, are not used anymore.  The new version of thefunction `c-fill-paragraph' keeps the comment starters and enders asthey were before the filling.**** It's now possible to selectively turn off auto filling.The variable c-ignore-auto-fill is used to ignore auto fill mode inspecific contexts, e.g. in preprocessor directives and in stringliterals.**** New context sensitive line break function c-context-line-break.It works like newline-and-indent in normal code, and adapts the lineprefix according to the comment style when used inside comments.  Ifyou're normally using newline-and-indent, you might want to switch tothis function.*** Fixes to IDL mode.It now does a better job in recognizing only the constructs relevantto IDL.  E.g. it no longer matches "class" as the beginning of astruct block, but it does match the CORBA 2.3 "valuetype" keyword.Thanks to Eric Eide.*** Improvements to the Whitesmith style.It now keeps the style consistently on all levels and both whenopening braces hangs and when they don't.**** New lineup function c-lineup-whitesmith-in-block.*** New lineup functions c-lineup-template-args and c-indent-multi-line-block.See their docstrings for details.  c-lineup-template-args does abetter job of tracking the brackets used as parens in C++ templates,and is used by default to line up continued template arguments.*** c-lineup-comment now preserves alignment with a comment on theprevious line.  It used to instead preserve comments that started inthe column specified by comment-column.*** c-lineup-C-comments handles "free form" text comments.In comments with a long delimiter line at the start, the indentationis kept unchanged for lines that start with an empty comment lineprefix.  This is intended for the type of large block comments thatcontain documentation with its own formatting.  In these you normallydon't want CC Mode to change the indentation.*** The `c' syntactic symbol is now relative to the comment startinstead of the previous line, to make integers usable as lineuparguments.*** All lineup functions have gotten docstrings.*** More preprocessor directive movement functions.c-down-conditional does the reverse of c-up-conditional.c-up-conditional-with-else and c-down-conditional-with-else arevariants of these that also stops at "#else" lines (suggested by DonProvan).*** Minor improvements to many movement functions in tricky situations.** Dired changes*** New variable `dired-recursive-deletes' determines if the deletecommand will delete non-empty directories recursively.  The defaultis, delete only empty directories.*** New variable `dired-recursive-copies' determines if the copycommand will copy directories recursively.  The default is, do notcopy directories recursively.*** In command `dired-do-shell-command' (usually bound to `!') a `?'in the shell command has a special meaning similar to `*', but withthe difference that the command will be run on each file individually.*** The new command `dired-find-alternate-file' (usually bound to `a')replaces the Dired buffer with the buffer for an alternate file ordirectory.*** The new command `dired-show-file-type' (usually bound to `y') showsa message in the echo area describing what type of file the point is on.This command invokes the external program `file' do its work, and sowill only work on systems with that program, and will be only asaccurate or inaccurate as it is.*** Dired now properly handles undo changes of adding/removing `-R'from ls switches.*** Dired commands that prompt for a destination file now allow the useof the `M-n' command in the minibuffer to insert the source filename,which the user can then edit.  This only works if there is a singlesource file, not when operating on multiple marked files.** Gnus changes.The Gnus NEWS entries are short, but they reflect sweeping changes infour areas: Article display treatment, MIME treatment,internationalization and mail-fetching.*** The mail-fetching functions have changed.  See the manual for themany details.  In particular, all procmail fetching variables are gone.If you used procmail like in(setq nnmail-use-procmail t)(setq nnmail-spool-file 'procmail)(setq nnmail-procmail-directory "~/mail/incoming/")(setq nnmail-procmail-suffix "\\.in")this now has changed to(setq mail-sources      '((directory :path "~/mail/incoming/"		   :suffix ".in")))More information is available in the info doc at Select Methods ->Getting Mail -> Mail Sources*** Gnus is now a MIME-capable reader.  This affects many parts ofGnus, and adds a slew of new commands.  See the manual for details.Separate MIME packages like RMIME, mime-compose etc., will probably nolonger work; remove them and use the native facilities.The FLIM/SEMI package still works with Emacs 21, but if you want touse the native facilities, you must remove any mailcap.el[c] that wasinstalled by FLIM/SEMI version 1.13 or earlier.*** Gnus has also been multilingualized.  This also affects too manyparts of Gnus to summarize here, and adds many new variables.  Thereare built-in facilities equivalent to those of gnus-mule.el, which isnow just a compatibility layer.*** gnus-mule.el is now just a compatibility layer over the built-inGnus facilities.*** gnus-auto-select-first can now be a function to becalled to position point.*** The user can now decide which extra headers should be included insummary buffers and NOV files.*** `gnus-article-display-hook' has been removed.  Instead, a numberof variables starting with `gnus-treat-' have been added.*** The Gnus posting styles have been redone again and now work in asubtly different manner.*** New web-based backends have been added: nnslashdot, nnwarchiveand nnultimate.  nnweb has been revamped, again, to keep up withever-changing layouts.*** Gnus can now read IMAP mail via nnimap.*** There is image support of various kinds and some sound support.** Changes in Texinfo mode.*** A couple of new key bindings have been added for inserting Texinfomacros  Key binding	Macro  -------------------------  C-c C-c C-s	@strong  C-c C-c C-e	@emph  C-c C-c u	@uref  C-c C-c q     @quotation  C-c C-c m	@email  C-c C-o       @<block> ... @end <block>  M-RET         @item*** The " key now inserts either " or `` or '' depending on context.** Changes in Outline mode.There is now support for Imenu to index headings.  A new command`outline-headers-as-kill' copies the visible headings in the region tothe kill ring, e.g. to produce a table of contents.** Changes to Emacs Server*** The new option `server-kill-new-buffers' specifies what to dowith buffers when done with them.  If non-nil, the default, buffersare killed, unless they were already present before visiting them withEmacs Server.  If nil, `server-temp-file-regexp' specifies whichbuffers to kill, as before.Please note that only buffers are killed that still have a client,i.e. buffers visited with `emacsclient --no-wait' are never killed inthis way.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -