Kenichi Handa [Sat, 10 May 1997 03:37:01 +0000 (03:37 +0000)]
(Valternate_charset_table): The valiable deleted.
(Venable_character_unification,
Vstandard_character_unification_table_for_read,
Vstandard_character_unification_table_for_write,
Qcharacter_unification_table): New variables.
(syms_of_coding): Initialize and declare them.
(DECODE_ISO_CHARACTER): Modified to handle a character unification
table instead of Valternate_charset_table.
(DECODE_DESIGNATION): Delete handling of Valternate_charset_table.
(decode_coding_iso2022): Handle a character unification table.
(ENCODE_ISO_CHARACTER): New macro.
(encode_designation_at_bol): Handle a character unification table.
Do not return -1 even if end-of-line is not in the current run.
(encode_coding_iso2022): Handle a character unification table.
Call macro ENCODE_ISO_CHARACTER instead of calling
ENCODE_ISO_CHARACTER_DIMENSION1 and
ENCODE_ISO_CHARACTER_DIMENSION2 directly. Check the size of
carryover before copying it to destination.
(setup_coding_system): Initialize the member
character_unification_table of the struct coding system to Qnil.
(Fset_keyboard_coding_system): Doc string augmented.
Kenichi Handa [Sat, 10 May 1997 03:37:01 +0000 (03:37 +0000)]
(Fwrite_region): Add 7th optional arg
CODING_SYSTEM. Move gap after a newline code if we are encoding
in a coding system which requires designation sequences to be put
at beginning of line. Set coding.last_block to 1 before calling
a_write for an empty file.
(build_annotations): Code tuned up for handling
pre_write_conversion of a coding system.
(e_write): Delete code for handling carryover of code conversion.
It is now handled in encode_coding.
(auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to
Fwrite_region.
Kenichi Handa [Sat, 10 May 1997 03:37:01 +0000 (03:37 +0000)]
(selection_data_to_lisp_data): If TYPE is `STRING'
and DATA contains 8-bit codes, decode them as Latin-1 characters.
(lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to
find_charset_in_str.
Kenichi Handa [Sat, 10 May 1997 03:37:01 +0000 (03:37 +0000)]
(dumpglyphs): Even if font (not fontset) is used,
display Latin1 characters correctly if the font contains glyphs
for them. Fix bug of displaying cursor on a composite character.
(iso-languages): Add charset spec to some elements.
(iso-accents-compose): Add iso-accents-insert-offset to the code.
(iso-accents-insert-offset): New variable.
(iso-accents-customize): Set iso-accents-insert-offset
according to data from iso-languages.
(dabbrev-case-replace, dabbrev-case-fold-search):
Make these simple three-value choices.
(dabbrev-completion): Handle dabbrev-case-fold-search
and dabbrev-case-replace the new way.
(dabbrev-expand, dabbrev--substitute-expansion): Likewise.
(mark_window_display_accurate, redisplay_internal):
Test highlight_nonselected_windows.
(display_text_line): Likewise (in more places).
(syms_of_xdisp): Initialize highlight_nonselected_windows to 0.
(custom-make-dependencies):
Don't use NOSORT in directory-files.
Don't actually visit the files.
Use re-search to search contents fast.
Search the subdirs of `lisp'.
Bind kept-new-versions when saving.
(display_text_line): Clear region_showing to Qnil if the
window should not show a region.
(redisplay_internal): Do update region_showing when ! all_windows.
(ffap-alist): Delete `math-mode'.
Move all defvars and defuns out of this, to top level.
Use a constant list as the initial value.
(ffap-soft-value): Rewrite as a macro.
And now it is used only at run time, not at load time.
(ffap-ftp-default-user): Use just "anonymous" as default value.
(ffap-what-domain): Don't set mail-extr-all-top-level-domains here.
(ffap-newsgroup-regexp, ffap-newsgroup-heads): Move up past first use.
(ffap-string-at-point-region): Likewise.
(cal-menu-list-holidays-following-year)
(cal-menu-list-holidays-previous-year)
(cal-menu-list-holidays-year): New commands.
(calendar-mode-map): Put them in the holidays menu.
(minibuffer-text-before-history): New variable.
(minibuffer-history-initialize): New fn, on minibuffer-setup-hook.
(next-history-element, previous-matching-history-element):
Initialize minibuffer-text-before-history.
(next-history-element): Use minibuffer-text-before-history
as "position 0" of the history list.
Use minibuffer-default as position -1, if it is non-nil.
Simplify error logic for beginning and end of history.
(set-variable): Delete old definition (duplicate).
(set-auto-mode): New arg JUST-FROM-FILE-NAME.
(hack-local-variables): New arg MODE-ONLY.
(set-visited-file-name): Alter the major mode based on new file name.
(change-major-mode-with-file-name): New variable.
(list-holidays): Fix buffer title when list is
nil. Do save-excursion to keep from messing up calendar variables.
Handle CHOICE = "" like CHOICE = "Ask".
Say "standard settings" instead of "factory settings".
(custom-group-magic-alist): New variable.
(custom-group-state-update): Use custom-group-magic-alist.
(customize-group): Renamed from `customize',
and rename argument to GROUP.
(customize): New function.