summaryrefslogtreecommitdiff
path: root/lisp/international
Commit message (Collapse)AuthorAgeFilesLines
* (language-info-alist): Doc-string modified.Kenichi Handa1998-08-101-17/+146
| | | | | | | | | (reset-language-environment): New function for the job that setup-english-environment used to do. (set-language-environment): Do more setups according to the info in language-info-alist. (read-language-name): Handle the case that the arg KEY is nil. * (describe-language-environment): Handle input-method property.
* (iso-safe): Comment for this coding system fixed.Kenichi Handa1998-08-101-5/+5
| | | | (coding-category-iso-8-1): Change default coding priority.
* (quail-start-translation): IfKenichi Handa1998-08-101-5/+9
| | | | | | enable-multibyte-characters is nil, convert multibyte character to unibyte. (quail-start-conversion): Likewise.
* (input-method-exit-on-first-char)Richard M. Stallman1998-08-081-8/+7
| | | | (input-method-use-echo-area): Doc fixes.
* (isearch-process-search-multibyte-characters): Fix previous change.Kenichi Handa1998-08-071-2/+3
|
* (quail-update-translation): Delete theKenichi Handa1998-08-071-8/+1
| | | | | code for handling the case that enable-multibyte-characters is nil.
* (isearch-minibuffer-local-map): BindKenichi Handa1998-08-061-8/+9
| | | | | | | | | the key C-g to exit. (isearch-minibuffer-self-insert): Use key-binding. Always call exit-minibuffer. (isearch-process-search-multibyte-characters): Use unread-command-events instead of unread-input-method-events. Always call isearch-update.
* (kkc-region): Don't bind echo-keystrokes.Kenichi Handa1998-08-061-1/+1
|
* (input-method-exit-on-first-char):Kenichi Handa1998-08-061-0/+14
| | | | | New variable. (input-method-use-echo-area): New variable.
* (quail-translation-keymap): Declare it asKenichi Handa1998-08-061-148/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable instead of constant. Bind all keys less than 32 to quail-other-command. Don't bind the key meta-prefix-char and escape. (quail-simple-translation-keymap): Likewise. (quail-conversion-keymap): Bind the key C-h to quail-translation-keymap. (quail-define-package): Fix typo in doc-string. (quail-conversion-str): New variable. (quail-input-method): Bind buffer-undo-list to t. Show Quail guidance buffer if necessary. (quail-delete-region): Move the definintion before the first calling place. (quail-start-translation): Handle the case the arg KEY is nil. Bind echo-keystrokes and help-char. Initialize quail-current-str to "". If input-method-use-echo-area is non-nil, call read-key-sequence with appropriate PROMPT arg. Setup last-command-event by local variable `keyseq'. Generate an event list form quail-current-str. If input-methodd-exit-on-first-char is non-nil, return only the first event. (quail-start-conversion): Likewise. Initialize quail-conversion-str to "". Generate an event list form quail-conversion-str. (quail-update-translation): Expect that the function given by (quail-update-translation-function) returns a new control-flag. Handle the case the length of quail-current-key is 1. Use string-as-unibyte if enable-multibyte-characters is nil. Always assures that quail-current-str is Lisp string. (quail-self-insert-command): Use `or' instead of `unless'. (quail-update-current-translations): Always assures that quail-current-str is Lisp string. (quail-next-translation-block): Update unread-command-events correctly. (quail-abort-translation): Set quail-current-str to nil. (quail-conversion-delete-char): Update quail-conversion-str. (quail-conversion-delete-tail): Likewise. (quail-conversion-backward-delete-char): Likewise. (quail-show-guidance-buf): Show Quail guidance buffer not in echo area if input-method-use-echo-area is non-nil. (quail-show-translations): Bind current-translations locally to quail-current-translations to get this value across different buffers. Handle the case that the length quail-current-key is 0. (quail-translation-help): If this command is invoked repeatedly, scroll the already shown help window. Handle the case that this command is called while converting (not translating). (quail-conversion-help): This function deleted and the functionality is merged to quail-translation-help.
* (iso-spanish, iso-german, iso-iso2tex,Dave Love1998-08-051-45/+72
| | | | | | | | iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Add optional (but ignored) arg `buffer' for format-{de,en}code. Doc fix. Add * to interactive spec. Add autoload cookie. (iso-cvt-read-only, iso-cvt-write-only): Add doc, autoload cookie. (iso-cvt-define-menu): Add autoload cookie.
* (find-new-buffer-file-coding-system): WhenEli Zaretskii1998-08-041-2/+3
| | | | | inhibit-eol-conversion is non-nil and the buffer didn't already set a fully-qualified coding system, force -unix eol-type.
* (set-default-coding-systems):Richard M. Stallman1998-08-041-1/+2
| | | | In --unibyte mode, don't set default-file-name-coding-system.
* (kkc-lookup-cache): Initialize it to nil.Kenichi Handa1998-08-021-35/+66
| | | | | | | | | | | | | (kkc-lookup-cache-tag): New constant. (kkc-lookup-key): If kkc-lookup-cache is nil, initialize it. Use kkc-init-file-name. (kkc-region): Fix previous change. Call kkc-error on error. (kkc-shorter-conversion, kkc-longer-phrase): New functions. (kkc-keymap): Bind them to "I" and "O" respectively. (kkc-error): New error symbol and new function. (kkc-longer, kkc-shorter): Call kkc-error on error. (kkc-show-conversion-list-or-next-group): Likewise. (kkc-show-conversion-list-or-prev-group): Likewise.
* (language-info-alist): Doc-stringKenichi Handa1998-08-021-3/+19
| | | | | | | | | | | | modified. (set-language-environment): Setup nonascii-translation-table and charset-origin-alist according to the property of the specified language environment. (update-iso-coding-systems): Make it an alias for update-coding-systems-internal. (prefer-coding-system): Call update-coding-systems-internal instead of update-iso-coding-systems. (set-language-environment-coding-systems): Likewise.
* Initialize coding-category-ccl toKenichi Handa1998-08-021-0/+2
| | | | nil. Include it in the arg for set-coding-priority.
* (describe-current-coding-system):Kenichi Handa1998-08-021-1/+1
| | | | Check if each coding category is bound to a valid coding system.
* (make-coding-system): If the arg TYPE isKenichi Handa1998-08-021-24/+66
| | | | | | | | | | 4, set coding-category property of the coding system to coding-category-ccl. (find-new-buffer-file-coding-system): If the arg CODING carries some information (about text conversion or eol conversion), always return a new coding system. (charset-origin-alist): New variable. (make-translation-table-from-vector): New function.
* (quail-start-translation): Bind help-charKenichi Handa1998-08-021-0/+1
| | | | to nil locally.
* (activate-input-method): Update mode line.Kenichi Handa1998-07-301-2/+5
| | | | (inactivate-input-method): Likewise.
* (iso-transl-define-keys): Don't test enable-multibyte-characters; useRichard M. Stallman1998-07-291-5/+1
| | | | the translated characters as specified in alist.
* (set-clipboard-coding-system): Define as alias.Richard M. Stallman1998-07-271-0/+2
|
* (auto-coding-alist): Recognize .tar.Richard M. Stallman1998-07-261-2/+2
|
* (auto-coding-alist): Another doc fix.Richard M. Stallman1998-07-251-3/+3
|
* (auto-coding-alist): Docstring fixed.Kenichi Handa1998-07-251-2/+1
|
* (kkc-region): Unwind-protect the conversionKenichi Handa1998-07-251-24/+29
| | | | | | process. (kkc-show-conversion-list-update): Pay attention to the length of kkc-show-conversion-list-index-chars.
* (find-multibyte-characters): NewKenichi Handa1998-07-251-29/+125
| | | | | | function. (select-safe-coding-system): Highlight characters which can't be encoded. Show list of such characters also in *Warning* buffer.
* (coding-system-change-eol-conversion): Make it accepts an integerKenichi Handa1998-07-251-6/+10
| | | | value in EOL-TYPE argument.
* (auto-coding-alist): New variable.Kenichi Handa1998-07-251-82/+105
| | | | | (set-auto-coding): Arguemnt FILENAME is added. Check auto-coding-alist at first.
* (quail-start-translation): CallKenichi Handa1998-07-231-2/+2
| | | | | this-single-command-raw-keys instead of this-single-command-keys. (quail-start-conversion): Likewise.
* (isearch-minibuffer-self-insert):Kenichi Handa1998-07-231-27/+32
| | | | | | | Handle space char event correctly. (isearch-process-search-multibyte-characters): If this-command is not isearch-printing-char, don't read multibyte chars from minibuffer, but just call isearch-process-search-char.
* (quail-start-translation): UseKenichi Handa1998-07-231-6/+6
| | | | | | this-single-command-keys to get raw events instead of listify-key-sequence (quail-start-conversion): Likewise.
* (kkc-region): Handled the case thatKenichi Handa1998-07-211-3/+5
| | | | | | | conversion is cancelled. (kkc-terminate): Update kkc-overlay-head correctly. (kkc-cancel): Don't call kkc-terminate, but set kkc-converting to nil.
* (quail-simple-translation-keymap): TypoKenichi Handa1998-07-211-7/+9
| | | | | | | in doc-string fixed. (quail-start-translation): Check start position of quail-overlay before calling quail-overlay-region-events. (quail-start-conversion): Likewise.
* (isearch-toggle-specified-input-method): Adjusted for the changeKenichi Handa1998-07-191-7/+47
| | | | | | | | | | | in isearch.el. (isearch-toggle-input-method): Likewise. (isearch-minibuffer-local-map): New variable. (isearch-minibuffer-non-self-insert): New function. (isearch-minibuffer-self-insert): New function. (isearch-process-search-multibyte-characters): Read multibyte characters from minibuffer with the keymap isearch-minibuffer-local-map.
* (kkc-region): Fix the return value.Kenichi Handa1998-07-191-1/+1
|
* (read-multilingual-string): Don'tKenichi Handa1998-07-191-8/+2
| | | | | activate an input method in the current buffer, but just bind current-input-method.
* (quail-conversion-keymap): New bindingKenichi Handa1998-07-191-12/+38
| | | | | | | | | | | | | | | | | | for quail-conversion-delete-tail. (quail-input-method): Suppress input method if overriding-terminal-local-map or overriding-local-map is non-nil. Erase contents of quail-guidance-buf. Run the hook input-method-after-insert-chunk-hook. (quail-start-translation): Get the original event list by listify-key-sequence. Setup last-command and this-command (quail-start-conversion): Likewise. (quail-conversion-beginning-of-region): Set quail-translating to nil. (quail-conversion-end-of-region, quail-conversion-delete-char): Likewise. (quail-conversion-delete-tail): New function. (quail-no-conversion): Don' run the hook input-method-after-insert-chunk-hook.
* (kkc-show-conversion-list-index-chars):Kenichi Handa1998-07-161-83/+58
| | | | | | | | | | | | | | | | | Default value changed. (kkc-keymap): Renamed from kkc-mode-map. Key binding for kkc-non-kkc-command are deleted. (kkc-mode): This function deleted. (kkc-canceled): This variable deleted. (kkc-converting): New variable. (kkc-region): 3rd optional arg is deleted. Completely rewritten to adjust for the change in quail.el. (kkc-terminate, kkc-cancel): Adjusted for the change of kkc-region. (kkc-non-kkc-command): This function deleted. (kkc-select-from-list): Use last-input-event instead of last-input-char. Put an unknown event back to unread-input-method-events.
* (quail-mode): This variable deleted.Kenichi Handa1998-07-161-294/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (quail-current-key): Make it buffer local. (quail-current-str, quail-current-translations): Likewise. (quail-reset-conversion-region): This variable deleted. (quail-use-package): Call quail-activate at the tail. (quail-translation-keymap, quail-simple-translation-keymap): Key bindings for quail-execute-non-quail-command deleted. (quail-conversion-keymap): Likewise. Add key bindings for quail-self-insert-command. (quail-delete-overlays): Chekc overlay-start for overlays before deleting them. (quail-mode): This function deleted. (quail-inactivate, quail-activate): New functions. (quail-saved-current-map, quail-saved-current-buffer): These variables deleted. (quail-toggle-mode-temporarily, quail-execute-non-quail-command): These functions deleted. (quail-exit-conversion-mode, quail-prefix-arg): These variables deleted. (quail-error): New error condition. (quail-error): New function. (quail-translating, quail-converting): New variables. (quail-input-method, quail-overlay-region-events): New function. (quail-start-translation): Completely re-written. (quail-start-translation-in-conversion-mode): This function deleted. (quail-start-conversion): New function. (quail-terminate-translation): Just set quail-translating to nil. (quail-update-translation): Put some events back to unread-input-method-events instead of unread-command-events. Call quail-error instead of error. (quail-self-insert-command): Adjusted for the change of quail-start-translation. (quail-next-translation): Don't call quail-execute-non-quail-command, instead, put an event back of unread-command-events. (quail-prev-translation, quail-next-translation-block, quail-prev-translation-block): Likewize. (quail-conversion-backward-char): Call quail-error instead of error. Set quail-translating to nil. (quail-conversion-forward-char): Likewize. (quail-conversion-delete-char): Call quail-error instead of error. If conversion region gets vacant, set quail-converting to nil. (quail-conversion-backward-delete-char): Likewize. (quail-no-conversion): Just set quail-converting to nil. (quail-mouse-choose-completion): Call quai-error instead of error. (quail-choose-completion-string): Likewize. (quail-help): Don't handle quail-mode-map.
* (set-selection-coding-system): Renamed from set-clipboard-coding-system.Richard M. Stallman1998-07-121-2/+2
| | | | Set the variable's new name, selection-coding-system.
* (set-language-environment): Test unibyte-syntax instead of using aRichard M. Stallman1998-07-091-2/+1
| | | | fixed list of latin-N character sets.
* (x-complement-fontset-spec): Typo fixed.Kenichi Handa1998-07-091-2/+2
| | | | | (create-fontset-from-fontset-spec): Likewise. (create-fontset-from-ascii-font): Likewise.
* * international/mule.el: Don't make the function charset-listKenichi Handa1998-07-061-3/+0
| | | | obsolete.
* (set-auto-coding-for-load): New variable.Kenichi Handa1998-07-061-18/+40
| | | | | | (set-auto-coding): If set-auto-coding-for-load is non-nil, look for "unibyte" file variable first, then for "coding". (load-with-code-conversion): Bind set-auto-coding-for-load to t.
* (create-fontset-from-fontset-spec):Kenichi Handa1998-07-031-2/+62
| | | | | Returns a created fontset. (create-fontset-from-ascii-font): New function.
* (mule-version): Changed to 4.0.Kenichi Handa1998-07-011-2/+2
| | | | (mule-version-date): Updated.
* (set-keyboard-coding-system): Doc typo.Richard M. Stallman1998-06-271-1/+1
|
* (create-fontset-from-fontset-spec):Kenichi Handa1998-06-261-10/+11
| | | | | Generate ASCII font names of style variants fontsets from a resolved ASCII font name of a base fontset.
* (fontset-default-styles): Fix custom type.Richard M. Stallman1998-06-241-2/+3
|