Kenichi Handa [Wed, 28 May 1997 04:36:36 +0000 (04:36 +0000)]
(CHAR_TABLE_REF): Do not check validity of CT.
(CHAR_TABLE_SET): Likewise.
(DOWNCASE_TABLE): Return case-table instead of the contents field.
(UPCASE_TABLE): Likewise.
(DOWNCASE): Use CHAR_TABLE_REF.
(NOCASEP): Use UPCASE1.
(UPCASE1): Use CHAR_TABLE_REF.
Kenichi Handa [Wed, 28 May 1997 04:36:34 +0000 (04:36 +0000)]
(case_temp1, case_temp2): New variables temporarily
used in macros DOWNCASE and UPCASE1.
(set_case_table): Setup canonical table correctly. Use
map_char_table instead of compute_trt_inverse.
(set_canon, set_identity, shuffle): New functions given to
map_char_table.
(compute_trt_identity, compute_trt_shuffle, compute_trt_inverse):
Deleted.
Kenichi Handa [Wed, 28 May 1997 04:36:27 +0000 (04:36 +0000)]
(encode_invocation_designation): Use macro
CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION.
(encode_designation_at_bol, setup_coding_system): Likewise.
Fset_terminal_coding_system_internal): Renamed from
Fset_terminal_coding_system. Make it non-interactive. Do not
call Fredraw_display ().
(Fset_keyboard_coding_system_internal): Renamed from
Fset_keyboard_coding_system. Make it non-interactive.
Kenichi Handa [Wed, 28 May 1997 04:36:22 +0000 (04:36 +0000)]
(map_char_table): For sub char-table, index should be
start from 0 (not from 32) considering a composite character.
(Fmap_char_table): Doc-string adjusted. The variable indices is
declared as an array of Lisp_Object.
Kenichi Handa [Wed, 28 May 1997 04:36:21 +0000 (04:36 +0000)]
(fs_load_font): Before using a fontset, be sure to
load the ASCII font of the fontset. Size and height of a fontset
is set to the same as those of the ASCII font of the fontset. Use
macro FONT_ENCODING_NOT_DECIDED.
Kenichi Handa [Wed, 28 May 1997 03:39:03 +0000 (03:39 +0000)]
Most of setup-LANGUAGE-environment functions are
moved form LANGUAGE.el to LANG-util.el. These functions now at
first call setup-english-environment to reset various values to
the defaults.
Kenichi Handa [Wed, 28 May 1997 03:37:32 +0000 (03:37 +0000)]
Delete defining "i" in mule-keymap.
(mule-menu-keymap): New variable. All menu items related to mule
are defined in this keymap.
(set-language-info): Change format of INFO for KEY documentation
and setup-function.
(setup-specified-language-environment): New function.
(setup-language-environment): Call the above function.
(describe-specified-language-support): New function.
(describe-language-support): Call the above function.
(universal-coding-system-argument): New function.
(read-language-and-input-method-name): Doc-string fixed. If
default-input-method is nil, use previous-input-method as the
default value.
(set-default-input-method): Deleted.
Kenichi Handa [Wed, 28 May 1997 03:35:33 +0000 (03:35 +0000)]
(set-terminal-coding-system): New function.
(set-keyboard-coding-system): New function.
(set-buffer-process-coding-system): Name changed from
set-current-process-coding-system.
(vi-join-lines): Locally bind count.
(vi-search-forward, vi-search-backward): Use isearch-update-ring.
(vi-repeat-last-search, vi-reverse-last-search):
Get string from the ring.
(vi-mode-old-major-mode, vi-mode-old-mode-name): New defvars.
(vi-mode-old-local-map, vi-mode-old-case-fold): Likewise.
(vi-tilde-map): Move the defvar and bindings to the front.
(browse-url-netscape, browse-url-netscape-sentinel)
(browse-url-netscape-send): Use browse-url-netscape-program,
renamed from browse-url-netscape-command.
(XTread_socket) <UnmapNotify>: Don't make an inconify_event
when frame was made invisible.
(x_make_frame_visible): Put the call to x_set_offset back as it was.
Near the end, instead call XMoveWindow, but only if original
positions were not negative.
(x_make_frame_visible): Call x_set_offset only after
mapping the window and accepting input.
(x_calc_absolute_position): Do nothing if current position
is already for the top-left corner.
Handle errors in XTranslateCoordinates.
(XTread_socket): Simplify handling of ConfigureNotify events.
Always call x_wm_set_size_hint for them.
No need to call XTranslateCoordinates here.
(x_clear_errors): New function.
(modify-face): Don't call make-face-unbold
if face has no font; likewise for make-face-unitalic.
(x-create-frame-with-faces): Use nil for SET-ANYWAY
when calling make-face-x-resource-internal.
(face-initialize): Don't initialize any face attributes here.
(face-fill-in): Don't call set-face-underline-p if underlining off.
(face-inverse-video-p): New function.
(set-face-inverse-video-p): New function.
(internal-set-face-1): Handle the inverse-video attribute.
(face-spec-set): Handle :inverse-video.
(make-face, x-create-frame-with-faces): Make vectors length 9.
(internal-facep): Expect length 9.
(face-try-color-list): Use set-face-inverse-video-p.
(texinfo-version): New function and variable.
(texinfo-update-node): New autoload call.
(texinfo-every-node-update): Likewise.
(texinfo-sequential-node-update): Likewise.
(texinfo-mode-map): New binding for C-c ].
(texinfo-environment-regexp): Use concat, for clarity.
(texinfo-insert-@end): Fix paren error.
[This finishes the change log for the changes in the previous version.]
Add properties for new commands.
Move all the no-op commands to the end, and add some.
Add many commands for ligatures and for letters with diacritics
and other non-English special characters.
(texinfo-multitable): New Texinfo cmd.
(texinfo-end-multitable): New function.
(texinfo-multitable-widths): New function.
(texinfo-multitable-extract-row): New function.
(texinfo-multitable-item): New function.
(texinfo-format-timestamp): New Texinfo cmd.
(texinfo-format-kbd-regexp): New variable.
(texinfo-format-kbd-end-regexp): New variable.
(texinfo-format-kbd): New function for @kbd.
(texinfo-format-ifeq): New Texinfo cmd.
(texinfo-format-pounds): Likewise.
(texinfo-format-refill): Handle *'s specially at line start.
(texinfmt-version): New function and variable.
(texi2info): New function.
(texinfo-accent-commands): New variable.
(texinfo-no-refill-regexp): Use concat to make it clearer.
Add some more elements.
(texinfo-part-of-para-regexp): Likewise.
(texinfo-append-refill): Extend criterion 3 for when not to refill.
(texinfo-raisesections-alist): Add @centerchap.
(texinfo-lowersections-alist): Add @centerchap.
(texinfo-format-scan): Handle many more @-char commands.
(detailmenu): Add texinfo-format and texinfo-end properties,
(centerchap): Add texinfo-format property,
(texinfo-format-buffer): Doc fix.
(texinfo-parse-line-arg): Add doc string.
(texinfo-parse-arg-discard): Likewise.
(ada-krunch-args): Use gnatkr instead of gnatk8.
(ada-make-filename-from-adaname): Ditto.
(ada-adjust-case-region): Use format functionality of message.
(ada-indent-region): Ditto.
(ada-check-matching-start): Ditto.
(ada-check-defun-name): Ditto.
(ada-font-lock-keywords): Default to subdued. Doc fix.
(ada-font-lock-syntactic-keywords): New variable.
(ada-mode): Use it to set font-lock-defaults.
(ada-font-lock-keywords-2): Single "raise" will be
highlighted. "in out" parameters get type face (depends on order
in regexp).
(ada-mode): Remove explicit setting of user option
`blink-matching-paren', font-lock treats `.' as word char.
(ada-in-string-or-comment-p): Call `parse-partial-sexp' only once.
(ada-untabify-buffer): Force returning `nil'.
(ada-font-lock-keywords-1): Move "task" before "task (body|type)" to
correct highlighting (regexp depends on order).
(ada-in-char-const-p): Renamed from `ada-after-char-p'.
Also test following character.
(ada-adjust-case): Use better function `ada-in-char-const-p'
(ada-in-string-or-comment-p): Test for being in a char constant.
(ada-clean-buffer-before-saving): Changed default to t.
(ada-mode): Set `font-lock-defaults' for Emacs only, use properties
for XEmacs.
(ada-indent-newline-indent): Simplified by just calling
`ada-indent-current'.
(ada-end-stmt-re): Added word delimiters in regexp.
Removed `interactive' statements which were needed only for debugging.
Put format commands back in for emacs 19.30/19.29 compatibility.
(ada-get-indent-label): A named block can begin
without a declare part.
(ada-check-defun-name): First of all, check for correct name in a
named block without `declare' part.
(ada-goto-matching-start): Change regexp as there may be no
semicolon between `end' and keyword.
(ada-get-current-indent): Remove warning as `begin' can introduce
a block without a `declare'.
(ada-goto-matching-decl-start): When searching backward, skip
generic default proc/func ("is <>").
(ada-named-block-re): New regexp for the name of a named block or loop.
(ada-get-current-indent): Handle loop names at the stmt start.
(ada-get-indent-end): Handle loop names at the stmt start.
(ada-get-indent-noindent): Handle loop names at the stmt start.
(ada-get-indent-loop): Handle loop names at the stmt start.
(ada-search-prev-end-stmt): Generic instances are not `stmt-ends'.
(ada-goto-previous-word): Use new function `ada-goto-next-word'.
(ada-goto-next-word): Generalized old `ada-goto-previous-word' for
both directions.
(ada-indent-function): Removed unnecessary `package' case.
(ada-get-indent-case): Before testing for `=>', be sure there is an `is'.
(ada-search-prev-end-stmt): Test for `separate' keyword on the
same line, which is not an `end-stmt'.
(ada-font-lock-keywords-2):
Correct regexp for hilit of unfollowed `end'.
(ada-in-open-paren-p): Start parsing definitely outside of strings.
(ada-gnat-style): New function.
Doc fixes.
(ada-mode): Support new font-lock-mode.
(ada-format-paramlist): Changed all `accept' to `access'.
(ada-insert-paramlist): Changed all `accept' to `access'.
(ada-in-comment-p): Use standard emacs way `parse-partial-sexp'.
(ada-font-lock-keywords-1): Regexps in not byte-compiled code bahave
different than byte-compiled regexps.
Change order of some ored entries.