1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

18239 Commits

Author SHA1 Message Date
Richard M. Stallman
48879301fd (scheme): Add defgroup.
Put defcustom's into this group.

(scheme-mode-commands): Remove keybinding of \t to old `scheme-indent-line'.
Bind \e\C-q to `indent-sexp', not `scheme-indent-sexp'.
(scheme-mit-dialect): Use defcustom.
(dsssl-sgml-declaration):  Likewise.  Fix doc string.
1997-06-17 21:54:16 +00:00
Richard M. Stallman
b32410669e (finder-list-keywords): Create *Finder* buffer if nec. 1997-06-17 21:51:35 +00:00
Richard M. Stallman
44a0dbd7cd Fix previous change. 1997-06-17 21:47:30 +00:00
Richard M. Stallman
b5263b80d3 (fill-context-prefix): Fix criteria for first line,
and for second line; always fetch prefixes from both lines.
1997-06-17 21:46:40 +00:00
Richard M. Stallman
32632f6677 (icon-indent-line): A comment ends at the end of the
line, delete call to inexistent function.

(icon-font-lock-keywords-1): Improved regexp.
(icon-font-lock-keywords-2): Likewise.
1997-06-17 19:34:56 +00:00
Richard M. Stallman
a59faabe2b (Buffer-menu-mode): Doc fix.
(Buffer-menu-bury): Move the line to the end.
1997-06-17 19:32:04 +00:00
Richard M. Stallman
c361280d2c (split-window-save-restore-data): New function that
for view mode buffers saves information in view-return-to-alist.
(split-window-vertically, split-window-horizontally):
Call split-window-save-restore-data.
1997-06-17 05:10:06 +00:00
Richard M. Stallman
36570c928f (Buffer-menu-bury): New command.
(Buffer-menu-mode-map): Put Buffer-menu-bury on `b'.
1997-06-17 04:28:01 +00:00
Richard M. Stallman
df63ae664e (add-log-time-format): New variable.
(add-log-iso8601-time-string): New function.
(add-change-log-entry): Use add-log-time-format.
(add-log-iso8601-time-zone): Renamed from iso8601-time-zone.
1997-06-17 04:27:37 +00:00
Richard M. Stallman
1c0707fd10 (wait_reading_process_input): Fix previous change. 1997-06-17 04:15:18 +00:00
Richard M. Stallman
b3e13f5d78 Fix previous change. 1997-06-17 02:29:54 +00:00
Richard M. Stallman
1603f29ab9 (mail-mode): mail-header-separator affects paragraphs
only when there is nothing after it on the line.
(mail-mode-auto-fill, mail-mode-fill-paragraph):
Look for mail-header-separator only on a line by itself.
1997-06-17 00:08:51 +00:00
Richard M. Stallman
000a6a765e (grep-program): Comment out the use of zgrep. 1997-06-16 23:20:46 +00:00
Richard M. Stallman
b0edcc39e0 (icon-imenu-generic-expression): Improved regexp.
(icon-font-lock-keywords-1): Improved regexps.
(icon-font-lock-keywords-2): Likewise.
(icon-mode): Don't set font-lock-comment-start-regexp via
font-lock-defaults; it is not needed anymore.

(icon-imenu-generic-expression): Improved regexp.
(icon-mode): Don't use pushnew.
1997-06-16 23:13:12 +00:00
Richard M. Stallman
1036798c64 Comment change. 1997-06-16 17:32:40 +00:00
Richard M. Stallman
1b335d2908 (Fdo_auto_save): Use stdio to write the save-list file.
(Finsert_file_contents): Don't give up on the fast replace method
if the coding remains undecided.
1997-06-16 07:31:56 +00:00
Richard M. Stallman
203cb91615 Change copyright notices. 1997-06-16 07:29:16 +00:00
Richard M. Stallman
8b7037d930 Don't globally add to change-major-mode-hook.
(view-mode-enable): Add to change-major-mode-hook locally here.
(view-mode-disable): Remove from it locally here.
1997-06-16 06:55:37 +00:00
Richard M. Stallman
7ce63188c9 (wait_reading_process_input): When exiting because
the process WAIT_PROC has terminated, first read all its output.
1997-06-16 06:24:22 +00:00
Richard M. Stallman
78943c8ae6 (byte-save-current-buffer): Change to code 114 (0162). 1997-06-15 23:05:19 +00:00
Richard M. Stallman
4bc504c88c (vc-steal-lock): Use yes-or-no-p for confirmation. 1997-06-15 23:03:18 +00:00
Richard M. Stallman
123658267c Initial revision 1997-06-15 21:00:32 +00:00
Richard M. Stallman
00049484b8 Fix previous change. 1997-06-15 19:43:01 +00:00
Richard M. Stallman
25fe55afa6 Fix up whitespace. 1997-06-15 19:05:59 +00:00
Richard M. Stallman
766ff6275b (struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
1997-06-15 19:02:27 +00:00
Richard M. Stallman
b18215fce4 (PTR_TO_OFFSET): New macro.
(POS_AS_IN_BUFFER): New macro.
(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
property into account when doing SYNTAX (c).
(re_compile_fastmap): disable fastmap if any of wordbound
notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_object): New variable.
(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_2_internal): For any of wordbound notwordbound wordbeg
wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
doing SYNTAX (c).


[emacs]: Include charset.h and category.h

[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P,	CHAR_HEAD_P,
SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
New dummy macros.

(enum re_opcode_t): New member categoryspec and notcategoryspec.

(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
CHARSET_PAST_RANGE_TABLE): New macros.

(TRANSLATE): Cast return value to unsigned char, not char.

(struct range_table_work_area): New structure.

(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.

(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.

(regex_compile): Declare `c' and `c1' as int to store multibyte characters.
Declare range_table_work and initialize	it.
Initialize bufp->multibyte to 0 if not emacs.
For case '[' and `default', code re-written to handle multibyte characters.
Add code for case 'c' and 'C' to handle category spec.

(re_compile_fastmap): New local variables k, simple_char_max,
and match_any_multibyte_characters.
Use macro CHARSET_BITMAP_SIZE.
Handle multibyte characters in cases charset, charset_not,
wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
categoryspec, notcategoryspec.

(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.

(re_search_2): Code re-written to handle multibyte characters.

(AT_WORD_BOUNDARY): Macro disabled.

(re_match_2_internal): New local variable multibyte.  `d' is
incremented while paying attention to multibyte characters if necessary.
For case charset, charsetnot, wordbound, notwordbound,
wordbeg, wordend, matchsyntax, and matchnotsyntax, code
re-written to handle multibyte characters.
Add code for case categoryspec and notcategoryspec.
Declare c, c1 as unsigned int, not unsigned char.
1997-06-15 19:00:12 +00:00
Richard M. Stallman
06cc857db5 Many doc fixes.
(texinfo-all-menus-update): Check for @detailmenu.
(texinfo-master-menu): Likewise.
(texinfo-multiple-files-update): Likewise.
(texinfo-insert-master-menu-list): Put in @detailmenu if appropriate.
1997-06-15 17:39:13 +00:00
Per Abrahamsen
8697863ab3 Synched with 1.9920. 1997-06-15 15:31:32 +00:00
Per Abrahamsen
9432de85b7 Use booleans. 1997-06-15 15:25:57 +00:00
Richard M. Stallman
91fe8c378e (text-mode): Let all-white lines separate paragraphs. 1997-06-15 07:36:42 +00:00
Richard M. Stallman
9cc92f8bd3 (mail-mode): Let all-white lines separate paragraphs. 1997-06-15 07:36:22 +00:00
Richard M. Stallman
89ada4ddee Initial revision 1997-06-15 07:01:26 +00:00
Richard M. Stallman
5db5751426 Update keywords to show up in finder.
(browse-url-gnudoit-args, browse-url-generic-program)
(browse-url-gnudoit-program, browse-url-generic-args): New variables.
(browse-url-w3-gnudoit): New procedure.
(browse-url-mmm): New location of `remote' file for MMM 0.4.
(browse-url-generic): New procedure.

(browse-url-netscape): Test for w32.

(browse-url-url-at-point): Assume mailto: if URL contains @.
Don't use thingatpt; find the URL here to do it correctly.

(browse-url-at-point, browse-url-of-file, browse-url-at-mouse):
Call browse-url.
(browse-url): Check for list browse-url-browser-function.
(browse-url-choose-browser): New procedure.
(browse-url-browser-function): Allow list value.

(browse-url-process-environment): Call browse-url-emacs-display.
(browse-url-emacs-display): New procedure.
(browse-url-netscape-display): New variable.

(browse-url-of-region): New procedure.
(browse-url-of-buffer): Check for narrowed buffer.

(browse-url-url-at-point): Rewrite to not use cl.el delete-if.
Fix multi-line URL matching.

(browse-url-markedup-regexp): New variable.
(browse-url-xterm-program): New variable.
(browse-url-xterm-args): New variable.
(browse-url-lynx-xterm): Use the above two vars.
(browse-url-url-at-point): Use buffer-substring-no-properties.
(browse-url-grail): Add missing optional arg.
(browse-url-mmm): New procedure.

(browse-url-netscape-startup-arguments): New variable.
1997-06-15 02:49:03 +00:00
Richard M. Stallman
fa1d3816e9 (Fchar_after, Fchar_before): Make arg optional. 1997-06-15 02:41:59 +00:00
Richard M. Stallman
1be5a2845e Don't call icomplete-mode; let the user do that.
(icomplete-show-key-bindings): Doc fix.
(icomplete-mode): Doc fix.
(icomplete-get-keys): Make it actually work.
(icomplete-mode): Doc fix.
(icomplete-completions): Doc fix.
1997-06-15 02:37:58 +00:00
Richard M. Stallman
e51f616fee Many doc fixes.
(view-mode-enable): New function, split from view-mode-enter.
(view-mode-enter): Use view-mode-enable.
(view-mode-disable): New function, split from view-mode-exit.
(view-mode-exit): Use view-mode-disable.
(view-mode): Use view-mode-enable and view-mode-disable;
don't do all of what view-mode-enter and view-mode-exit do.
(change-major-mode-hook): Use view-mode-disable, not view-mode-exit.
1997-06-14 21:41:42 +00:00
Richard M. Stallman
ab7782fc24 Make view mode more similar to `less'.
Changed documentation for most commands.
(view-scroll-auto-exit): New variable, replaces view-mode-auto-exit.
(view-mode-auto-exit): Variable deleted.
(view-mode): Doesn't only toggle `view-mode', it also calls
view-mode-enter or view-mode-exit.
(view-buffer, view-buffer-other-window): New argument exit-action.
(view-file, view-file-other-window, view-buffer-other-window)
(view-buffer, view-mode-enter): Changed method used to restore
windows when leaving view mode.
(view-mode-exit): New function.
(view-return-to-alist): New variable.
(view-return-here, view-exit-position): Variables deleted.
(view-remove-frame-by-deleting, view-exit-all-windows-at-exit):
New option variables.
(view-page-size, view-half-page-size): New variables.
(view-scroll-size): Var deleted; replaced by the previous two.
(view-mode-map): Make the bindings inside defvar.
Added new commands and new key bindings.
Added view-mode-exit to `change-major-mode-hook' to always leave
view mode when changing major mode.
(view-file-other-frame,	view-buffer-other-frame): New commands.
(View-leave, View-kill-and-leave, View-exit, View-exit-and-edit)
(View-quit, View-quit-all): new commands for leaving view mode.
(view-exit): Function deleted.
(View-goto-percent, View-scroll-to-buffer-end): New commands.
(view-try-extend-at-buffer-end): New option variable.

(View-scroll-page-forward, View-scroll-page-backward)
(View-scroll-page-forward-set-page-size)
(View-scroll-page-backward-set-page-size, View-scroll-line-forward)
(View-scroll-line-backward, View-scroll-half-page-forward)
(View-scroll-half-page-backward)
(View-revert-buffer-scroll-page-forward): New commands.

(View-scroll-lines-forward, View-scroll-lines-backward)
(View-scroll-lines-forward-set-scroll-size)
(View-scroll-one-more-line): Commands deleted.

(view-scroll-lines, view-end-message, view-page-size-default)
(view-set-half-page-size-default, view-really-at-end)
(view-recenter): New functions.
(view-scroll-size): Variable deleted.

(View-search-regexp-forward, View-search-regexp-backward)
(View-search-last-regexp-forward, View-search-last-regexp-backward)
(view-search): ! and @ are special at beginning of regexp.
(view-search-no-match-lines): New function.
1997-06-14 21:06:09 +00:00
Richard M. Stallman
12ef05f47b Update copyright year. 1997-06-14 18:45:38 +00:00
Richard M. Stallman
55fe21fc27 (bibtex-delete-whitespace, bibtex-current-line)
(bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry)
(bibtex-map-entries):
Renamed from delete-whitespace, current-line, assoc-of-regexp,
skip-to-valid-bibtex-entry, and map-bibtex-entries, respectively.
1997-06-14 17:30:43 +00:00
Richard M. Stallman
f80f7bc21f (vc-annotate-mode-variables): Init vc-annotate-mode-menu
and put it into vc-annotate-mode-map.
(vc-annotate-add-menu): Don't init vc-annotate-mode-menu,
just add the bindings to it.  Display progress messages.
(vc-annotate-mode-menu): New defvar.
(vc-annotate-ratio): Move defvar, add initial value.
(vc-annotate-display-default): Display progress messages.
(vc-annotate-display): Use vc-annotate-color-map.
1997-06-14 17:29:10 +00:00
Richard M. Stallman
80402f2518 (Bread_char): Deleted.
(Bsave_current_buffer_1): New byte code.
(Fbyte_code): Delete handling Bread_char.
Handle Bsave_current_buffer_1 like Bsave_current_buffer.
1997-06-14 17:08:59 +00:00
Per Abrahamsen
6aaedd1230 Synched with 1.9914. 1997-06-14 10:21:01 +00:00
Richard M. Stallman
996169356b (Latin-2): List Croatian as alternative name for Serbo-Croatian. 1997-06-14 06:33:29 +00:00
Richard M. Stallman
01b1bb4524 Delete Serbo-Croatian. 1997-06-14 06:28:15 +00:00
Karl Heuer
f00ed1332d (point): Obsolete macro deleted in favor of PT. 1997-06-14 04:53:00 +00:00
Karl Heuer
c71d37d59d (Fprevious_char): Use PT, not point. 1997-06-14 04:51:21 +00:00
Karl Heuer
5bfb66e31d (internal_self_insert): Use PT, not point. 1997-06-14 04:50:37 +00:00
Karl Heuer
5326c1d687 (readline): Terminate buffer properly when EOF seen.
Test for valid pointer before dereferencing it.
1997-06-14 04:36:44 +00:00
Richard M. Stallman
12e36cdba6 (hideshow): Added a :prefix.
(hs-isearch-open): New variable.
(hs-flag-region): Use that variable.
Changed the semantics of the FLAG parameter and updated the docs.
(hs-isearch-open-invisible): New function to be set as a
`isearch-pent-invisible' property for hidden overlays, so that
isearch can use it.
(hs-hide-block-at-point): Tell if we are hiding a comment or a block.
1997-06-13 21:31:25 +00:00
Richard M. Stallman
0352b20571 (isearch-hide-immediately): New variable.
(isearch-close-unecessary-overlays): New function.
(isearch-range-invisible): Use them.

(search-invisible): Changed the semantics,
the default value and updated the doc string.
(isearch-opened-overlays): New variable.
(isearch-mode): Initialize it.
(isearch-switch-frame-handler): Call isearch-clean-overlays.
(isearch-exit, isearch-cancel, isearch-abort): Likewise.
(isearch-other-meta-char, isearch-search):
Support the new meaning for search-invisible.
(isearch-open-necessary-overlays, isearch-open-overlay-temporary)
(isearch-clean-overlays): New functions.
(isearch-range-invisible): If we are inside overlays that can be
opened, open them, add them to isearch-opened-overlays and say
that the range is visible.
1997-06-13 21:30:38 +00:00