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

21227 Commits

Author SHA1 Message Date
Kenichi Handa
d8fc7ce4c1 Declarations changed.
(STRING_MULTIBYTE, STRING_BYTES, SET_STRING_BYTES):
New definitions treating negative size_byte as a flag for unibyte.
1998-03-24 12:16:10 +00:00
Kenichi Handa
2436e18031 (MULTIBYTE_BYTES_WIDTH): Set wide_column only when we
encounter a wide-column character.
1998-03-24 05:41:38 +00:00
Kenichi Handa
242beafec7 (del_range_2): Move gap again to a proper place just
after calling make_buffer_string_both.
1998-03-24 05:41:38 +00:00
Kenichi Handa
de9d083c5d (shrink_decoding_region): If EOL_CONVERSION is nonzero,
don't skip `\r' (instead of `\n').
1998-03-24 05:41:38 +00:00
Kenichi Handa
cbc1b668f3 (record_delete): Record last_point_position when there's
no record other than marker adjustment before undo boundary.
1998-03-24 05:41:38 +00:00
Kenichi Handa
80e79e3e7c (top_distclean): Check the existence of `lock' subdir. 1998-03-24 05:41:22 +00:00
Andreas Schwab
ebc4ab7cf8 (xterm-mouse-translate, xterm-mouse-event): Replace
obsolete `concat with integer' by format.
1998-03-23 13:26:00 +00:00
Andreas Schwab
ecdd2ab53d (resize-minibuffer-mode): Make it a proper minor
mode: toggle resize-minibuffer mode when called without argument.
1998-03-23 13:18:54 +00:00
Andreas Schwab
0915568920 (popup_get_selection): On receiving a KeyPress event
only deactivate the menu when the key is not a modifier key.
1998-03-23 13:02:15 +00:00
Andreas Schwab
c33be4add6 (Fx_create_frame): Use "borderWidth", not "borderwidth",
as resource name, to be consistent with other X applications.
1998-03-23 12:56:25 +00:00
Karl Heuer
68a8818d73 (PC-expand-many-files): Apply completion-ignored-extensions. 1998-03-23 00:29:43 +00:00
Karl Heuer
cb58a6d07e (install-arch-indep): Put special subdirs.el files
in site-lisp dirs.  Use normal-top-level-add-subdirs-to-load-path.
1998-03-23 00:18:15 +00:00
Karl Heuer
859e15c1e5 (normal-top-level-add-subdirs-to-load-path): New function. 1998-03-23 00:15:20 +00:00
Karl Heuer
2fa149b63f (find-file-noselect): Use set-buffer-multibyte
instead of setting enable-multibyte-characters.
1998-03-23 00:14:06 +00:00
Karl Heuer
c40096a043 (standard-display-underline): Shift face id by 19 bits. 1998-03-23 00:12:14 +00:00
Richard M. Stallman
8ec5a40461 (Fdirectory_files): In FULL case, compute number of characters 1998-03-21 18:23:09 +00:00
Richard M. Stallman
b10b2daa18 (substring_both, Fsubstring): Use make_specified_string.
(concat): Make string result unibyte or multibyte as appropriate.
1998-03-21 18:09:01 +00:00
Richard M. Stallman
763401461f (syms_of_sunfns): Pass new arg to make_pure_string. 1998-03-21 18:07:27 +00:00
Richard M. Stallman
c0696668ad (make_specified_string): New function.
(make_string_from_bytes): New function.
(compact_strings): Get byte size from size, if size_byte < 0.
(Fmake_string): Use make_uninit_string for single-byte char.
(make_unibyte_string): Mark string as unibyte.
(make_uninit_string): Likewise.
(make_string): Likewise, if size == size in bytes.
(make_pure_string): New arg MULTIBYTE.
(Fpurecopy): Pass new arg to make_pure_string.
1998-03-21 18:07:06 +00:00
Richard M. Stallman
5f75e6660f (Fchar_to_string): Use make_string_from_bytes.
(Fformat): Use make_specified_string.
(make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
1998-03-21 18:05:29 +00:00
Richard M. Stallman
7d3d343a93 (casify_object): Use make_specified_string. 1998-03-21 18:02:09 +00:00
Richard M. Stallman
2780260006 (Fstring): Use make_string_from_bytes.
(Fcompose_string): Likewise.
1998-03-21 18:00:38 +00:00
Richard M. Stallman
f34206b459 (internal_self_insert): Use make_string_from_bytes. 1998-03-21 18:00:19 +00:00
Richard M. Stallman
bbdf84bda7 (code_convert_string): Use make_string_from_bytes. 1998-03-21 17:59:48 +00:00
Richard M. Stallman
cc5bf9eb92 (Fsubstitute_command_keys): Use make_string_from_bytes. 1998-03-21 17:59:22 +00:00
Richard M. Stallman
491f16a288 (read1): Pass new arg to make_pure_string.
(make_symbol): Likewise.
(init_obarray): Likewise.
(read1): Use make_specified_string.
1998-03-21 17:52:08 +00:00
Richard M. Stallman
9dffd51146 (PRINTPREPARE): Use make_string_from_bytes. 1998-03-21 17:51:30 +00:00
Richard M. Stallman
e6e5ac6800 (read_process_output): Use make_string_from_bytes. 1998-03-21 17:50:30 +00:00
Richard M. Stallman
3f8100f1d8 (Fregexp_quote): Use make_specified_string. 1998-03-21 17:50:03 +00:00
Richard M. Stallman
c98265b836 (selection_data_to_lisp_data): Use make_string_from_bytes. 1998-03-21 17:49:39 +00:00
Richard M. Stallman
2a1d8be0dc (insert_from_string_1, replace_range):
Use STRING_MULTIBYTE to determine whether string is multibyte.
1998-03-21 17:48:54 +00:00
Richard M. Stallman
dc3620af1b Use STRING_BYTES and SET_STRING_BYTES.
(Ftranspose_regions): Try to handle combining bytes.
1998-03-21 07:06:55 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman
e7654b4a74 (comint-preoutput-filter-functions): Doc fix. 1998-03-21 06:16:35 +00:00
Richard M. Stallman
de57a39c28 Don't include puresize.h any more as code that needs it
has moved to keyboard.c.
(menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p):
Functions deleted; code moved to parse_menu_item in keyboard.c.
(single_keymap_panes): Large part of code moved to single_menu_item.
(single_menu_item): New function that uses parse_menu_item.
(Qmenu_alias): Variable deleted.
(QCtoggle, QCradio): New variables.
(syms_of_xmenu): Change initializations of variables.
1998-03-21 06:01:22 +00:00
Richard M. Stallman
a3fc8840a3 (fix_submap_inheritance, get_keyelt, store_in_keymap,
copy-keymap, where_is_internal_1): Support new format for menu items.
(syms_of_keymap): New symbol `menu-item'.
1998-03-21 05:53:36 +00:00
Richard M. Stallman
e8886a1d99 Include puresize.h for CHECK_IMPURE.
(parse_menu_item): New function.
(menu_item_eval_property_1, menu_item_eval_property) New suroutines.
(menu_bar_one_keymap): Moved some code to menu_bar_item.
(menu_bar_item): Rewritten to use parse_menu_item.
(menu_bar_item_1): Function deleted.
(QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio):
(Qmenu_alias): New variables.
(syms_of_keyboard): Initialize them, and item_properties.
1998-03-21 05:49:49 +00:00
Richard M. Stallman
2db5082ff4 (replace_range): New arg NOMARKERS. 1998-03-21 05:48:03 +00:00
Richard M. Stallman
aab28f4722 (internal_self_insert): Pass new arg to replace_range. 1998-03-21 04:45:12 +00:00
Richard M. Stallman
e928d437c2 (record_delete): Replace LENGTH arg with STRING.
(record_change): Call record_delete the new way.
1998-03-21 03:58:00 +00:00
Richard M. Stallman
628cea90f1 (insert_1_both, insert_from_string_1, insert_from_buffer_1):
(adjust_before_replace, adjust_after_replace, replace_range):
(del_range_2): Call record_delete the new way.
Use make_buffer_string_both to make the string to pass.
1998-03-21 03:57:35 +00:00
Richard M. Stallman
88441c8eb8 (make_buffer_string_both): New function.
(make_buffer_string): Use make_buffer_string_both.
1998-03-21 02:57:08 +00:00
Richard M. Stallman
a42fefa844 (keymap.o): Depend on puresize.h.
(xmenu.o): Don't depend on puresize.h.
1998-03-20 22:38:54 +00:00
André Spiegel
a0b87bc1f9 (vc-next-action-on-file): Properly handle the case when user tries to
check-in, but file on disk has changed.
(vc-do-command): Consider LAST argument only if FILE is non-nil.
(vc-add-triple, vc-record-rename, vc-lookup-file): Find
vc-name-assoc-file based on vc-name of FILE.
(vc-backend-admin, vc-rename-file): Handle the SCCS PROJECTDIR feature.
(vc-do-command): Rewrote doc string.
1998-03-20 15:40:24 +00:00
André Spiegel
809c22a297 (vc-sccs-project-dir, vc-search-sccs-project-dir): New functions.
(vc-master-templates): Add call to vc-search-sccs-project-dir.
1998-03-20 15:38:48 +00:00
Dave Love
f64905b5b4 (browse-url-of-region): Use its args. From <mit@nines.nec.co.jp> 1998-03-20 10:22:59 +00:00
Richard M. Stallman
72fe461511 (reporter-mail): New function.
(reporter-compose-outgoing): Use fboundp, not functionp.
(reporter-bug-hook): Fix error message.

(reporter-beautify-list): Break infloop when reaching the end of the
buffer without crossing an unbalanced paren.  Use scan-sexps instead
of forward-sexp for the loop break test.

(reporter-submit-bug-report): Only call
display-buffer if pop-up-windows is non-nil.
1998-03-20 06:37:09 +00:00
Richard M. Stallman
8861c59398 (set-language-environment): Doc fix.
(current-language-environment): Use defcustom.
(default-input-method): Specify :type.
1998-03-20 06:29:54 +00:00
Richard M. Stallman
7cc3983fcb (del_range_2): Use adjust_markers_for_record_delete.
(adjust_markers_for_delete): Delete unused local coming_gap_size.
(adjust_markers_for_record_delete): New function.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, replace_range):
Use adjust_markers_for_record_delete.
1998-03-20 06:10:36 +00:00
Richard M. Stallman
171d003c94 (window_display_table): Don't look inside buffer if its nil. 1998-03-20 05:11:27 +00:00