1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

20616 Commits

Author SHA1 Message Date
Karl Heuer
d2ddb97469 Initial revision 1998-01-18 03:39:09 +00:00
Karl Heuer
d0ed5e526e (etags): Fix defgroup syntax. 1998-01-18 03:33:26 +00:00
Karl Heuer
fdbd7c4d62 (switch-to-completions): If no completions window,
don't try to switch to it.
1998-01-18 03:32:20 +00:00
Karl Heuer
afc070d1d4 (rmail): Unwind-protect call to rmail-get-new-mail. 1998-01-18 03:29:06 +00:00
Karl Heuer
df1e7b9120 (vc-finish-logentry): Move killing the log buffer after
the operation in case that fails.
1998-01-18 03:27:05 +00:00
Karl Heuer
798f4b0a3e (auto-mode-alist): Add vhdl-mode. 1998-01-18 03:21:25 +00:00
Karl Heuer
b3fd4d8f37 (STRING_BASE_SIZE): New macro.
(STRING_FULLSIZE): Use STRING_BASE_SIZE instead of the whole
size of struct Lisp_String.
(make_pure_string): Use STRING_FULLSIZE.
1998-01-18 03:19:14 +00:00
Karl Heuer
0f0a7f7cf4 (occur): If the matching line has no final newline,
insert one anyway.  Compensate for that when inserting line nums.
1998-01-18 02:53:16 +00:00
Richard M. Stallman
0c4b86dac8 Update copyright year. 1998-01-17 20:02:40 +00:00
Richard M. Stallman
ef1c82874d (ange-ftp-inodes-hashtable): New variable.
(ange-ftp-next-inode-number): New variable.
(ange-ftp-file-attributes): Assign each file a unique "inode number".
1998-01-17 19:44:51 +00:00
Richard M. Stallman
251680cf7d (Buffer-menu-mode-map): Bind e like f. 1998-01-17 19:43:15 +00:00
Stephen Eglen
db6c5b923d (hexl-follow-ascii): New function and variable to highlight the ASCII
character corresponding to the current element of the buffer.
1998-01-17 17:02:13 +00:00
Richard M. Stallman
0057b00a17 (Fspecial_display_p): Return the right value
when special-display-regexps specifies frame parameters.
1998-01-16 19:16:02 +00:00
Richard M. Stallman
a1d4421658 (mldrag-drag-vertical-line): Handle left-side scroll bars. 1998-01-16 19:11:33 +00:00
Richard M. Stallman
1354debd3f (Finsert_file_contents): When not decoding,
properly calculate number of chars in the text.
Fix error message.

