📄 onews
字号:
applications, these problems are significant.If you run a DOS application in a subprocess, then the application islikely to busy-wait, which means that your machine will be 100% busy.However, if you don't mind the temporary heavy load, the subprocesswill work OK as long as you tell it to terminate before you start anyother DOS application as a subprocess.Emacs is unable to terminate or interrupt a DOS subprocess.You have to do this by providing input directly to the subprocess.If you run two DOS applications at the same time in two separatesubprocesses, even if one of them is asynchronous, you will probablyhave to reboot your machine--until then, it will remain 100% busy.Windows simply does not cope when one Windows process tries to run twoseparate DOS subprocesses. Typing CTL-ALT-DEL and then choosingShutdown seems to work although it may take a few minutes.** M-x resize-minibuffer-mode.This command, not previously mentioned in NEWS, toggles a mode inwhich the minibuffer window expands to show as many lines as theminibuffer contains.** `title' frame parameter and resource.The `title' X resource now specifies just the frame title, nothing else.It does not affect the name used for looking up other X resources.It works by setting the new `title' frame parameter, which likewiseaffects just the displayed title of the frame.The `name' parameter continues to do what it used to do:it specifies the frame name for looking up X resources,and also serves as the default for the displayed titlewhen the `title' parameter is unspecified or nil.** Emacs now uses the X toolkit by default, if you have a newenough version of X installed (X11R5 or newer).** When you compile Emacs with the Motif widget set, Motif handles theF10 key by activating the menu bar. To avoid confusion, the usualEmacs binding of F10 is replaced with a no-op when using Motif.If you want to be able to use F10 in Emacs, you can rebind the Motifmenubar to some other key which you don't use. To do so, addsomething like this to your X resources file. This example rebindsthe Motif menu bar activation key to S-F12: Emacs*defaultVirtualBindings: osfMenuBar : Shift<Key>F12** In overwrite mode, DEL now inserts spaces in most casesto replace the characters it "deletes".** The Rmail summary now shows the number of lines in each message.** Rmail has a new command M-x unforward-rmail-message, which extractsa forwarded message from the message that forwarded it. To use it,select a message which contains a forwarded message and then type the command.It inserts the forwarded message as a separate Rmail messageimmediately after the selected one.This command also undoes the textual modifications that are standardlymade, as part of forwarding, by Rmail and other mail reader programs.** Turning off saving of .saves-... files in your home directory.Each Emacs session writes a file named .saves-... in your homedirectory to record which files M-x recover-session should recover.If you exit Emacs normally with C-x C-c, it deletes that file. IfEmacs or the operating system crashes, the file remains for M-xrecover-session.You can turn off the writing of these files by settingauto-save-list-file-name to nil. If you do this, M-x recover-sessionwill not work.Some previous Emacs versions failed to delete these files even onnormal exit. This is fixed now. If you are thinking of turning offthis feature because of past experiences with versions that had thisbug, it would make sense to check whether you still want to do sonow that the bug is fixed.** Changes to Version Control (VC)There is a new variable, vc-follow-symlinks. It indicates what to dowhen you visit a link to a file that is under version control.Editing the file through the link bypasses the version control system,which is dangerous and probably not what you want.If this variable is t, VC follows the link and visits the real file,telling you about it in the echo area. If it is `ask' (the default),VC asks for confirmation whether it should follow the link. If nil,the link is visited and a warning displayed.** iso-acc.el now lets you specify a choice of language.Languages include "latin-1" (the default) and "latin-2" (whichis designed for entering ISO Latin-2 characters).There are also choices for specific human languages such as French andPortuguese. These are subsets of Latin-1, which differ in that theyenable only the accent characters needed for particular language.The other accent characters, not needed for the chosen language,remain normal.** Posting articles and sending mail now has M-TAB completion on variousheader fields (Newsgroups, To, CC, ...).Completion in the Newsgroups header depends on the list of groupsknown to your news reader. Completion in the Followup-To headeroffers those groups which are in the Newsgroups header, sinceFollowup-To usually just holds one of those.Completion in fields that hold mail addresses works based on the listof local users plus your aliases. Additionally, if your site providesa mail directory or a specific host to use for any unrecognized username, you can arrange to query that host for completion also. (See thedocumentation of variables `mail-directory-process' and`mail-directory-stream'.)** A greatly extended sgml-mode offers new features such as (to be configured)skeletons with completing read for tags and attributes, typing namedcharacters including optionally all 8bit characters, making tags invisiblewith optional alternate display text, skipping and deleting tag(pair)s.Note: since Emacs' syntax feature cannot limit the special meaning of ', " and- to inside <>, for some texts the result, especially of font locking, may bewrong (see `sgml-specials' if you get wrong results).The derived html-mode configures this with tags and attributes more orless HTML3ish. It also offers optional quick keys like C-c 1 forheadline or C-c u for unordered list (see `html-quick-keys'). Edit /Text Properties / Face or M-g combinations create tags as applicable.Outline minor mode is supported and level 1 font-locking tries tofontify tag contents (which only works when they fit on one line, dueto a limitation in font-lock).External viewing via browse-url can occur automatically upon saving.** M-x imenu-add-to-menubar now adds to the menu bar for the currentbuffer only. If you want to put an Imenu item in the menu bar for allbuffers that use a particular major mode, use the mode hook, as inthis example: (add-hook 'emacs-lisp-mode-hook '(lambda () (imenu-add-to-menubar "Index")))** Changes in BibTeX mode.*** Field names may now contain digits, hyphens, and underscores.*** Font Lock mode is now supported.*** bibtex-make-optional-field is no longer interactive.*** If bibtex-maintain-sorted-entries is non-nil, inserting newentries is now done with a faster algorithm. However, insertingwill fail in this case if the buffer contains invalid entries orisn't in sorted order, so you should finish each entry with C-c C-c(bibtex-close-entry) after you have inserted or modified it.The default value of bibtex-maintain-sorted-entries is nil.*** Function `show-all' is no longer bound to a key, since C-u C-c C-qdoes the same job.*** Entries with quotes inside quote-delimited fields (as `author ="Stefan Sch{\"o}f"') are now supported.*** Case in field names doesn't matter anymore when searching for helptext.** Font Lock mode*** Global Font Lock modeFont Lock mode can be turned on globally, in buffers that support it, by thenew command global-font-lock-mode. You can use the new variablefont-lock-global-modes to control which modes have Font Lock mode automagicallyturned on. By default, this variable is set so that Font Lock mode is turnedon globally where the buffer mode supports it.For example, to automagically turn on Font Lock mode where supported, put: (global-font-lock-mode t)in your ~/.emacs.*** Local RefontificationIn Font Lock mode, editing a line automatically refontifies that line only.However, if your change alters the syntactic context for following lines,those lines remain incorrectly fontified. To refontify them, use the newcommand M-g M-g (font-lock-fontify-block).In certain major modes, M-g M-g refontifies the entire current function.(The variable font-lock-mark-block-function controls how to find thecurrent function.) In other major modes, M-g M-g refontifies 16 linesabove and below point.With a prefix argument N, M-g M-g refontifies N lines above and below point.** Follow modeFollow mode is a new minor mode combining windows showing the samebuffer into one tall "virtual window". The windows are typically twoside-by-side windows. Follow mode makes them scroll together as ifthey were a unit. To use it, go to a frame with just one window,split it into two side-by-side windows using C-x 3, and then type M-xfollow-mode.M-x follow-mode turns off Follow mode if it is already enabled.To display two side-by-side windows and activate Follow mode, use thecommand M-x follow-delete-other-windows-and-split.** hide-show changes.The hooks hs-hide-hooks and hs-show-hooks have been renamedto hs-hide-hook and hs-show-hook, to follow the convention fornormal hooks.** Simula mode now has a menu containing the most important commands.The new command simula-indent-exp is bound to C-M-q.** etags can now handle programs written in Erlang. Files arerecognised by the extensions .erl and .hrl. The tagged lines arethose that begin a function, record, or macro.** MSDOS Changes*** It is now possible to compile Emacs with the version 2 of DJGPP.Compilation with DJGPP version 1 also still works.*** The documentation of DOS-specific aspects of Emacs was rewrittenand expanded; see the ``MS-DOS'' node in the on-line docs.*** Emacs now uses ~ for backup file names, not .bak.*** You can simulate mouse-3 on two-button mice by simultaneouslypressing both mouse buttons.*** A number of packages and commands which previously failed or hadrestricted functionality on MS-DOS, now work. The most important onesare:**** Printing (both with `M-x lpr-buffer' and with `ps-print' package)now works.**** `Ediff' works (in a single-frame mode).**** `M-x display-time' can be used on MS-DOS (due to the newimplementation of Emacs timers, see below).**** `Dired' supports Unix-style shell wildcards.**** The `c-macro-expand' command now works as on other platforms.**** `M-x recover-session' works.**** `M-x list-colors-display' displays all the available colors.**** The `TPU-EDT' package works.* Lisp changes in Emacs 19.31.** The function using-unix-filesystems on Windows NT and Windows 95tells Emacs to read and write files assuming that they reside on aremote Unix filesystem. No CR/LF translation is done on any files inthis case. Invoking using-unix-filesystems with t activates thisbehavior, and invoking it with any other value deactivates it.** Change in system-type and system-configuration values.The value of system-type on a Linux-based GNU system is now `lignux',not `linux'. This means that some programs which use `system-type'need to be changed. The value of `system-configuration' will alsobe different.It is generally recommended to use `system-configuration' ratherthan `system-type'.See the file LINUX-GNU in this directory for more about this.** The functions shell-command and dired-call-processnow run file name handlers for default-directory, if it has them.** Undoing the deletion of text now restores the positions of markersthat pointed into or next to the deleted text.** Timers created with run-at-time now work internally to Emacs, andno longer use a separate process. Therefore, they now work morereliably and can be used for shorter time delays.The new function run-with-timer is a convenient way to set up a timerto run a specified amount of time after the present. A call lookslike this: (run-with-timer SECS REPEAT FUNCTION ARGS...)SECS says how many seconds should elapse before the timer happens.It may be an integer or a floating point number. When the timerbecomes ripe, the action is to call FUNCTION with arguments ARGS.REPEAT gives the interval for repeating the timer (measured inseconds). It may be an integer or a floating point number. nil or 0means don't repeat at all--call FUNCTION just once.*** with-timeout provides an easy way to do something but giveup if too much time passes. (with-timeout (SECONDS TIMEOUT-FORMS...) BODY...)This executes BODY, but gives up after SECONDS seconds.If it gives up, it runs the TIMEOUT-FORMS and returns the valueof the last one of them. Normally it returns the value of the lastform in BODY.*** You can now arrange to call a function whenever Emacs is idle fora certain length of time. To do this, call run-with-idle-timer. Acall looks like this: (run-with-idle-timer SECS REPEAT FUNCTION ARGS...)SECS says how many seconds of idleness should elapse before the timerruns. It may be an integer or a floating point number. When the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -