📄 changelog.8
字号:
* cc-vars.el (c-comment-prefix-regexp): New variable used to recognize the comment fill prefix inside comments. (c-block-comment-prefix): New name for `c-comment-contiuation-stars', which is now obsolete. It's generalized to handle any character sequence. (c-ignore-auto-fill): New variable used to selectively disable Auto Fill mode in specific contexts.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-cmds.el (c-comment-indent): Leave at least one space between the comment and the last nonblank character in the case where we look at the indentation of the comment on the previous line (case 4). * cc-engine.el (c-beginning-of-statement-1): Added ``' to the list of characters that may start a statement (it's a sort of prefix operator in Pike, and isn't used at all in any of the other languages).1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-guess-basic-syntax): Report brace list opens inside continued statements as statement-cont instead of brace-list-open. The reason is that one normally adjusts brace-list-open for brace lists as top-level constructs, and brace lists inside statements is a completely different context. Case 10B.2 changed. Also changed (the somewhat esoteric) case 9A to cope with this.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-cmds.el (c-electric-brace): Added electric handling of the open brace for brace-elseif-brace.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-defs.el (c-with-syntax-table): New macro to easily switch syntax tables temporarily. * cc-engine.el (c-guess-basic-syntax): Handle template and member init argument lists split over several lines. Case 5D changed. * cc-langs.el (c-Java-javadoc-paragraph-start): Added new tag @throws introduced in Javadoc 1.2. * cc-menus.el (cc-imenu-java-generic-expression): Applied patch from RMS to avoid infinite backtracking.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-align.el (c-lineup-arglist): Handle "arglists" surrounded by [ ].1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-align.el (c-lineup-dont-change): Compensate properly for the column in langelem. * cc-engine.el (c-syntactic-information-on-region): New function to help debugging the syntactic analysis.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-align.el (c-lineup-template-args): Handle nested template arglists. * cc-langs.el (c++-template-syntax-table): New syntax table that makes `<' and `>' parenthesis characters, which is useful to switch to temporarily when analyzing template arglists. * cc-styles.el: Changed default alignment of labels in the java style to conform to the examples in the Java Language Specification. * cc-styles.el (c-offsets-alist): Use `c-lineup-template-args' by default.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-guess-basic-syntax): Pike allows a comma immediately before the closing paren in an arglist, so don't check that in Pike mode. Case 7A changed.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-cmds.el (c-indent-region): Fixed bug where comment-only lines were ignored under certain conditions.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-align.el (c-lineup-template-args): New function for aligning continued template argument lists. * cc-engine.el (c-guess-basic-syntax): Fix for member init lists containing function arglists split over several lines. Case 5D.1 changed. * cc-engine.el (c-guess-basic-syntax): Fixed bug where template-args-cont didn't get recognized when the first arglist opener line doesn't contain a template argument. New case 5K.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-defs.el (c-point): Changed from subst to macro for efficiency. (c-beginning-of-defun-1, c-end-of-defun-1): New beginning-of-defun/end-of-defun wrappers separated from c-point. * cc-menus.el (imenu-generic-expression, imenu-case-fold-search, imenu-progress-message): Dummy definitions to avoid compiler warnings if imenu can't be loaded. * cc-menus.el (cc-imenu-init): New function called at mode init. * cc-mode.el (c-mode, c++-mode, objc-mode, java-mode): Moved imenu initializations to cc-imenu-init.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-guess-basic-syntax): Slightly better check for lambda-intro-cont in Pike mode. Case 6 changed. * cc-engine.el (c-looking-at-inexpr-block): Fixed bug where anything following "new Foo()" was considered an anonymous class body in Java mode.1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> * cc-cmds.el (c-comment-line-break-function): When breaking in a string, don't insert a new line.1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> * cc-engine.el (c-at-toplevel-p): New interface function which returns information useful to add-on authors. It tells you whether you're at a toplevel statement or not.1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> * cc-cmds.el (c-comment-line-break-function): It is possible that forward-line does not land us at the bol, say if we're on the last line in a file. In that case, do a back-to-indentation instead of a forward-comment -1.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-beginning-of-statement-1): Don't catch "default:" as normal label in case 4.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-guess-basic-syntax): Use c-bitfield-key to recognize continued bitfield declarations. Case 5D.1 changed. * cc-langs.el: New variable c-bitfield-key. * cc-mode.el: New variable c-bitfield-key.1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> * cc-engine.el (c-inside-bracelist-p): Tighter test for Java anonymous array expressions (i.e. "new Foo[] {.. bracelist ..}").1999-12-12 Dave Love <fx@gnu.org> * mail/footnote.el: Require cl when compiling. Don't autoload keymap and minor-mode-alist stuff. Don't set zmacs-region-stays. (footnote-insert-text-marker, Footnote-insert-pointer-marker): Avoid `acons'. (footnote-mode-line-string, Footnote-add-footnote): Remove autoload cookie.1999-12-12 Richard Sharman <rsharman@pobox.com> * sh-script.el: Fix for when font-lock mode is active. (sh-font-lock-unfontify-region-function): New function.1999-12-12 Eli Zaretskii <eliz@is.elta.co.il> * menu-bar.el (menu-bar-edit-menu): Define the Spell submenu even if start-process is not bound, since Ispell now supports such platforms as well.1999-12-12 Gerd Moellmann <gerd@gnu.org> * mail/rmailsum.el (rmail-summary-mode-map): Bind RET to rmail-summary-goto-msg. * files.el (after-find-file): Fix previous change.1999-12-11 Dave Love <fx@gnu.org> * help.el (where-is): Use `commandp' as predicate for `completing-read'1999-12-10 Richard M. Stallman <rms@gnu.org> * cus-edit.el (custom-save-delete): Delete all occurrences, leave point where the first occurrence was. (custom-save-faces): Insert a newline at the end of the comment. Avoid a double newline there. If final closeparen is at bol, put a space before it. (custom-save-variables): Likewise. (custom-file): Doc fix.1999-12-10 Gerd Moellmann <gerd@gnu.org> * dos-w32.el (file-name-buffer-file-type-alist): Add `$' at end of regexp matching image and audio files.1999-12-09 Dave Love <fx@gnu.org> * mail/footnote.el: New file.1999-12-09 Gerd Moellmann <gerd@gnu.org> * files.el (after-find-file): Use auto-save-visited-file-name if set. * mail/feedmail.el (feedmail-find-eoh): Take feedmail-queue-alternative-mail-header-separator into account.1999-12-09 Stefan Monnier <monnier@cs.yale.edu> * smerge-mode.el: New file. * font-lock.el (font-lock-multiline): New variable. (font-lock-add-keywords): Rename `major-mode' into `mode'. (font-lock-remove-keywords): Added a dummy `mode' argument for potential future support. (font-lock-fontify-anchored-keywords, (font-lock-fontify-keywords-region): Only handle multiline strings if necessary (avoids a pathological behavior in (f.ex) diff-mode).1999-12-08 Richard M. Stallman <rms@gnu.org> * bookmark.el (bookmark-bmenu-mode-map): Bind RET like f. * dired-aux.el (dired-insert-subdir): Add autoload cookie.1999-12-07 Dave Love <fx@gnu.org> * help.el (view-emacs-problems): New command, bound to C-h P. * menu-bar.el (menu-bar-manuals-menu): Add view-emacs-problems.1999-12-07 Stefan Monnier <monnier@cs.yale.edu> * diff-mode.el (diff-mode-shared-map): Fset'd and doc change. (diff-minor-mode, diff-minor-mode-prefix, diff-minor-mode-map): New code to support the minor mode version. (diff-recenter): New function. (diff-next-hunk, diff-next-file): Use it. (diff-remembered-files-alist): New var. (diff-merge-strings): New function. (diff-find-file-name): Make it smarter and use the user's input more. (diff-mode): Cosmetic changes. * files.el (save-some-buffers): Turn EXITING into the more general PRED argument to allow specifying a subset of buffers. * simple.el (kill-region): Use the new `delete-and-extract-region' rather than the undo log (which is incorrect with *-change-functions). * font-lock.el (font-lock-default-fontify-region): Fix subtle off-by-one problem that could force re-fontifying the whole buffer. (font-lock-remove-keywords): New function. (font-lock-add-keywords): Use the new function to ensure idempotence.1999-12-06 Michael Kifer <kifer@cs.sunysb.edu> * viper-cmd.el (viper-minibuffer-standard-hook, viper-minibuffer-real-start): Mew functions. (viper-read-string-with-history,viper-file-add-suffix, viper-trim-replace-chars-to-delete-if-necessary): Adapt to the change in the status of the minibuffer prompt.1999-12-06 Gerd Moellmann <gerd@gnu.org> * comint.el (comint-redirect-results-list) (comint-redirect-results-list-from-process): Remove interactive spec.1999-12-06 Eli Zaretskii <eliz@is.elta.co.il> * info.el (info-node, info-menu-5, info-xref): Define colors for Info faces if the display supports them.1999-12-06 Eli Zaretskii <eliz@is.elta.co.il> Changes for automatic remapping of X colors on terminal frames: * term/pc-win.el (msdos-setup-initial-frame): New function, run by term-setup-hook. Call msdos-remember-default-colors and msdos-handle-reverse-video. (msdos-face-setup): Parts of code moved to msdos-setup-initial-frame. (msdos-handle-reverse-video): New function, modeled after x-handle-reverse-video. (make-msdos-frame): Don't use initial-frame-alist and default-frame-alist. Call msdos-handle-reverse-video. (msdos-color-aliases): Remove. (msdos-color-translate, msdos-approximate-color): Remove. (msdos-color-values): Use 16-bit RGB values. RGB values updated for better approximation of X colors. (msdos-face-setup): Call tty-color-clear. Remove code that sets up tty-color-alist (it is now on startup.el). (x-display-color-p, x-color-defined-p, x-color-values, x-defined-colors, face-color-supported-p, face-color-gray-p): Remove. * facemenu.el (facemenu-read-color, list-colors-display): Use defined-colors for all frame types. (facemenu-color-equal): Use color-values for all frame types. * faces.el (read-face-attribute): For :foreground and :background attributes and frames on character terminals, translate the color to the closest supported one before looking it up in the list of valid values. (face-valid-attribute-values): Call defined-colors for all types of frames. (defined-colors, color-defined-p, color-values, display-color-p): New finctions. (x-defined-colors, x-color-defined-p, x-color-values, x-display-color-p): Aliases for the above. * startup.el (command-line): Register terminal colors for frame types other than x and w32, but only if the terminal supports colors. Call tty-color-define instead of face-register-tty-color. * term/x-win.el (xw-defined-colors): Renamed from x-defined-colors. * term/w32-win.el (xw-defined-colors): Likewise. * term/tty-colors.el: New file. * loadup.el: Load term/tty-colors.1999-12-06 Dave Love <fx@gnu.org> * ffap.el: Autoload the ffap alias directly.1999-12-06 Inge Frick <inge@nada.kth.se> * dired-aux.el (dired-do-shell-command): Changed documentation. (dired-shell-stuff-it): A `?' in COMMAND has now the same meaning as `*'.1999-12-06 Gerd Moellmann <gerd@gnu.org> * simple.el (insert-buffer): Doc fix. * apropos.el (apropos-mode): Add autoload cookie.1999-12-06 Sam Steingold <sds@goems.com> * progmodes/etags.el (etags-tags-completion-table): Modified the regexp to allow for the CL symbols starting with `+*'. (tags-completion-table): Doc fix (it's an obarray, not an alist). (tags-completion-table, tags-recognize-empty-tags-table): Remove `function' quoting lambda. (tags-with-face): New macro. (list-tags, tags-apropos): Use it. (tags-apropos-additional-actions): New user option. (etags-tags-apropos-additional): Use it. (tags-apropos): Call etags-tags-apropos-additional. (tags-apropos-verbose): New user option. (etags-tags-apropos): Use it. (visit-tags-table-buffer, next-file): Use `unless'. (recognize-empty-tags-table): Renamed to tags-recognize-empty-tags-table. (complete-tag): Call tags-complete-tag bypassing try-completion.1999-12-06 Kenichi Handa <handa@etl.go.jp>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -