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

📄 onews

📁 windows版本的emacs
💻
📖 第 1 页 / 共 5 页
字号:
** Changes to Version Control (VC)*** General changes (all backends).VC directory listings (C-x v d) are now kept up to date when you do avc-next-action (C-x v v) on the marked files.  The `g' command updatesthe buffer properly.  `=' in a VC dired buffer produces a versioncontrol diff, not an ordinary diff.*** CVS changes.Under CVS, you no longer need to type C-x C-q before you can edit afile.  VC doesn't write-protect unmodified buffers anymore; you canfreely change them at any time.  The mode line keeps track of thefile status.If you do want unmodified files to be write-protected, set yourCVSREAD environment variable.  VC sees this and behaves accordingly;that will give you the behaviour of Emacs 19.29, similar to that underRCS and SCCS.  In this mode, if the variable vc-mistrust-permissionsis nil, VC learns the modification state from the file permissions.When setting CVSREAD for the first time, you should check out thewhole module anew, so that the file permissions are set correctly.VC also works with remote repositories now.  When you visit a file, itdoesn't run "cvs status" anymore, so there shouldn't be any long delays.Directory listings under VC/CVS have been enhanced.  Type C-x v d, andyou get a list of all files in or below the current directory that arenot up-to-date.  The actual status (modified, merge, conflict, ...) isdisplayed for each file.  If you give a prefix argument (C-u C-x v d),up-to-date files are also listed.  You can mark any number of files,and execute the next logical version control command on them (C-x v v).*** Starting a new branch.If you try to lock a version that is not the latest on its branch, VC asks for confirmation in the minibuffer.  If you say no, it offersto lock the latest version instead.*** RCS non-strict locking.VC can now handle RCS non-strict locking, too.  In this mode, workingfiles are always writable and you needn't lock the file before makingchanges, similar to the default mode under CVS.  To enable non-strictlocking for a file, use the "rcs -U" command.*** Sharing RCS master files.If you share RCS subdirs with other users (through symbolic links),and you always want to work on the latest version, setvc-consult-headers to nil and vc-mistrust-permissions to `t'.Then you see the state of the *latest* version on the mode line, notthat of your working file.  When you do a check out, VC overwritesyour working file with the latest version from the master.*** RCS customization.There is a new variable vc-consult-headers.  If it is t (the default),VC searches for RCS headers in working files (like `$Id: ONEWS,v 1.5 2001/01/31 15:19:32 gerd Exp $') anddetermines the state of the file from them, not from the master file.This is fast and more reliable when you use branches.  (The variablewas already present in Emacs 19.29, but didn't get mentioned in theNEWS.)** Calendar changes.*** New calendars supported: Chinese, Coptic, EthiopicHere are the commands for converting to and from these calendars:   gC: calendar-goto-chinese-date   gk: calendar-goto-coptic-date   ge: calendar-goto-ethiopic-date   pC: calendar-print-chinese-date   pk: calendar-print-coptic-date   pe: calendar-print-ethiopic-date*** Printed calendarsCalendar mode now has commands to produce fancy printed calendars viaLaTeX.  You can ask for a calendar for one or more days, weeks, monthsor years.  The commands all start with `t'; see the manual for a listof them.*** New sexp diary entry typeReminders that apply in the days leading up to an event. ** The CC-mode package now provides the default C and C++ modes.See the manual for documentation of its features.** The uniquify package chooses buffer names differently when youvisit multiple files with the same name (in different directories).** RMAIL now always uses the movemail program when it renames aninbox file, so that it can interlock properly with the mailerno matter where it is delivering mail.** tex-start-of-header and tex-end-of-header are now regular expressions,not strings.** To enable automatic uncompression of compressed files,type M-x auto-compression-mode.  (This command used to be calledtoggle-auto-compression, but was not documented before.)  In Lisp,you can do   (auto-compression-mode 1)to turn the mode on.** The new pc-select package emulates the key bindings for cutting andpasting, and selection of regions, found in Windows, Motif, and theMacintosh.** Help buffers now use a special major mode, Help mode.  This modenormally turns on View mode; it also provides a hook, help-mode-hook,which you can use for other customization.** Apropos now uses faces for enhanced legibility.  It now describessymbol properties as well as their function definitions and variablevalues.  You can use Mouse-2 or RET to get more information about afunction definition, variable, or property.** Font Lock mode*** Supports Scheme, TCL and Help modesFor example, to automatically turn on Font Lock mode in the *Help*buffer, put: (add-hook 'help-mode-hook 'turn-on-font-lock)in your ~/.emacs.*** Enhanced fontificationThe structure of font-lock-keywords is extended to allow "anchored" keywords.Typically, a keyword item of font-lock-keywords comprises a regexp to searchfor and information to specify how the regexp should be highlighted.  However,the highlighting information is extended so that it can be another keyworditem.  This keyword item, its regexp and highlighting information, is processedbefore resuming with the keyword item of which it is part.For example, a typical keyword item might be: ("\\<anchor\\>" (0 anchor-face))which fontifies each occurrence of the discrete word "anchor" in the value ofthe variable anchor-face.  However, the highlighting information can be used tofontify text that is anchored to the word "anchor".  For example: ("\\<anchor\\>" (0 anchor-face) ("\\=[ ,]*\\(item\\)" nil nil (1 item-face)))which fontifies each occurrence of "anchor" as above, but for each occurrenceof "anchor", each occurrence of "item", in any following comma separated list,is fontified in the value of the variable item-face.  Thus the "item" text isanchored to the "anchor" text.  See the variable documentation for furtherinformation.This feature is used to extend the level and quality of fontification in anumber of modes.  For example, C/C++ modes now have level 3 decoration thatincludes the fontification of variable and function names in declaration lists.In this instance, the "anchor" described in the above example is a type orclass name, and an "item" is a variable or function name.*** Fontification levelsThe variables font-lock-maximum-decoration and font-lock-maximum-size areextended to specify levels and sizes for specific modes.  The variablefont-lock-maximum-decoration specifies the preferred level of fontification formodes that provide multiple levels (typically from "subdued" to "gaudy").  Thevariable font-lock-maximum-size specifies the buffer size for which bufferfontification is suppressed when Font Lock mode is turned on (typically becauseit would take too long).These variables can now specify values for individual modes, by supplyinglists of mode names and values.  For example, to use the above mentioned level3 decoration for buffers in C/C++ modes, and default decoration otherwise, put: (setq font-lock-maximum-decoration '((c-mode . 3) (c++-mode . 3)))in your ~/.emacs.  Maximum buffer size values for individual modes arespecified in the same way with the variable font-lock-maximum-size.*** Font Lock configurationThe mechanism to provide default settings for Font Lock mode are the variablesfont-lock-defaults and font-lock-maximum-decoration.  Typically, you shouldonly need to change the value of font-lock-maximum-decoration.  However, tosupport Font Lock mode for buffers in modes that currently do not support FontLock mode, you should set a buffer local value of font-lock-defaults for thatmode, typically via its mode hook.These variables are used by Font Lock mode to set the values of the variablesfont-lock-keywords, font-lock-keywords-only, font-lock-syntax-table,font-lock-beginning-of-syntax-function and font-lock-keywords-case-fold-search.You need not set these variables directly, and should not set them yourselfsince the underlining mechanism may change in future.** Archive mode is now the default mode for various sorts ofarchive files (files whose names end with .arc, .lzh, .zip, and .zoo).** You can automatically update the years in copyright notice bymeans of (add-hook 'write-file-hooks 'copyright-update).Optionally it can update the GPL version as well.** Scripts of various languages (Shell, AWK, Perl, makefiles ...) canbe automatically provided with a magic number and be made executableby their respective modes under control of various user variables.The mode must call (executable-set-magic "perl") or(executable-set-magic "make" "-f").  The latter for example has noeffect on [Mm]akefile.** Shell script mode now supports over 15 different shells.  The newcommand C-c ! executes the region, and optionally beginning of scriptas well, by passing them to the shell.Cases such as `sh' being a `bash' are now accounted for.Fontification now also does variables, the magic number and allbuiltin commands.  Shell script mode no longer mingles `tab-width' andindentation style.  The variable `sh-tab-width' has been renamed to`sh-indentation'.  Empty lines are now indented like previousnon-empty line, rather than just previous line.The annoying $ variable prompting has been eliminated.  Instead, shellscript mode uses `comint-dynamic-completion' for commands, variablesand filenames.** Two-column mode now automatically scrolls both buffers together,which makes it possible to eliminate the special scrolling commandsthat used to do so.The commands that operate in two-column mode are no longer bound tokeys outside that mode.  f2 o will now position at the same point inassociated buffer.the new command f2 RET inserts a newline in both buffers, at point andat the corresponding position in the associated buffer.** Skeleton commands now work smoothly as abbrev definitions.  Theelement < no longer exists, ' is a new element.** The autoinsert insert facility for prefilling empty files as soonas they are found has been extended to accommodate skeletons or callingfunctions.  See the function auto-insert.** TPU-edt ChangesLoading tpu-edt no longer turns on tpu-edt mode.  In fact, it is nolonger necessary to explicitly load tpu-edt.  All you need to do toturn on tpu-edt is run the tpu-edt function.  Here's how to runtpu-edt instead of loading the file:    Running Emacs:   Type      emacs -f tpu-edt                    not      emacs -l tpu-edt  Within Emacs:    Type      M-x tpu-edt <ret>                    not      M-x load-library <ret> tpu-edt <ret>    In .emacs:       Use       (tpu-edt)                   not       (load "tpu-edt")  The default name of the tpu-edt X key definition file has changed from~/.tpu-gnu-keys to ~/.tpu-keys.  If you don't rename the file yourself,tpu-edt will offer to rename it the first time you invoke it underx-windows.** MS-DOS Enhancements:*** Better mouse control by adding the following functions [in dosfns.c]msdos-mouse-enable, msdos-mouse-disable, msdos-mouse-init.*** If another foreground/background color than the default is setup inyour ~/_emacs, then the screen briefly flickers with the defaultcolors before changing to the colors you have specified.  To avoidthis, the EMACSCOLORS environment variable exists.  It shall bedefined as a string with the following elements:      set EMACSCOLORS=fb;fb  The first set of "fb" defines the initial foreground and backgroundcolors using standard dos color numbers (0=black,.., 7=white).If specified, the second set of "fb" defines the colors which arerestored when you leave emacs.  *** The new SUSPEND environment variable can now be set as the shell touse when suspending emacs.  This can be used to override the stupidlimitation on the environment of sub-shells in MS-DOS (they are justlarge enough to hold the currently defined variables, not leavingroom for more); to overcome this limitation, add this to autoexec.bat:      set SUSPEND=%COMSPEC% /E:2000** The escape character can now be displayed on X frames.  Trythis:    (aset standard-display-table 27 (vector 27))after first creating a display table (you can do that by loadingthe disp-table library).** The new command-line option --eval specifies an expression to evaluatefrom the command line.** etags has now the ability to tag Perl files.  They are recognisedeither by the .pm and .pl suffixes or by a first line which startswith `#!' and specifies a Perl interpreter.  The tagged lines arethose beginning with the `sub' keyword.New suffixes recognised are .hpp for C++; .f90 for Fortran; .bib,.ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; .prolog forprolog (.pl is now Perl).** The files etc/termcap.dat and etc/termcap.ucb have been replacedwith a new, merged, and much more comprehensive termcap file.  Thenew file should include all the special entries from the old one.This new file is under active development as part of the ncursesproject.  If you have any questions about this file, or problems withan entry in it, email terminfo@ccil.org.* Lisp changes in Emacs 19.30.** New Data Types

⌨️ 快捷键说明

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