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

📄 onews.3

📁 windows版本的emacs
💻 3
📖 第 1 页 / 共 5 页
字号:
** LaTeX mode.LaTeX mode now exists.  Use M-x latex-mode to select this mode, andM-x plain-tex-mode to select the previously existing mode for PlainTeX.  M-x tex-mode attempts to examine the contents of the buffer andchoose between latex-mode and plain-tex-mode accordingly; if thebuffer is empty or it cannot tell, the variable `TeX-default-mode'controls the choice.  Its value should be the symbol for the mode tobe used.The facilities for running TeX on all or part of the bufferwork with LaTeX as well.Some new commands available in both modes:C-c C-l		recenter the window showing the TeX output buffer		 so most recent line of output can be seen.C-c C-k		kill the TeX subprocess.C-c C-q		show the printer queue.C-c C-f		close a block (appropriate for LaTeX only).		 If the current line contains a \begin{...},		 this inserts an \end{...} on the following line		 and puts point on a blank line between them.** Outline mode changes.Invisible lines in outline mode are now indicated by `...' at theend of the previous visible line.The special outline heading motion commands are now all on C-c keys.A few new ones have been added.  Here is a full list:C-c C-n   Move to next visible heading (formerly M-})C-c C-p   Move to previous visible heading (formerly M-{)C-c C-f   Move to next visible heading at the same level.	   Thus, if point is on a level-2 heading line,	   this command moves to the next visible level-2 heading.C-c C-b   Move to previous visible heading at the same level.C-c C-u   Move up to previous visible heading at a higher level.The variable `outline-regexp' now controls recognition of heading lines.Any line whose beginning matches this regexp is a heading line.The depth in outline structure is determined by the length ofthe string that matches.A line starting with a ^L (formfeed) is now by default considereda header line.* Mail reading and sending.** MH-E changes.MH-E has been extensively modified and improved since the v17 release.It contains many new features, including commands to: extracted failedmessages, kill a draft message, undo changes to a mail folder, monitordelivery of a letter, print multiple messages, page digests backwards,insert signatures, and burst digests.  Also, many commands have beenmade to able to deal with named sequences of messages, instead ofsingle messages.  MH-E also has had numerous bugs fixed and commandsmade to run faster.  Furthermore, its keybindings have been changed tobe compatible with Rmail and the rest of GNU Emacs.** Mail mode changes.The C-c commands of mail mode have been rearranged:C-c s, C-c c, C-c t and C-c b (move point to various header fields)have been reassigned as C-c C-f C-s, C-c C-f C-c, C-c C-f C-t and C-cC-f C-b.  C-c C-f is for "field".C-c y, C-c w and C-c q have been changed to C-c C-y, C-c C-w and C-c C-q.Thus, C-c LETTER is always unassigned.** Rmail C-r command changed to w.The Rmail command to edit the current message is now `w'.  This changehas been made because people frequently type C-r while in Rmail hopingto do a reverse incremental search.  That now works.* Rnews changes.** Caesar rotation added.The function news-caesar-buffer-body performs encryption anddecryption of the body of a news message.  It defaults to the USENETstandard of 13, and accepts any numeric arg between 1 to 25 and -25 to -1.The function is bound to C-c C-r in both news-mode and news-reply-mode.** rmail-output command added.The C-o command has been bound to rmail-output in news-mode.This allows one to append an article to a file which is in either Unixmail or RMAIL format.** news-reply-mode changes.The C-c commands of news reply mode have been rearranged and changed,so that C-c LETTER is always unassigned:C-c y, C-c w and C-c q have been changed to C-c C-y, C-c C-w and C-c C-q.C-c c, C-c t, and C-c b (move to various mail header fields) have beendeleted (they make no sense for posting and replying to USENET).C-c s (move to Subject: header field) has been reassigned as C-c C-fC-s.  C-c C-f is for "field".  Several additional move to news headerfield commands have been added.The local news-reply-mode bindings now look like this:C-c C-s  news-inews (post the message)    C-c C-c  news-inewsC-c C-f	 move to a header field (and create it if there isn't):	 C-c C-f C-n  move to Newsgroups:	C-c C-f C-s  move to Subj:	 C-c C-f C-f  move to Followup-To:      C-c C-f C-k  move to Keywords:	 C-c C-f C-d  move to Distribution:	C-c C-f C-a  move to Summary:C-c C-y  news-reply-yank-original (insert current message, in NEWS).C-c C-q  mail-fill-yanked-message (fill what was yanked).C-c C-r  caesar rotate all letters by 13 places in the article's body (rot13).* Existing Emacs usable as a server.Programs such as mailers that invoke "the editor" as an inferiorto edit some text can now be told to use an existing Emacs processinstead of creating a new editor.To do this, you must have an Emacs process running and capable ofdoing terminal I/O at the time you want to invoke it.  This means thateither you are using a window system and give Emacs a separate windowor you run the other programs as inferiors of Emacs (such as, usingM-x shell).First prepare the existing Emacs process by loading the `server'library and executing M-x server-start.  (Your .emacs can do thisautomatically.)Now tell the other programs to use, as "the editor", the Emacs clientprogram (etc/emacsclient, located in the same directory as this file).This can be done by setting the environment variable EDITOR.When another program invokes the emacsclient as "the editor", theclient actually transfers the file names to be edited to the existingEmacs, which automatically visits the files.When you are done editing a buffer for a client, do C-x # (server-edit).This marks that buffer as done, and selects the next buffer that the clientasked for.  When all the buffers requested by a client are marked in thisway, Emacs tells the client program to exit, so that the program thatinvoked "the editor" will resume execution.You can only have one server Emacs at a time, but multiple client programscan put in requests at the same time.The client/server work only on Berkeley Unix, since they use the Berkeleysockets mechanism for their communication.Changes in Lisp programming in Emacs version 18.* Init file changes.** Suffixes no longer accepted on `.emacs'.Emacs will no longer load a file named `.emacs.el' or `emacs.elc'in place of `.emacs'.  This is so that it will take less time tofind `.emacs'.  If you want to compile your init file, give it anothername and make `.emacs' a link to the `.elc' file, or make it containa call to `load' to load the `.elc' file.** `default-profile' renamed to `default', and loaded after `.emacs'.It used to be the case that the file `default-profile' was loaded ifand only if `.emacs' was not found.Now the name `default-profile' is not used at all.  Instead, a librarynamed `default' is loaded after the `.emacs' file.  `default' is loadedwhether the `.emacs' file exists or not.  However, loading of `default'can be prevented if the `.emacs' file sets `inhibit-default-init' to non-nil.In fact, you would call the default file `default.el' and probably wouldbyte-compile it to speed execution.Note that for most purposes you are better off using a `site-init' librarysince that will be loaded before the runnable Emacs is dumped.  By usinga `site-init' library, you avoid taking up time each time Emacs is started.** inhibit-command-line has been eliminated.This variable used to exist for .emacs files to set.  It has beeneliminated because you can get the same effect by settingcommand-line-args to nil and setting inhibit-startup-message to t.* `apply' is more general.`apply' now accepts any number of arguments.  The first one is a function;the rest are individual arguments to pass to that function, except for thelast, which is a list of arguments to pass.Previously, `apply' required exactly two arguments.  Its old behaviorfollows as a special case of the new definition.* New code-letter for `interactive'.(interactive "NFoo: ") is like (interactive "nFoo: ") in readinga number using the minibuffer to serve as the argument; however,if a prefix argument was specified, it uses the prefix argumentvalue as the argument, and does not use the minibuffer at all.This is used by the `goto-line' and `goto-char' commands.* Semantics of variables.** Built-in per-buffer variables improved.Several built-in variables which in the past had a different value ineach buffer now behave exactly as if `make-variable-buffer-local' hadbeen done to them.These variables are `tab-width', `ctl-arrow', `truncate-lines',`fill-column', `left-margin', `mode-line-format', `abbrev-mode',`overwrite-mode', `case-fold-search', `auto-fill-hook',`selective-display', `selective-display-ellipses'.To be precise, each variable has a default value which shows throughin most buffers and can be accessed with `default-value' and set with`set-default'.  Setting the variable with `setq' makes the variablelocal to the current buffer.  Changing the default value has retroactiveeffect on all buffers in which the variable is not local.The variables `default-case-fold-search', etc., are now obsolete.They now refer to the default value of the variable, which is notquite the same behavior as before, but it should enable old init filesto continue to work.** New per-buffer variables.The variables `fill-prefix', `comment-column' and `indent-tabs-mode'are now per-buffer.  They work just like `fill-column', etc.** New function `setq-default'.`setq-default' sets the default value of a variable, and uses thesame syntax that `setq' accepts: the variable name is not evaluatedand need not be quoted.`(setq-default case-fold-search nil)' would make searches case-sensitivein all buffers that do not have local values for `case-fold-search'.** Functions `global-set' and `global-value' deleted.These functions were never used except by mistake by users expectingthe functionality of `set-default' and `default-value'.* Changes in defaulting of major modes.When `default-major-mode' is `nil', new buffers are supposed toget their major mode from the buffer that is current.  However,certain major modes (such as Dired mode, Rmail mode, Rmail Summary mode,and others) are not reasonable to use in this way.Now such modes' names have been given non-`nil' `mode-class' properties.If the current buffer's mode has such a property, Fundamental mode isused as the default for newly created buffers.* `where-is-internal' requires additional arguments.This function now accepts three arguments, two of them required:DEFINITION, the definition to search for; LOCAL-KEYMAP, the keymapto use as the local map when doing the searching, and FIRST-ONLY,which is nonzero to return only the first key found.This function returns a list of keys (strings) whose definitions(in the LOCAL-KEYMAP or the current global map) are DEFINITION.If FIRST-ONLY is non-nil, it returns a single key (string).This function has changed incompatibly in that now two argumentsare required when previously only one argument was allowed.  To getthe old behavior of this function, write `(current-local-map)' asthe expression for the second argument.The incompatibility is sad, but `nil' is a legitimate value for thesecond argument (it means there is no local keymap), so it cannot alsoserve as a default meaning to use the current local keymap.* Abbrevs with hooks.When an abbrev defined with a hook is expanded, it now performs theusual replacement of the abbrev with the expansion before running thehook.  Previously the abbrev itself was deleted but the expansion wasnot inserted.* Function `scan-buffer' deleted.Use `search-forward' or `search-backward' in place of `scan-buffer'.You will have to rearrange the arguments.* X window interface improvements.** Detect release of mouse buttons.Button-up events can now be detected.  See the file `lisp/x-mouse.el'for details.** New pop-up menu facility.The new function `x-popup-menu' pops up a menu (in a X window)and returns an indication of which selection the user made.For more information, see its self-documentation.* M-x disassemble.This command prints the disassembly of a byte-compiled Emacs Lisp function.Would anyone like to interface this to the debugger?* `insert-buffer-substring' can insert part of the current buffer.The old restriction that the text being inserted had to come froma different buffer is now lifted.When inserting text from the current buffer, the text to be inserted

⌨️ 快捷键说明

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