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

485 Commits

Author SHA1 Message Date
Kenichi Handa
bcb68cff12 (resolved-ascii-font): New variable.
(x-complement-fontset-spec): By side effect, set
`resolved-ascii-font' to the resolved name of ASCII font."
(create-fontset-from-fontset-spec): Don't get a value for
resolved-ascii-font from the list full-fontlist.  It is set by
x-complement-fontset-spec now.
1998-09-07 13:39:15 +00:00
Karl Heuer
e8dd0160fa Doc fixes. 1998-09-06 14:31:49 +00:00
Karl Heuer
85c92c4050 Use string' before calling insert'
so that in multibyte buffers we insert multibyte chars.
1998-09-04 20:46:30 +00:00
Karl Heuer
cd30a521aa Doc fixes. 1998-09-04 19:53:41 +00:00
Kenichi Handa
2d4e1e6e5a (quail-choose-completion-string): Store
completion `choice' in `quail-current-str'; don't insert it.
1998-09-03 11:10:40 +00:00
Kenichi Handa
205814eee4 (register-input-method): Doc-string modified. 1998-09-02 04:51:42 +00:00
Dave Love
dff1aa2484 (current-language-environment): Fix setter function. 1998-09-01 17:42:01 +00:00
Kenichi Handa
f0c8b3efad (x-complement-fontset-spec): If ASCII
font is specified in FONTLIST, don't substitute it for the
resolved name.
1998-09-01 02:24:46 +00:00
Paul Eggert
0611934b67 (charset-description): Doc fix. 1998-08-31 18:26:27 +00:00
Kenichi Handa
46babb23b6 (select-message-coding-system): New
function.
(set-language-environment-coding-systems): Set
default-sendmail-coding-system.
1998-08-24 01:46:43 +00:00
Kenichi Handa
305a3cb640 (activate-input-method): Handle the
case that the arg INPUT-METHOD is nil correctly.
(read-multilingual-string): Activate the specified input method
before calling read-string.  Afterward, activate the original
input method.
1998-08-18 00:44:20 +00:00
Kenichi Handa
63283a8f24 (set-language-environment): Reset
syntax and case table to the defaults if the value of
unibyte-syntax key is nil.
1998-08-17 02:34:54 +00:00
Kenichi Handa
15f7f59e3e (kkc-help): New function.
(kkc-keymap): Use sparse keymap.  Add key binding for kkc-help.
1998-08-15 01:28:14 +00:00
Kenichi Handa
7624ebb968 (language-info-alist): Doc-string
modified.
(set-language-info-alist): Fix typo in doc-string.  Update
setup-language-environment-map unconditionally.
(mule-keymap): Key bindings for set-selection-coding-system and
set-next-selection-coding-system.
(set-coding-system-map): Add items of set-selection-coding-system
and set-next-selection-coding-system.
1998-08-15 01:28:14 +00:00
Kenichi Handa
a03b3ce13b (set-selection-coding-system): Make it
interactive.
(last-next-selection-coding-system): New variable.
(set-next-selection-coding-system): New function.
1998-08-15 01:28:14 +00:00
Richard M. Stallman
902e3f7798 (select-safe-coding-system): If default-coding-system is no-conversion,
return that; it is always safe.
1998-08-14 09:02:48 +00:00
Richard M. Stallman
4be9beaf4e (quail-update-leim-list-file): Fix message syntax. 1998-08-13 23:02:48 +00:00
Kenichi Handa
ddb5c0419c (language-info-alist): Doc-string modified.
(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.
1998-08-10 06:29:02 +00:00
Kenichi Handa
5b98469511 (iso-safe): Comment for this coding system fixed.
(coding-category-iso-8-1): Change default coding priority.
1998-08-10 06:29:02 +00:00
Kenichi Handa
f6a0db107a (quail-start-translation): If
enable-multibyte-characters is nil, convert multibyte character to
unibyte.
(quail-start-conversion): Likewise.
1998-08-10 06:29:02 +00:00
Richard M. Stallman
39e643e20a (input-method-exit-on-first-char)
(input-method-use-echo-area): Doc fixes.
1998-08-08 07:20:44 +00:00
Kenichi Handa
39d484ed79 (isearch-process-search-multibyte-characters): Fix previous change. 1998-08-07 05:04:36 +00:00
Kenichi Handa
df765be4fe (quail-update-translation): Delete the
code for handling the case that enable-multibyte-characters is
nil.
1998-08-07 05:04:36 +00:00
Kenichi Handa
bbb398a13f (isearch-minibuffer-local-map): Bind
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.
1998-08-06 05:38:11 +00:00
Kenichi Handa
f12d44e5ae (kkc-region): Don't bind echo-keystrokes. 1998-08-06 05:38:11 +00:00
Kenichi Handa
dccca9804d (input-method-exit-on-first-char):
New variable.
(input-method-use-echo-area): New variable.
1998-08-06 05:38:11 +00:00
Kenichi Handa
d91eafdf6b (quail-translation-keymap): Declare it as
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.
1998-08-06 05:38:11 +00:00
Dave Love
575f522f3a (iso-spanish, iso-german, iso-iso2tex,
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.
1998-08-05 18:41:26 +00:00
Eli Zaretskii
be02cd54b3 (find-new-buffer-file-coding-system): When
inhibit-eol-conversion is non-nil and the buffer didn't already
set a fully-qualified coding system, force -unix eol-type.
1998-08-04 10:27:45 +00:00
Richard M. Stallman
716184d455 (set-default-coding-systems):
In --unibyte mode, don't set default-file-name-coding-system.
1998-08-04 09:18:36 +00:00
Kenichi Handa
f9628a49e7 (kkc-lookup-cache): Initialize it to nil.
(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.
1998-08-02 01:06:57 +00:00
Kenichi Handa
45d08cb2bc (language-info-alist): Doc-string
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.
1998-08-02 01:06:57 +00:00
Kenichi Handa
a1223d6ce9 Initialize coding-category-ccl to
nil.  Include it in the arg for set-coding-priority.
1998-08-02 01:06:57 +00:00
Kenichi Handa
2149d01354 (describe-current-coding-system):
Check if each coding category is bound to a valid coding system.
1998-08-02 01:06:57 +00:00
Kenichi Handa
c76b5c998d (make-coding-system): If the arg TYPE is
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.
1998-08-02 01:06:57 +00:00
Kenichi Handa
0b76616bdb (quail-start-translation): Bind help-char
to nil locally.
1998-08-02 01:06:57 +00:00
Kenichi Handa
28885c0e1e (activate-input-method): Update mode line.
(inactivate-input-method): Likewise.
1998-07-30 06:50:59 +00:00
Richard M. Stallman
1dcbe23901 (iso-transl-define-keys): Don't test enable-multibyte-characters; use
the translated characters as specified in alist.
1998-07-29 02:54:35 +00:00
Richard M. Stallman
d0b998812f (set-clipboard-coding-system): Define as alias. 1998-07-27 05:39:15 +00:00
Richard M. Stallman
79de6799c9 (auto-coding-alist): Recognize .tar. 1998-07-26 22:03:03 +00:00
Richard M. Stallman
7fed493a86 (auto-coding-alist): Another doc fix. 1998-07-25 20:56:15 +00:00
Kenichi Handa
558b0c8617 (auto-coding-alist): Docstring fixed. 1998-07-25 04:48:35 +00:00
Kenichi Handa
7efe5dbcaf (kkc-region): Unwind-protect the conversion
process.
(kkc-show-conversion-list-update): Pay attention to the length of
kkc-show-conversion-list-index-chars.
1998-07-25 04:23:13 +00:00
Kenichi Handa
51ed58ea12 (find-multibyte-characters): New
function.
(select-safe-coding-system): Highlight characters which can't be
encoded.  Show list of such characters also in *Warning* buffer.
1998-07-25 04:23:13 +00:00
Kenichi Handa
991a0b3207 (coding-system-change-eol-conversion): Make it accepts an integer
value in EOL-TYPE argument.
1998-07-25 04:23:13 +00:00
Kenichi Handa
835f49b8bf (auto-coding-alist): New variable.
(set-auto-coding): Arguemnt FILENAME is added.  Check
auto-coding-alist at first.
1998-07-25 04:23:13 +00:00
Kenichi Handa
ab6ecce200 (quail-start-translation): Call
this-single-command-raw-keys instead of this-single-command-keys.
(quail-start-conversion): Likewise.
1998-07-23 05:48:49 +00:00
Kenichi Handa
07474fef28 (isearch-minibuffer-self-insert):
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.
1998-07-23 05:42:28 +00:00
Kenichi Handa
da55ad08c2 (quail-start-translation): Use
this-single-command-keys to get raw events instead of
listify-key-sequence
(quail-start-conversion): Likewise.
1998-07-23 05:42:28 +00:00
Kenichi Handa
f370eb4c04 (kkc-region): Handled the case that
conversion is cancelled.
(kkc-terminate): Update kkc-overlay-head correctly.
(kkc-cancel): Don't call kkc-terminate, but set kkc-converting to
nil.
1998-07-21 01:42:40 +00:00