(iso-languages): For French and Portuguese,
add comma as prefix. For Latin-3, add period.
Remove unnecessary backslashes before chars that don't need them.
(hs-special-modes-alist): Include also the
comment regexp in the alist. This is needed for modes like c++
where the comment beginning regexp is not easy to determine
from the syntax table.
Include ADJUST-BLOCK-BEGINNING in the alist.
(hs-hide-comments-when-hiding-all): Add autoload cookie.
(hs-show-hidden-short-form):
(hs-adjust-block-beginning): New variables.
Comment out `hs-menu-bar' as XEmacs support was removed.
(hs-c-end-regexp): Remove variable, obsoleted by the rewrite of
`hs-inside-comment-p'.
(hs-discard-overlays): No need to test if we are inside the
overlay, we surely are since we got the overlay using `overlays-at'.
(hs-hide-block-at-point): Rewritten to use the new variables.
Use only one parameter to specify the comment.
(hs-show-block-at-point): No need for the COMMENT-REG parameter.
(hs-safety-is-job-n): Correct typo.
(hs-hide-initial-comment-block): Add ^L to the chars to skip.
Take into account `hs-show-hidden-short-form' when testing.
(hs-inside-single-line-comment-p): Function deleted, obsoleted by
the rewrite of `hs-inside-comment-p'.
(hs-inside-comment-p): Rewritten from scratch. Semantics changed
when returning non-nil. We can be inside a comment, but that
comment might not be hidable (the car of the return value should
be non-nil to be hidable).
(hs-grok-mode-type): Rewrite to be more understandable.
`hs-c-end-regexp' does not exist any more.
Initialize `hs-c-start-regexp' from the alist if specified there.
Initialize `hs-adjust-block-beginning'.
(hs-find-block-beginning): Rewritten to be able to deal with the
situation when a block beginning spans multiple lines and the
point is on one of those lines.
(hs-already-hidden-p): Look first if we are inside a comment or a
block, go to their end and look there for the overlays.
(java-hs-adjust-block-beginning): New function.
(hs-hide-all): Hide a comment block only if `hs-inside-comment-p'
says is hidable.
(hs-hide-block): Simplify.
Handle properly the result of `hs-inside-comment-p'.
(hs-show-block): Likewise.
(hs-minor-mode): Doc string fixes.
Make `hs-adjust-block-beginning' buffer local.
Delete making `hs-c-end-regexp' buffer local as it was deleted.
(XTread_socket) <ConfigureNotify>: Don't call
x_wm_set_size_hint if window has no parent yet.
Simplify the call to x_real_positions.
(x_make_frame_visible): Use win_gravity to decide whether to
call XMoveWindow. Also, don't do it if frame already visible.
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.