1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00
Commit Graph

22963 Commits

Author SHA1 Message Date
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
Kenichi Handa
e23f810c3e (Fdirectory_files): If MATCH is non-nil, decode filenames
before checking them against MATCH.
1998-08-06 05:38:11 +00:00
Richard M. Stallman
d86ad277e5 (Fexecute_kbd_macro): Fix error message.
(Fend_kbd_macro): Fix error message.
1998-08-06 05:36:45 +00:00
Richard M. Stallman
72aca5fa28 (Vselection_coding_system): Renamed from Vclipboard_coding_system.
(syms_of_w32select): No need to staticpro Vselection_coding_system.
1998-08-05 22:32:02 +00:00
Richard M. Stallman
ef96556f84 (top-level let): add defsubst. 1998-08-05 20:41:55 +00:00
Richard M. Stallman
90d56ed8b0 (rmail-encoded-pop-password): New variable. 1998-08-05 20:31:24 +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
Richard M. Stallman
08b59cd333 (byte-compile-from-buffer): Make the output buffer multibyte. 1998-08-05 17:59:36 +00:00
Richard M. Stallman
57522629c8 (Funexpand_abbrev): Add ADJUST instead of subtracting. 1998-08-05 14:59:09 +00:00
Richard M. Stallman
463deb6667 (scroll-bar-mode): Doc fix. 1998-08-05 07:09:48 +00:00
Richard M. Stallman
2745e6c4cd (x_list_fonts): Call XFreeFont after the new call to XLoadQueryFont.
(fast_find_position): Handle case where position is before
an invisible character, thus not actually listed in charstarts.

(x_make_frame_visible): Use XGetGeometry to see if
position has been changed by the window manager.  Use
FRAME_OUTER_WINDOW.
1998-08-05 01:42:24 +00:00
Eric M. Ludlam
61d7e1dc5b Updated refresh messages to clear themselves. 1998-08-04 13:58:39 +00:00
André Spiegel
b73820b00c (vc-backend-merge-news): Account for `already contains the
differences' state.
1998-08-04 13:14:41 +00:00
Eli Zaretskii
199c7c44b9 (Fw16_set_clipboard_data, Fw16_get_clipboard_data, syms_of_win16select):
Rename Vclipboard_coding_system to Vselection_coding_system.
(Fw16_set_clipboard_data): Don't count trailing zero in the string
for the purposes of conversion.
1998-08-04 10:38:22 +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
fabcd845a0 (Info-find-node): Once again, use byte-to-position. 1998-08-04 09:40:04 +00:00
Richard M. Stallman
949b810e82 (vcursor group): Move this to `editing' group. 1998-08-04 09:34:25 +00:00
Richard M. Stallman
c2705d61de (comint-bol-or-process-mark): Refer to this command's name correctly. 1998-08-04 09:30:02 +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
Richard M. Stallman
b2f9ab3cf5 (clean-buffer-list-kill-regexps): Init to nil, as before.
(clean-buffer-list-kill-buffer-names): Add *vc* and *vc-diff*.
(clean-buffer-list-delay): Rename arg.
(clean-buffer-list): Doc fix.
(midnight-period): Doc fix.
1998-08-04 05:36:07 +00:00
Richard M. Stallman
d81724c777 (Fmove_to_window_line): Doc fix. 1998-08-04 03:16:57 +00:00
Richard M. Stallman
255c7daeba (replace_range): Don't assume PT is at the place
where the change is being done.
1998-08-03 22:25:54 +00:00
Richard M. Stallman
0c1e3b856c (Fsubst_char_in_region): Use replace_range in the case
where we may need to combine bytes.
(Ftranslate_region): Likewise.
1998-08-03 22:25:08 +00:00
Eric M. Ludlam
5fdc799747 (Info-speedbar-hierarchy-buttons): Improved the speedbar frame management. 1998-08-03 17:54:35 +00:00
Eric M. Ludlam
0e5961010e (speedbar-update-current-file): Added call to
`speedbar-center-buffer-smartly' to improve the display.
(speedbar-center-buffer-smartly) Fixed off-by-one error in window
height calculation.
(speedbar-hack-buffer-menu): New function.
(speedbar-frame-parameters): Removed scroll bar width.
(speedbar-frame-mode): Change pointer shape for X
and W32 window-systems only.  When window-system is pc, bind the
speedbar frame name to "Speedbar", and select that frame so it is
displayed.
(speedbar-mode): Don't bind default-minibuffer-frame when
window-system is pc.
(speedbar-this-file-in-vc): Look for RCS/name as well as RCS/name,v.
(speedbar-directory-buttons-follow): Support both upper- and
lower-case drive letters.  Use directory-sep-char instead of a
literal backslash.
(speedbar-reconfigure-keymaps): Call
`easy-menu-remove' before reconfiguring for a new menu bar.
(speedbar-previous-menu): New Variable.
(speedbar-frame-plist): Remove pointers.
(speedbar-refresh): Prevent the mark from being deactivated.
(speedbar-buffer-kill-buffer): Refresh speedbar after killing a
buffer in the buffer display.
1998-08-03 17:47:39 +00:00
Simon Marshall
39df451ba4 (lisp-font-lock-keywords-1): Fix previous change.
(font-lock-support-mode): Allow nil as a mode-specific value.  Fix tag.
1998-08-03 08:52:35 +00:00
Richard M. Stallman
65a5c06afd (flyspell-duplicate-distance): Doc fix; change default to 10000.
(flyspell-mode-on): Fix the welcome message to deal with
how the binding for flyspell-auto-correct-word is now made.
(flyspell-delay, flyspell-delayed-commands): Doc fixes.
(flyspell-mode-off): Kill Ispell only if it is per-buffer.

(flyspell-mode-map): Explicitly bind M-TAB.
(flyspell-auto-correct-binding): Variable deleted.
(flyspell-incorrect-face, flyspell-duplicate-face): Fix typos.
(flyspell-check-pre-word-p): Check for word syntax in previous char.
(flyspell-word): Set process-kill-without-query for Ispell.
(flyspell-region): Put region args in order; use right percantage.
(flyspell-properties-at-p): Rename arg to POS; doc fix.
(flyspell-highlight-incorrect-region):
Check flyspell-highlight-properties first.
(flyspell-highlight-duplicate-region): Likewise.
(flyspell-auto-correct-word): Doc fix.
1998-08-03 03:27:54 +00:00
Richard M. Stallman
49da2e496a (Fdocumentation): Specify UNIBYTE = 0
when calling get_doc_string for a compiled function.
1998-08-02 02:44:04 +00:00
Richard M. Stallman
8db9dc66b1 (read1): In reading a string, treat Qlambda like Qget_file_char. 1998-08-02 02:43:47 +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
ce58d9b46e (cyrillic-encode-koi8-r-char): New funciton.
(cyrillic-encode-alternativnyj-char): New function.
1998-08-02 01:06:57 +00:00
Kenichi Handa
70c58a1f51 (cyrillic-koi8-r-decode-table): New
variable.
(cyrillic-koi8-r-encode-table): Likewise.
(ccl-decode-koi8): Use cyrillic-koi8-r-decode-table.
(ccl-encode-koi8): Use cyrillic-koi8-r-encode-table.
(ccl-encode-koi8-font): Likewise.
(cyrillic-koi8-r-nonascii-translation-table): New variable.
("Cyrillic-KOI8"): Add nonascii-translation-table and
charset-origin-alist properties.
(cyrillic-alternativnyj-decode-table): New variable.
(cyrillic-alternativnyj-encode-table): Likewise.
(ccl-decode-alternativnyj): Use
cyrillic-alternativnyj-decode-table.
(ccl-encode-alternativnyj): Use
cyrillic-alternativnyj-encode-table.
(ccl-encode-alternativnyj-font): Likewise.
(cyrillic-alternativnyj-nonascii-translation-table): New variable.
("Cyrillic-ALT"): Add nonascii-translation-table and
charset-origin-alist properties.
1998-08-02 01:06:57 +00:00
Kenichi Handa
0c9470b303 (viet-encode-viscii-char): New function. 1998-08-02 01:06:57 +00:00
Kenichi Handa
d0307626dd (viet-viscii-decode-table): Docstring
fixed.
(viet-viscii-encode-table): Likewise.
(viet-vscii-decode-table): Likewise.
(viet-vscii-encode-table): Likewise.
(viet-viscii-nonascii-translation-table): New variable
("Vietnamese"): Add nonascii-translation-table and
charset-origin-alist properties.
1998-08-02 01:06:57 +00:00
Kenichi Handa
4298d95ef1 Call update-coding-systems-internal instead of
update-iso-coding-systems.
1998-08-02 01:06:57 +00:00
Kenichi Handa
e5a902cf51 (what-cursor-position): Check charset-origin-alist. 1998-08-02 01:06:57 +00:00
Kenichi Handa
f44cbcd8dc (copy_text): In multibyte to unibyte conversion, take
nonascii-translation-table and nonascii-insert-offset into
account.
1998-08-02 01:06:57 +00:00
Kenichi Handa
a35fd731c7 (ccl_spec): New member valid_codes. 1998-08-02 01:06:57 +00:00
Kenichi Handa
1397dc18d5 (Qvalid_codes): New variable.
(coding_category_name): Include "coding-category-ccl".
(detect_coding_ccl): New function.
(setup_coding_system): Setup coding->spec.ccl.valid_codes from the
coding system priority `valid-codes' for CCL based coding systesm.
(detect_coding_mask): Check also a CCL based coding system.
(Fupdate_coding_systems_internal): Renamed from
Fupdate_iso_coding_systems.
(syms_of_coding): Change property char-table-extra-slot of
translation-table to 1.  Initialize and static pro Qvalid_codes.
1998-08-02 01:06:57 +00:00
Kenichi Handa
8469bb88e5 (CODING_CATEGORY_IDX_CCL): New macro.
(CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT,
CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by
one.
(CODING_CATEGORY_MASK_CCL): New macro.
(CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.
1998-08-02 01:06:57 +00:00
Richard M. Stallman
8f393ef918 (widget.o, xfns.o, xmenu.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
1998-08-02 00:30:33 +00:00
Richard M. Stallman
8a23f4d8a6 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
(lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
1998-08-02 00:29:05 +00:00
Richard M. Stallman
5126d3b7fe (REGEXPDEPS, regex.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
1998-08-02 00:24:15 +00:00
Richard M. Stallman
0d60d4efe3 Comment change. 1998-08-02 00:22:31 +00:00
Richard M. Stallman
bd5f5333b9 (Makefile, src/Makefile, src/config.stamp)
(lib-src/Makefile, man/Makefile, oldXMenu/Makefile)
(lwlib/Makefile, leim/Makefile):
Prepend $(srcdir)/ to rule dependencies outside this dir.
1998-08-02 00:21:33 +00:00