bpt/emacs.git
27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:57:46 +0000 (06:57 +0000)]
Include charset.h.
(allocate_face, copy_face, face_eq1): Handle member `fontset' of
struct face, i.e. initialize, copy, and check it.
(intern_face, clear_face_cache): Handle member `non_ascii_gc' of
struct face, i.e. initialize and free it.
(free_frame_faces): Unload font only when fontset is not used.
Free non_ascii_gc.
(frame_update_line_height, merge_faces, compute_base_face): Handle
fontset.
(recompute_base_faces): Free non_ascii_gc.
(Fset_face_attribute_internal): Handle fontset.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:57:21 +0000 (06:57 +0000)]
Include charset.h and coding.h.
(TS_end_italic_mode, TS_italic_mode, TS_bold_mode): New variables.
(TS_end_bold_mode, TS_end_underscore_mode): New variables.
(TS_underscore_mode): New variable.
(encode_terminal_code): New function.
(write_glyphs, insert_glyphs): Perform character code conversion
on output to a terminal.
(term_init): Initialize TS_bold_mode, TS_end_bold_mode,
TS_end_underscore_mode, and TS_underscore_mode.

27 years ago(SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
Karl Heuer [Thu, 20 Feb 1997 06:57:02 +0000 (06:57 +0000)]
(SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
characters.
(SYNTAX_ENTRY_FOLLOW_PARENT): New macro.
(SYNTAX_ENTRY): Handle syntax of multibyte characters.
(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Don't signal error even
if a syntax entry is not cons.

27 years agoInclude charset.h and category.h.
Karl Heuer [Thu, 20 Feb 1997 06:56:29 +0000 (06:56 +0000)]
Include charset.h and category.h.
(Vsyntax_code_object): New variable.
(Fmodify_syntax_entry): Handle multibyte characters.  A multibyte
character in matching parenthesis is also handled correctly.  Use
shared object in the vector Vsyntax_code_object for an ASCII
character.
(describe_syntax): Handle a multibyte character in matching
parenthesis.
(describe_syntax_1): Describe also parent syntax tables.
(scan_words, Fforward_comment): Handle multibyte characters.
(scan_lists, char_quoted, Fbackward_prefix_chars): Likewise.
(scan_sexps_forward): Likewise.
(init_syntax_once): Initialize Vsyntax_code_object.
Initialize Vstandard_syntax_table by share objects in
Vsyntax_code_object.
(syms_of_syntax): Staticpro Vsyntax_code_object.

27 years ago(BASE_PURESIZE): Increase.
Karl Heuer [Thu, 20 Feb 1997 06:54:58 +0000 (06:54 +0000)]
(BASE_PURESIZE): Increase.

27 years ago(struct Lisp_Process): New members
Karl Heuer [Thu, 20 Feb 1997 06:54:35 +0000 (06:54 +0000)]
(struct Lisp_Process): New members
decode_coding_system, decoding_buf, encode_coding_system, and
encoding_buf.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:53:55 +0000 (06:53 +0000)]
Include charset.h and coding.h.
(proc_decode_coding_system, proc_encode_coding_system): New
variables.
(Fstart_process, create_process, Fopen_network_stream): Setup
coding systems for character code conversion.
(READ_CHILD_OUTPUT): New macro.
(read_process_output): Perform character code conversion of a
process output.
(send_process): Perform character code conversion of a text sent
to a process.
(Fset_process_coding_system, Fprocess_coding_system): New
functions.
(syms_of_process): Handle them.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:53:20 +0000 (06:53 +0000)]
Include charset.h.
(printchar, strout): Handle multibyte characters.
(print): Correct the value of size_in_chars of a bool vector.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:52:47 +0000 (06:52 +0000)]
Include charset.h.
(read_minibuf): Pay attention to multibyte characters in the arg
INITIAL while handling the arg BACKUP_N.
(scmp, Fminibuffer_complete_word): Handle multibyte characters.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:52:14 +0000 (06:52 +0000)]
Include charset.h.
(Vload_source_file_function): New variable.
(Fload): Call Vload_source_file_function if defined while loading
an Emacs Lisp source file.  */
(read_multibyte): New function.
(read_escape): Handle multibyte characters.
(read1): Correct the value of size_in_chars of a bool vector.
Handle the case `?' is followed by a multibyte character.
(Vload_source_file_function): New variable.

27 years ago(CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
Karl Heuer [Thu, 20 Feb 1997 06:51:43 +0000 (06:51 +0000)]
(CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
(GLYPH_MASK_PADDING, GLYPH_MASK_FACE, GLYPH_MASK_CHAR): New macros.
[HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
Use CHARACTERBITS.
[!HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
New macros.
[!HAVE_FACES] (GLYPH_CHAR, GLYPH_FACE): Mask appropriate bits.
(Fcoding_system_p, Fcheck_coding_system): Declare external.
(Fread_coding_system, Fread_non_nil_coding_system): Likewise.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:51:14 +0000 (06:51 +0000)]
Include charset.h.
(push_key_description): If enable-multibyte-characters is t, use
octal representation for a code of range 128..255 as binary.
(Ftext_char_description): Handle multibyte characters.
(describe_vector): Provide prettier description of a char table
which contains multibyte characters.

27 years ago(command_loop_1): Pay attention to a multibyte
Karl Heuer [Thu, 20 Feb 1997 06:50:30 +0000 (06:50 +0000)]
(command_loop_1): Pay attention to a multibyte
character while handling forward-char and backward-char.
[!HAVE_NTGUI && XK_kana_A] (lispy_kana_keys): New variable.
[!HAVE_NTGUI] (lispy_function_keys): New variable.
(make_lispy_event) [XK_kana_A]: Handle kana keys.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:50:03 +0000 (06:50 +0000)]
Include charset.h.
(gap_left, gap_right): Put an anchor `\0' at the end of GAP.
(adjust_markers_for_insert): If any markers are adjusted, check
and fix the order of overlays in overlays_before.
(make_gap): Allocate an extra byte and set to `\0' for anchoring.
(insert1, insert_from_buffer_1): Put an anchor `\0' at the head of
GAP.

27 years ago(struct frame): New member `fontset_data'.
Karl Heuer [Thu, 20 Feb 1997 06:49:29 +0000 (06:49 +0000)]
(struct frame): New member `fontset_data'.
(FRAME_MESSAGE_BUF_SIZE): New macro.

27 years agoInclude "charset.h"
Karl Heuer [Thu, 20 Feb 1997 06:49:05 +0000 (06:49 +0000)]
Include "charset.h"
[HAVE_WINDOW_SYSTEM]: Include fontset.h.
(make_frame): Allocate member `fontset_data' of the struct frame.
(Fdelete_frame): Free the area for the member.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:48:37 +0000 (06:48 +0000)]
Include charset.h.
(Fchar_to_string, Fstring_to_char): Handle multibyte characters.
(Fsref): New function.
(Fgoto_char): Force point to be at a character boundary.
(Ffollowing_char, Fpreceding_char): Handle multibyte characters.
(Fchar_after): Handle multibyte characters.
(Fchar_before): New function.
(general_insert_function): New function.
(Finsert, Finsert_and_inherit, Finsert_before_markers): Use it.
(Finsert_char): Doc-string refer to markers of
before-insertion-type. Handle multibyte characters.
(Fsubst_char_in_region): Handle multibyte characters.
(Fchar_equal): Don't consider `case' of multibyte characters.
(syms_of_editfns): Handle the new function `char-before'.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:48:14 +0000 (06:48 +0000)]
Include charset.h.
(doprn1): Handle multibyte characters.

27 years ago(DISP_CHAR_VECTOR): Always return nil for multibyte
Karl Heuer [Thu, 20 Feb 1997 06:47:55 +0000 (06:47 +0000)]
(DISP_CHAR_VECTOR): Always return nil for multibyte
characters.

27 years ago(struct face): New members `non_ascii_gc' and
Karl Heuer [Thu, 20 Feb 1997 06:47:37 +0000 (06:47 +0000)]
(struct face): New members `non_ascii_gc' and
`fontset'.
[HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:47:04 +0000 (06:47 +0000)]
Include charset.h.
(Qprocess): Now extern, not static.
(Faref, Faset): Enable indexing a char table by a multibyte
character.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:46:40 +0000 (06:46 +0000)]
Include charset.h.
(forward_point, Fforward_point): New functions.
(Fforward_char, Fdelete_char): Handle multibyte characters by
calling forward_point.
(Fdelete_backward_char): Pay attention to multibyte characters
in overwrite-mode.
(internal_self_insert): Handle self inserting a multibyte
character.
(syms_of_cmds): Handle the new function Fforward_point.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:46:14 +0000 (06:46 +0000)]
Include charset.h and coding.h.
(Fcall_process): Perform character code conversion of a process
arguments and the process output.
(Fcall_process_region): Encode coding of a text given to a
process.

27 years ago(doc-string of `interactive'): Describe new code
Karl Heuer [Thu, 20 Feb 1997 06:45:50 +0000 (06:45 +0000)]
(doc-string of `interactive'): Describe new code
letters `i', `z', and `Z'.
(Fcall_interactively): Handle them.

27 years ago(BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
Karl Heuer [Thu, 20 Feb 1997 06:45:13 +0000 (06:45 +0000)]
(BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
(Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros.
(struct buffer): New members `category_table',
`direction_reserved', and `enable-multibyte-characters'.
(POS_ADDR): New macro used at all places instead of &FETCH_CHAR.
(FETCH_BYTE): New macro used at any places to check the argument
against an ASCII character.
(FETCH_MULTIBYTE_CHAR): New macro used at any places to get a
character code of the argument when it is known to be a multibyte
character.
(_fetch_multibyte_char_p, _fetch_multibyte_char_len): New
variables.
(FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:44:32 +0000 (06:44 +0000)]
Include charset.h.
(Fget_buffer_create): Allocate an extra byte for a buffer, and
make it always 0 for anchoring.
(reset_buffer): Handle a new member `enable_multibyte_characters'
in the struct buffer.
(fix_overlay_before): New function.
(init_buffer_once): Handle new members in the struct buffer.
(syms_of_buffer): Declare new buffer local variables
`enable-multibyte-characters' and `direction-reserved'.

27 years ago(Fmake_char_table): Typo in doc-string fixed. Handle
Karl Heuer [Thu, 20 Feb 1997 06:43:51 +0000 (06:43 +0000)]
(Fmake_char_table): Typo in doc-string fixed.  Handle
the case that PURPOSE is nil (in a deeper char-table).
(Fmake_bool_vector): Make correct size of Lisp_Object for
bool-vector.

27 years agoThe following changes are for new source codes related to Mule.
Karl Heuer [Thu, 20 Feb 1997 06:43:16 +0000 (06:43 +0000)]
The following changes are for new source codes related to Mule.
(XOBJ): Include fontset.o.
(obj): Include charset.o, coding.o, category.o, and ccl.o.
(lisp, shortlisp): Include Mule related elc files.
(buffer.o, cmds.o, dispnew.o, doprnt.o): Depend on charset.h.
(editfns.o, indent.o, insdel.o, keymap.o): Depend on charset.h.
(minibuf.o, xdips.o, xfaces.o, xselect.o): Depend on charset.h.
(data.o, print.o, lread.o): Depend on charset.h.
(callproc.o, fileio.o, process.o, term.o): Depend on charset.h and
coding.h.
(regex.o, search.o, syntax.o): Depend on charset.h and category.h.
(fontset.o): Depend on charset.h and fontset.h.
(xterm.o): Depend on charset.h, ccl.h, and fontset.h.
(category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.

27 years ago(Fpos_visible_in_window_p): Bug fix. Specify big
Karl Heuer [Thu, 20 Feb 1997 06:42:13 +0000 (06:42 +0000)]
(Fpos_visible_in_window_p): Bug fix.  Specify big
negative number for the argument TOHPOS of compute_motion().
We don't need to calculate to (HPOS==0), but can stop immediately
when VPOS pasts HEIGHT.

27 years ago(struct position): New member tab_offset to accumulate tab offset.
Karl Heuer [Thu, 20 Feb 1997 06:41:36 +0000 (06:41 +0000)]
(struct position): New member tab_offset to accumulate tab offset.

27 years ago(display_text_line): Introduce new local variable
Karl Heuer [Thu, 20 Feb 1997 06:40:53 +0000 (06:40 +0000)]
(display_text_line): Introduce new local variable
rev_dir_bit to display right to left characters (not yet used).

(message): Use FRAME_MESSAGE_BUF_SIZE().
(redisplay_internal): Add canceling code for continuation at
wide-column.
(display_text_line): Don't just decrement left_edge->bufpos,
it may be multi-byte character, use DEC_POS instead.

(try_window): Change the way of calculation of tab
offset.  We now use val.tab_offset to maintain tab offset.
Removed local variable tab_offset.
(try_window_id): Likewise.

(pos_tab_offset): Return COL (Modulo is no longer valid).
Add the line to set tab_offset member.
Use pos.tab_offset.

(redisplay_window): Specify big negative number for TOHPOS
of compute_motion().
(try_window_id): Likewise.

(tri_window_id): Specify "1 << (BITS_PER_SHORT - 1)" to
express "Don't care".

Include charset.h, coding.h, and process.h.
(display_text_line): Handle multibyte characters.
(display_mode_line): Pay attention to wide-column characters.
(decode_mode_spec_coding): New function.
(decode_mode_spec): Handle %-constructs `%z' and `%Z' to print
coding system mnemonics.
(display_string): Handle multibyte characters.

27 years ago(current_column_bol_cache): New variable. This makes
Karl Heuer [Thu, 20 Feb 1997 06:39:27 +0000 (06:39 +0000)]
(current_column_bol_cache): New variable.  This makes
move_to_column faster.
(current_column): Set current_column_bol_cache.
(current_column_1): Likewise.
(Fmove_to_column): Use current_column_bol_cache.

(current_column): When the buffer may have multi-byte
characters, call current_column_1.
(compute_motion): Handle multi-byte characters.
(current_column_1): Likewise.
(Fmove_to_column): Likewise.

Include "charset.h".
(compute_motion): Remove the variable PREV_VPOS.
Introduce new local variables (multibyte, wide_column, prev_pos,
contin_hpos, prev_tab_offset) to handle multi-byte characters and
wide-column characters.

(pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))"
to express big negative number (for consistency with xdisp.c).

(vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to
express "Don't care".

27 years ago(direct_output_forward_char): #if-0-out redundant
Karl Heuer [Thu, 20 Feb 1997 06:35:00 +0000 (06:35 +0000)]
(direct_output_forward_char): #if-0-out redundant
check against truncated text at end of line.
Add giving-up for buffers with reverse direction.
(remake_frame_glyphs): Use FRAME_MESSAGE_BUF_SIZE()
instead of FRAME_WIDTH, as the message may include multi-byte
character and the length may be longer than width.
(width_run_cache_on_off): Disable width-run-cache when
multi-byte characters are enabled.
(skip_invisible): Don't put the boundary in the middle of
multibyte characters.

(direct_output_forward_char): Bug fix.  Add
XFASTINT (w->left) for losing cursor check.

Include charset.h.
(update_line): Handle wide-column characters.

27 years agoRequire fontset. Create fontsets from
Karl Heuer [Thu, 20 Feb 1997 05:51:26 +0000 (05:51 +0000)]
Require fontset.  Create fontsets from
default-fontset-spec, X resources, and "-fn" command line
argument.

27 years ago(sendmail-coding-system): New variable.
Karl Heuer [Thu, 20 Feb 1997 05:50:19 +0000 (05:50 +0000)]
(sendmail-coding-system): New variable.
(sendmail-send-it): Perform code conversion on sending mail
according to sendmail-coding-system.

27 years ago(x-get-selection): Set default data-type of selection
Karl Heuer [Thu, 20 Feb 1997 05:49:58 +0000 (05:49 +0000)]
(x-get-selection): Set default data-type of selection
to COMPOUND_TEXT.
(selection-converter-alist): Add an entry for COMPOUND_TEXT.

27 years ago(rmail-file-coding-system): New variable.
Karl Heuer [Thu, 20 Feb 1997 05:49:08 +0000 (05:49 +0000)]
(rmail-file-coding-system): New variable.
(rmail-insert-inbox-text): Perform character code conversion
according to rmail-file-coding-system.
(rmail-only-expunge): Pay attention to multibyte characters.

27 years ago(occur): Pay attention to multibyte characters.
Karl Heuer [Thu, 20 Feb 1997 05:48:39 +0000 (05:48 +0000)]
(occur): Pay attention to multibyte characters.

27 years ago(show-paren-function): Handle multibyte characters.
Karl Heuer [Thu, 20 Feb 1997 05:48:19 +0000 (05:48 +0000)]
(show-paren-function): Handle multibyte characters.

27 years ago(mouse-set-font): Handle fontset.
Karl Heuer [Thu, 20 Feb 1997 05:47:42 +0000 (05:47 +0000)]
(mouse-set-font): Handle fontset.

27 years agoLoad mule specific files.
Karl Heuer [Thu, 20 Feb 1997 05:47:23 +0000 (05:47 +0000)]
Load mule specific files.

27 years ago(isearch-mode-map): Define
Karl Heuer [Thu, 20 Feb 1997 05:46:22 +0000 (05:46 +0000)]
(isearch-mode-map): Define
isearch-toggle-input-method and
isearch-toggle-specified-input-method in the map.
(isearch-multibyte-characters-flag): New variable.
(isearch-mode): Initialize it to nil.
(isearch-printing-char): Handle multibyte characters.
(isearch-message-prefix): Include title of input method if
necessary in the prefix of message.

27 years ago(help-with-tutorial): Prefix argument to specify a
Karl Heuer [Thu, 20 Feb 1997 05:45:01 +0000 (05:45 +0000)]
(help-with-tutorial): Prefix argument to specify a
language interactively.

27 years ago(find-file, find-file-other-window,
Karl Heuer [Thu, 20 Feb 1997 05:44:24 +0000 (05:44 +0000)]
(find-file, find-file-other-window,
find-file-read-only, find-file-read-only-other-window,
find-file-read-only-other-frame, find-alternate-file-other-window,
find-alternate-file): With a prefix argument, enable users to
specify a coding system interactively.
(find-file-noselect): Describe optional arguments NOWARN and
RAWFILE in the doc-string.
(write-file, insert-file, append-to-file): Accept a prefix
argument to enable users to specify a coding system interactively.
(revert-buffer): Read an auto-saved file without any code
conversion.

27 years ago(debugger-mode): Disable multibyte character handling
Karl Heuer [Thu, 20 Feb 1997 05:41:01 +0000 (05:41 +0000)]
(debugger-mode): Disable multibyte character handling
in Debugger mode.

27 years ago(byte-compile-file): Write a compiled file without
Karl Heuer [Thu, 20 Feb 1997 05:40:01 +0000 (05:40 +0000)]
(byte-compile-file): Write a compiled file without
any code conversion.

27 years ago(update-file-autoloads): Read loaddefs.el without
Karl Heuer [Thu, 20 Feb 1997 05:39:18 +0000 (05:39 +0000)]
(update-file-autoloads): Read loaddefs.el without
any code conversion.

27 years ago(nnheader-insert-head): Handle the case that the
Karl Heuer [Thu, 20 Feb 1997 05:38:08 +0000 (05:38 +0000)]
(nnheader-insert-head): Handle the case that the
length of header is changed because of code conversion.

27 years ago(kill-forward-chars, kill-backward-chars): Pay
Karl Heuer [Thu, 20 Feb 1997 05:35:12 +0000 (05:35 +0000)]
(kill-forward-chars, kill-backward-chars): Pay
attention to multibyte characters.
(what-cursor-position): With a prefix argument, print detailed
info of a character on cursor position.
(transpose-subr-1): Pay attention to multibyte characters.

(do-auto-fill): Handle `kinsoku' processing.

27 years ago(do-kinsoku): New variable.
Karl Heuer [Thu, 20 Feb 1997 05:33:51 +0000 (05:33 +0000)]
(do-kinsoku): New variable.
(fill-region-as-paragraph): Handle `kinsoku' processing.

27 years ago(compile-mouse-goto-error): Move to end of line
Eli Zaretskii [Wed, 19 Feb 1997 15:48:50 +0000 (15:48 +0000)]
(compile-mouse-goto-error): Move to end of line
before calling `compile-reinitialize-errors', so that it always
sees the entire filename.

27 years ago(eldoc-message-commands): Doc fixes.
Noah Friedman [Wed, 19 Feb 1997 10:24:26 +0000 (10:24 +0000)]
(eldoc-message-commands): Doc fixes.

(eldoc-message): Make function, not macro.

(eldoc-last-message): New internal variable.
(eldoc-mode): Initialize it to nil.
(eldoc-message): Use it.
(eldoc-print-current-symbol-info): Use it.

(eldoc-pre-command-refresh-echo-area): New function.
(eldoc-mode): Put it on pre-command-hook if in XEmacs or using idle timers
in Emacs.

(eldoc-message-commands-table-size): New constant.
(eldoc-add-command): Use it to initialize eldoc-message-commands.

(eldoc-display-message-no-interference-p): New function.
(eldoc-display-message-p): Use it.

(eldoc-print-fnsym-args, eldoc-print-var-docstring): Arg sym no longer
optional.
Do not initialize arg if nil.

(eldoc-forward-sexp-safe): Function deleted.
(eldoc-beginning-of-sexp): New function.
(eldoc-fnsym-in-current-sexp): Use eldoc-beginning-of-sexp.
Use eldoc-current-symbol to get symbol at point.

(eldoc-function-argstring-from-docstring-method-table): Forge docstrings
for `and', `or', `list', `+', and `-'.

(eldoc-add-command-completions): New function.
(eldoc-add-command): Take list of args.
No longer interactive.

(eldoc-remove-command-completions): New function.
(eldoc-remove-command): Take list of args.
No longer interactive.

top level: Initialize eldoc-message-commands using
eldoc-add-command-completions.

27 years ago(update-autoloads-from-directory): Get absolute file names from
Roland McGrath [Mon, 17 Feb 1997 21:44:59 +0000 (21:44 +0000)]
(update-autoloads-from-directory): Get absolute file names from
directory-files, and expand generated-autoload-file.  Subdirs happy now.

27 years agoDelete duplicate inclusion of fcntl.h
Karl Heuer [Fri, 14 Feb 1997 00:07:22 +0000 (00:07 +0000)]
Delete duplicate inclusion of fcntl.h
and duplicate #undefs of open, read, write, close.

27 years ago(vc-do-command): If OKSTATUS is nil, ignore errors.
Richard M. Stallman [Mon, 10 Feb 1997 20:43:37 +0000 (20:43 +0000)]
(vc-do-command): If OKSTATUS is nil, ignore errors.
(vc-backend-release): For RCS, pass nil for OKSTATUS.

27 years ago(scan_lists): Signal errors using scan-error.
Richard M. Stallman [Mon, 10 Feb 1997 09:47:12 +0000 (09:47 +0000)]
(scan_lists): Signal errors using scan-error.
(syms_of_syntax): Set up Qscan_error.

27 years ago(Fminibuffer_message): New function.
Richard M. Stallman [Mon, 10 Feb 1997 09:46:16 +0000 (09:46 +0000)]
(Fminibuffer_message): New function.
(syms_of_minibuf): Set up Lisp function.

27 years ago(isearch-search): Refuse to match invisible text.
Richard M. Stallman [Mon, 10 Feb 1997 09:41:31 +0000 (09:41 +0000)]
(isearch-search): Refuse to match invisible text.
(isearch-range-invisible): New function.
(search-invisible): New user option.

27 years ago(mouse-buffer-menu): Group buffers by major modes if that seems to be useful.
Richard M. Stallman [Mon, 10 Feb 1997 00:10:16 +0000 (00:10 +0000)]
(mouse-buffer-menu): Group buffers by major modes if that seems to be useful.
(mouse-buffer-menu-mode-groups): New variable.
(mouse-buffer-menu-alist, mouse-buffer-menu-split): New subroutines
broken out of mouse-buffer-menu.

27 years ago(rmail-sort-messages): Preserve point
Richard M. Stallman [Mon, 10 Feb 1997 00:08:51 +0000 (00:08 +0000)]
(rmail-sort-messages): Preserve point
with respect to the the current message.

27 years agoFix previous change.
Karl Heuer [Sun, 9 Feb 1997 23:02:19 +0000 (23:02 +0000)]
Fix previous change.

27 years ago(compare-windows): Make more efficient use of
Karl Heuer [Sun, 9 Feb 1997 22:55:17 +0000 (22:55 +0000)]
(compare-windows): Make more efficient use of
result from compare-buffer-substrings.

27 years ago* (compilation-process-setup-function): New variable.
Eli Zaretskii [Sun, 9 Feb 1997 16:03:50 +0000 (16:03 +0000)]
* (compilation-process-setup-function): New variable.
(compile-internal): Call compilation-process-setup-function if
it is non-nil.

27 years ago* (diff-process-setup): New function, sets up the
Eli Zaretskii [Sun, 9 Feb 1997 15:57:11 +0000 (15:57 +0000)]
* (diff-process-setup): New function, sets up the
compilation-exit-message-function so that it works with both
asynchronous and synchronous sub-processes.
(diff): Bind compilation-exit-message-function.  Run
compilation-finish-function when compile-internal returns if async
processes aren't supported.

27 years ago(define-derived-mode): Add derived-mode-parent
Richard M. Stallman [Sat, 8 Feb 1997 20:17:04 +0000 (20:17 +0000)]
(define-derived-mode): Add derived-mode-parent
property to the defived mode command name.

27 years ago(change_window_height): Take size from multiple siblings,
Richard M. Stallman [Sat, 8 Feb 1997 18:34:53 +0000 (18:34 +0000)]
(change_window_height): Take size from multiple siblings,
nearest ones first, when that can be done without deleting any of them.

27 years agoHandle multiple Info buffers.
Richard M. Stallman [Sat, 8 Feb 1997 18:34:21 +0000 (18:34 +0000)]
Handle multiple Info buffers.
(Info-tag-table-marker): Initialize to nil.
(Info-tag-table-buffer): New variable.
(Info-find-node): Don't switch buffers if already in Info mode.
Use Info-tag-table-buffer to support multiple Info buffers.
(Info-read-subfile): Don't switch to *info* buffer.
(Info-build-node-completions): Handle buffer local bindings for
Info-tag-table-marker.
(Info-search): Add a save-excursion.
(Info-mode): Make Info-tag-table-buffer buffer-local.
Make a different marker in Info-tag-table-marker for each buffer.
(Info-kill-buffer): New function, on kill-buffer-hook.

27 years ago(scroll_preserve_screen_position): New variable.
Richard M. Stallman [Sat, 8 Feb 1997 15:50:17 +0000 (15:50 +0000)]
(scroll_preserve_screen_position): New variable.
(keys_of_window): Set up Lisp var.
(window_scroll): If scroll_preserve_screen_position is 0,
behave the old way (advancing point the minimum distance).

27 years ago(auto-show-mode): Doc fix.
Richard M. Stallman [Thu, 6 Feb 1997 23:23:32 +0000 (23:23 +0000)]
(auto-show-mode): Doc fix.

27 years ago(Feval_buffer): Doc fix.
Richard M. Stallman [Thu, 6 Feb 1997 09:13:29 +0000 (09:13 +0000)]
(Feval_buffer): Doc fix.

27 years ago(edmacro-parse-keys): Remove redundant test for ?.
Erik Naggum [Wed, 5 Feb 1997 01:33:07 +0000 (01:33 +0000)]
(edmacro-parse-keys): Remove redundant test for ?.

27 years ago(file-relative-name): Protect the match-data.
Erik Naggum [Wed, 5 Feb 1997 01:32:44 +0000 (01:32 +0000)]
(file-relative-name): Protect the match-data.

27 years ago(eldoc-display-message-p): New function.
Noah Friedman [Tue, 4 Feb 1997 18:21:29 +0000 (18:21 +0000)]
(eldoc-display-message-p): New function.
Return nil if cursor-in-echo-area, or using idle timers and a command
is still active.

(eldoc-print-current-symbol-info): Use eldoc-display-message-p.

27 years ago(Man-init-defvars): Fix case in a char set range.
Richard M. Stallman [Tue, 4 Feb 1997 17:42:19 +0000 (17:42 +0000)]
(Man-init-defvars): Fix case in a char set range.

27 years ago(Man-build-man-command): When async processes aren't
Eli Zaretskii [Mon, 3 Feb 1997 18:02:26 +0000 (18:02 +0000)]
(Man-build-man-command): When async processes aren't
supported, don't redirect stderr via the shell.
(Man-getpage-in-background, Man-bgproc-sentinel): Support for
systems where async processes don't work.

27 years ago(dired-rename-file): Pass new arg to set-visited-file-name.
Richard M. Stallman [Mon, 3 Feb 1997 09:45:27 +0000 (09:45 +0000)]
(dired-rename-file): Pass new arg to set-visited-file-name.

27 years ago(set-visited-file-name): New arg ALONG-WITH-FILE.
Richard M. Stallman [Mon, 3 Feb 1997 09:42:56 +0000 (09:42 +0000)]
(set-visited-file-name): New arg ALONG-WITH-FILE.

27 years ago(rmail-ignored-headers): Add Delivered-to: header.
Richard M. Stallman [Mon, 3 Feb 1997 06:55:50 +0000 (06:55 +0000)]
(rmail-ignored-headers): Add Delivered-to: header.

27 years agoUpdate copyright notice to reflect assignment to FSF and incorporation
Noah Friedman [Mon, 3 Feb 1997 06:13:34 +0000 (06:13 +0000)]
Update copyright notice to reflect assignment to FSF and incorporation
into Emacs.

Attempt to load `timer'.

(eldoc-idle-delay): Make defconst.
(eldoc-minor-mode-string): Make defconst.
(eldoc-argument-case): Make defconst.

(eldoc-message-commands): Renamed from eldoc-mode-message-commands.
All callers changed.
Add `mouse-set-point' as a default candidate.

(eldoc-use-idle-timer-p): New constant.
(eldoc-timer): New variable.
(eldoc-current-idle-delay): New variable.
(eldoc-schedule-timer): New function.
(eldoc-mode): Use idle timers if supported.

(eldoc-add-command): Provide completion on interactive commands only, not
all bound functions.

(eldoc-print-current-symbol-info): Renamed from
eldoc-mode-print-current-symbol-info.  All callers changed.
Check whether using idle timers or being run from post-command hooks.
Use `executing-kbd-macro' instead of `executing-macro'.

(eldoc-print-fnsym-args): Don't make interactive.
Cache current symbol name in eldoc-last-data; it was forgetting to do this
previously.
If subr args cannot be determined, show single-line docstring for it instead.

(eldoc-docstring-message): New function.
(eldoc-print-docstring): New function.
(eldoc-print-var-docstring): Use them.

(eldoc-function-argstring-from-docstring-method-table): New constant.
(eldoc-function-argstring-from-docstring): Use it.

27 years ago(main): Don't extend stack limit too far.
Richard M. Stallman [Mon, 3 Feb 1997 02:51:09 +0000 (02:51 +0000)]
(main): Don't extend stack limit too far.

27 years agodos_rawgetc: When international keyboard doesn't have
Eli Zaretskii [Sun, 2 Feb 1997 15:41:27 +0000 (15:41 +0000)]
dos_rawgetc: When international keyboard doesn't have
to be supported, recognize Alt-key combinations even if the Alt
key is no longer pressed.

27 years ago(Vx_resource_class): New variable.
Richard M. Stallman [Sun, 2 Feb 1997 09:51:09 +0000 (09:51 +0000)]
(Vx_resource_class): New variable.
(syms_of_xfns): Set up Lisp variable.
(Fx_get_resource, x_window): Use Vx_resource_class.
(validate_x_resource_name): Ensure Vx_resource_class is a string.

27 years agoDelete the Spell-emulator task.
Richard M. Stallman [Sun, 2 Feb 1997 02:04:11 +0000 (02:04 +0000)]
Delete the Spell-emulator task.

27 years agoUndo lastupdate change.
Richard M. Stallman [Sun, 2 Feb 1997 02:03:41 +0000 (02:03 +0000)]
Undo lastupdate change.

27 years ago(set-frame-font): Renamed from set-default-font,
Richard M. Stallman [Sun, 2 Feb 1997 01:53:27 +0000 (01:53 +0000)]
(set-frame-font): Renamed from set-default-font,

27 years agoautomatically generated from GPLed version
Paul Eggert [Sun, 2 Feb 1997 01:50:06 +0000 (01:50 +0000)]
automatically generated from GPLed version

27 years ago(dirtrack-debug-message): Put output at end of buffer.
Richard M. Stallman [Sat, 1 Feb 1997 20:26:01 +0000 (20:26 +0000)]
(dirtrack-debug-message): Put output at end of buffer.
(dirtrack): Check that directory exists before trying to cd to it.
Go to point-max (not comint-last-output-start) before looking for
the prompt.

27 years ago(dired-guess-shell-alist-default): Make .eps
Richard M. Stallman [Sat, 1 Feb 1997 20:02:16 +0000 (20:02 +0000)]
(dired-guess-shell-alist-default): Make .eps
extension act like .ps extension.

27 years ago(rmail-reply): Concatenate all the References headers.
Richard M. Stallman [Sat, 1 Feb 1997 19:14:49 +0000 (19:14 +0000)]
(rmail-reply): Concatenate all the References headers.

27 years ago(set-fill-column): Print the old value too.
Richard M. Stallman [Sat, 1 Feb 1997 02:19:14 +0000 (02:19 +0000)]
(set-fill-column): Print the old value too.

27 years agoWhitespace change.
Richard M. Stallman [Sat, 1 Feb 1997 01:39:11 +0000 (01:39 +0000)]
Whitespace change.

27 years ago(sendmail-user-agent): Insert all the OTHER-HEADERS.
Richard M. Stallman [Fri, 31 Jan 1997 20:44:12 +0000 (20:44 +0000)]
(sendmail-user-agent): Insert all the OTHER-HEADERS.

27 years agoFix bug that caused crash on certain tags with parameters
Boris Goldowsky [Fri, 31 Jan 1997 19:53:54 +0000 (19:53 +0000)]
Fix bug that caused crash on certain tags with parameters

27 years ago(rmail-reply): Copy all the References: headers
Richard M. Stallman [Fri, 31 Jan 1997 09:35:39 +0000 (09:35 +0000)]
(rmail-reply): Copy all the References: headers
from the original message.

27 years ago(mail-fetch-field): New arg LIST.
Richard M. Stallman [Fri, 31 Jan 1997 09:34:45 +0000 (09:34 +0000)]
(mail-fetch-field): New arg LIST.

27 years ago(edmacro-parse-keys): Don't treat C-. or C-? as ASCII control char.
Richard M. Stallman [Fri, 31 Jan 1997 07:48:16 +0000 (07:48 +0000)]
(edmacro-parse-keys): Don't treat C-. or C-? as ASCII control char.

27 years ago(compilation-enter-directory-regexp)
Richard M. Stallman [Fri, 31 Jan 1997 06:17:06 +0000 (06:17 +0000)]
(compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Add .* at beginning.

27 years ago(ps-print-header): Doc fix.
Richard M. Stallman [Thu, 30 Jan 1997 22:17:33 +0000 (22:17 +0000)]
(ps-print-header): Doc fix.

27 years ago(load-save-place-alist-from-file): Delete spurious t's.
Richard M. Stallman [Tue, 28 Jan 1997 22:22:10 +0000 (22:22 +0000)]
(load-save-place-alist-from-file): Delete spurious t's.

27 years agoSpelling corrections.
Noah Friedman [Tue, 28 Jan 1997 18:38:51 +0000 (18:38 +0000)]
Spelling corrections.
Removed a couple of redundant entries.