(file_name_as_directory): Error if arg is empty.
(Fwrite_region): Don't flush the encoding buffer if failure is set.
1998-01-16 18:14:58 +00:00
Richard M. Stallman
92432794c1 (re_match_2_internal): Use SYNTAX_TABLE_BYTE_TO_CHAR.
(re_match_2_internal) <wordbeg, wordend>:
Call UPDATE_SYNTAX_TABLE properly with a charpos.
1998-01-16 17:56:40 +00:00
Richard M. Stallman
c292db29eb (SYNTAX_TABLE_BYTE_TO_CHAR): New macro.
(struct gl_state_s): New field `object'.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set it.
Handle non-current buffer properly.  Args renamed to all caps.
(SETUP_SYNTAX_TABLE): Set `object'.  Args renamed to all caps.
(UPDATE_SYNTAX_TABLE): Use gl_state.object.
(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.

(SETUP_SYNTAX_TABLE_FOR_OBJECT): Add gl_state.offset
when using the arg FROM.  Use BYTE_TO_CHAR.
1998-01-16 17:52:16 +00:00
Richard M. Stallman
f1e3ff8000 (global-auto-revert-ignore-buffer): Doc fix.
(global-auto-revert-mode): Fix message text.
1998-01-16 05:36:23 +00:00
Simon Marshall
24f86c2f5f Added Print submenu to Edit menu. 1998-01-15 16:17:36 +00:00
Simon Marshall
b9dd672d87 (c++-font-lock-extra-types): Add some container classes.
(c-font-lock-keywords-1): Use builtin face for preprocessor directives.
1998-01-15 16:11:00 +00:00
Dave Love
5c79a131c1 (lisp-font-lock-keywords-1): Add defmethod. 1998-01-12 18:54:01 +00:00
Kenichi Handa
d3b8a776ac (Fkey_description): Remember to set i_before.
and use it in all cases.
1998-01-12 12:52:55 +00:00
Oliver Seidel
6fe3681b00 Added patch from Don Hejna <djhejna@oasis.ambit.com>. 1998-01-12 11:43:22 +00:00
Kenichi Handa
7792090e89 (insert_from_string_1): Decrement GAP_SIZE by
outgoing_nbytes.
1998-01-12 05:49:45 +00:00
Kenichi Handa
28246d85b1 (push_key_description): If C >= 128, always use octal representation. 1998-01-12 05:49:45 +00:00
Kenichi Handa
21846016a4 (Fminibuffer_complete_word): Fix a bug of refering
`i'.  We must refer `i_byte' instead.
1998-01-12 05:49:45 +00:00
Kenichi Handa
470730a822 (concat): Check STRINGP before increasing result_len_byte. 1998-01-12 05:49:45 +00:00
Kenichi Handa
e68e61b5e0 Change "?\C-\ " to "?\C- " because "\ " is changed
to standing for nothing in lread.c (read_escape).
1998-01-12 05:48:48 +00:00
Dave Love
6e24ad221a (lm-get-package-name, lm-header,
lm-header-multiline, lm-summary, lm-version, lm-commentary):
Return string without properties.
(lm-get-header, lm-get-package-name, lm-crack-address,
lm-insert-at-column, lm-report-bug): Minor doc fixes.
1998-01-11 12:48:04 +00:00
Dave Love
a9d02884b4 (Fchar_valid_p): Fix bare newlines in doc string. 1998-01-11 12:26:21 +00:00
Richard M. Stallman
88bc3111a7 (Fcall_interactively): Allocate string by bytes.
Use message_with_string.
1998-01-09 23:33:09 +00:00
Richard M. Stallman
c872c6b297 (Fdirectory_files): Fix arg to compile_pattern. 1998-01-09 23:28:38 +00:00
Richard M. Stallman
5d967c7a10 (re_search_2): Fix call to CHAR_HEAD_P.
(re_match_2_internal): Use PTR_BYTE_POS and PT_BYTE.
1998-01-09 23:24:24 +00:00
Richard M. Stallman
e361a3c34d (x_load_font): Use string_byte. 1998-01-09 23:22:56 +00:00
Richard M. Stallman
0120fdf9e3 (lisp_data_to_selection_data): Use size_byte.
(Fx_store_cut_buffer_internal): Use size_byte.
(selection_data_to_lisp_data): Use make_multibyte_string.
1998-01-09 23:22:10 +00:00
Richard M. Stallman
0869c141aa (xmenu_show): Use size_byte of strings. 1998-01-09 23:21:17 +00:00
Richard M. Stallman
9f2a85b225 (x_create_bitmap_from_file): Use size_byte on strings.
(x_set_name, x_set_title, validate_x_resource_name): Likewise.
(Fx_get_resource, display_x_get_resource): Likewise.
(x_get_resource_string): Likewise.
1998-01-09 23:20:32 +00:00
Richard M. Stallman
0a9dc68b49 (message_dolog, message2): New arg MULTIBYTE.
Callers changed.
(message1, message1_nolog): String must be ASCII-only.
(message2, message2_nolog): Now static.
(x_consider_frame_title): Use size_byte.
(display_text_line): Likewise.
And scan Voverlay_arrow_string by bytes and chars.
(display_menu_bar): Call display_string with a byte size.
(display_mode_line): Call display_string with a byte size.
1998-01-09 23:19:42 +00:00
Richard M. Stallman
596ae0cfb6 (Fselect_window): Don't set OW->pointm if OW->buffer is nil.
(Fset_window_configuration): Set old selected window's pointm.
1998-01-09 23:18:35 +00:00
Richard M. Stallman
4101e6fea4 (skip_chars): Handle multibyte and unibyte strings
for either kind of buffer.  Scan string by bytes and chars.
1998-01-09 23:17:52 +00:00
Richard M. Stallman
a1b5012f8a (STRING_MULTIBYTE): New macro.
(struct lisp_String): New field size_byte.
1998-01-09 23:17:00 +00:00
Richard M. Stallman
f3ba54094e (describe_vector): Unconditionally handle multibyte chars.
(describe_vector): Pass new args to insert_from_string.
(Ftext_char_description): Use make_multibyte_string.
(Fkey_binding): Scan PREFIX a char at a time.
(Fkey_description): Scan KEYS by chars.
1998-01-09 23:16:01 +00:00
Richard M. Stallman
301738ed7b (echo_now): Use message2_nolog, not message1_nolog.
(Fexecute_extended_command): Likewise.
(read_char_minibuf_menu_prompt): Use message2_nolog, not message1.
(parse_modifiers): Use size_byte.
(echo_char): Use size_byte.
(parse_modifiers_uncached): Likewise.
(record_char): Likewise.
(parse_solitary_modifier): Likewise.
(read_char): Use Faref on Vkeyboard_translate_table
if it is a string.
(apply_modifiers_uncached): New arg base_len_byte.  Calls changed.
(read_char_minibuf_menu_prompt):
(read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE.
(Fexecute_extended_command): Use Faref to access FUNCTION.
Use size_byte of BINDING.
(stuff_buffered_input): Use size_byte of STUFFSTRING.
1998-01-09 23:14:38 +00:00
Richard M. Stallman
e34c5c7daf (set_term_frame_name): Use size_byte. 1998-01-09 23:13:22 +00:00
Richard M. Stallman
60d67b83f2 (Fdo_auto_save): Save and restore multibyteness of minibuffer.
(Fwrite_region): Use message_with_string.
(auto_save_error, Fdo_auto_save): Likewise.
(Ffile_name_directory): Maybe use make_unibyte_string.
(Ffile_name_nondirectory): Likewise.
(Fsubstitute_in_file_name): Convert substituted envvars to multibyte
if necessary.  Otherwise use make_unibyte_string.
(Finsert_file_contents): Use make_unibyte_string.
(double_dollars): Use make_uninit_multibyte_string.
1998-01-09 23:12:05 +00:00
Richard M. Stallman
f6fe7bb508 (main): Pass new arg to message_dolog. 1998-01-09 23:10:20 +00:00
Richard M. Stallman
141199d1f6 Include charset.h.
(Fsubstitute_command_keys): Scan by bytes.
1998-01-09 23:08:46 +00:00
Richard M. Stallman
94f3db6251 (Fsend_string_to_terminal): Use size_byte. 1998-01-09 23:07:47 +00:00
Richard M. Stallman
25638b0794 (Fmultibyte_string_p): New function.
(Faref): Index string by chars.
(Faset): Index multibyte string by chars.
1998-01-09 23:06:13 +00:00
Richard M. Stallman
5f1cd180aa (code_convert_string): Maybe use make_unibyte_string. 1998-01-09 23:05:12 +00:00