]> code.delx.au - gnu-emacs/log
gnu-emacs
26 years ago(Fgoto_char): When arg is a marker, copy char and byte
Richard M. Stallman [Thu, 1 Jan 1998 07:09:35 +0000 (07:09 +0000)]
(Fgoto_char): When arg is a marker, copy char and byte
positions from it.  When arg is an integer, no need to worry that it
is in middle of a character.
(buildmark): Take 2 args (charpos and bytepos).  Callers changed.
(Fline_beginning_position): Save and restore both kinds of PT.
(Fprevious_char): Use PT_BYTE.
(Fbolp, Feolp): Use PT_BYTE.
(transpose_markers): Take args in chars and bytes.
(Ftranspose_regions): Work with byte and char positions.
(Fchar_after, Fchar_before): Use bytepos.
(make_buffer_string): Convert charpos to bytepos.
(Fcompare_buffer_substrings): Work with charpos and bytepos.
(Fsubst_char_in_region): Handle charpos and bytepos.
(Fwiden, Fnarrow_to_region): Likewise.
(save_restriction_restore): Update PT and PT_BYTES.
Cast arg to doprnt_lisp.

26 years ago(set_point_both): Renamed from set_point;
Richard M. Stallman [Thu, 1 Jan 1998 07:08:33 +0000 (07:08 +0000)]
(set_point_both): Renamed from set_point;
New arg BYTE; BUFFER is now first arg; use temp_set_point_both.
(set_point): New function; uses set_point_both.
(temp_set_point_both): New function.
(temp_set_point): Update BUF_PT_BYTE.
(get_local_map): Save and restore both forms of the buffer bounds.

26 years ago(code_convert_region): Handle bytepos and charpos.
Richard M. Stallman [Thu, 1 Jan 1998 07:05:26 +0000 (07:05 +0000)]
(code_convert_region): Handle bytepos and charpos.
(Fdetect_coding_region): Likewise.

26 years ago(move_gap): Use move_gap_both.
Richard M. Stallman [Thu, 1 Jan 1998 07:03:19 +0000 (07:03 +0000)]
(move_gap): Use move_gap_both.
(move_gap_both): New function.
(gap_left, gap_right): Take both charpos and bytepos args.
(adjust_markers_gap_motion): Renamed from adjust_markers and simplified.
(adjust_markers_for_delete): New function.
(adjust_markers_for_insert): Take args in chars and bytes.
Also new arg BEFORE_MARKERS.  One call does all marker updating
needed for any insert.
(adjust_point): Take 2 args and update PT and PT_BYTE.
(make_gap): Handle bytes vs chars.
(insert, insert_and_inherit): Handle bytes vs chars.
Pass new BEFORE_MARKERS arg to insert_1.
(insert_before_markers, insert_before_markers_and_inherit): Likewise.
(insert_from_string, insert_from_string_before_markers): Likewise.
(insert_from_buffer): Likewise.
(insert_1): Handle bytes vs chars.  New arg BEFORE_MARKERS.
(insert_from_string_1, insert_from_buffer_1): Likewise.
(replace_range): Likewise.
(del_range_2): New subroutine, taken from del_range_1.
(del_range_1): Use del_range_2.
(del_range_byte, del_range_both): New functions.

26 years agoUpdate copyright year.
Richard M. Stallman [Thu, 1 Jan 1998 06:51:31 +0000 (06:51 +0000)]
Update copyright year.

26 years ago(DECODE_POSITION): New macro.
Richard M. Stallman [Thu, 1 Jan 1998 06:49:17 +0000 (06:49 +0000)]
(DECODE_POSITION): New macro.
(CHAR_TO_BYTE, BYTE_TO_CHAR): New macros.

(BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE)
(ZV_BYTE, Z_BYTE): New macros.
(BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE)
(BUF_ZV_BYTE, BUF_Z_BYTE): New macros.
(BUF_GAP_END_ADDR): New macro.
(BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR):
Use the new ..._byte buffer data.
(BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise.
(BUF_GPT_ADDR, BUF_Z_ADDR): Likewise.
(SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros.
(SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT):
Call functions with new arg order.
(SET_BUF_BEGV, SET_BUF_BEGV_BOTH): New macros.
(SET_BUF_PT): Macro deleted.
(SET_BUF_ZV): Set charpos and bytepos.
(SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH): New macros.
(BYTE_POS_ADDR): Renamed from POS_ADDR.
(CHAR_POS_ADDR): New macro.
(FETCH_BYTE): Use BYTE_POS_ADDR.
(FETCH_MULTIBYTE_CHAR): Use ..._BYTE macros.
(BUF_CHAR_ADDRESS): Convert charpos to bytepos.
(BUF_BYTE_ADDRESS): New macro, like the old BUF_CHAR_ADDRESS.
(PTR_BYTE_POS): Renamed from PTR_CHAR_POS.
(BUF_PTR_BYTE_POS): New macro.
(BUF_FETCH_CHAR, BUF_FETCH_BYTE, BUF_FETCH_MULTIBYTE_CHAR): New macros.
(struct buffer_text): New fields gpt_byte, z_byte.
(struct buffer): New fields pt_byte, begv_byte, zv_byte.

26 years ago(Fcall_interactively) <'d', 'r'>: Use set_marker_both.
Richard M. Stallman [Thu, 1 Jan 1998 06:47:25 +0000 (06:47 +0000)]
(Fcall_interactively) <'d', 'r'>: Use set_marker_both.

26 years ago(status_notify): Use byte and char pointers.
Richard M. Stallman [Thu, 1 Jan 1998 06:45:08 +0000 (06:45 +0000)]
(status_notify): Use byte and char pointers.

(Fprocess_send_region): Make bytepos for send_process.
(read_process_output): Save, restore, and update both kinds of ptrs.
(send_process): OFFSET is now in bytes.

26 years ago(set_point, temp_set_point): Swap args in decl.
Richard M. Stallman [Thu, 1 Jan 1998 06:41:39 +0000 (06:41 +0000)]
(set_point, temp_set_point): Swap args in decl.
(set_point_both, temp_set_point_both): New decls.

26 years ago(PRINTDECLARE): Declare old_point_byte and start_point_byte.
Richard M. Stallman [Thu, 1 Jan 1998 06:40:47 +0000 (06:40 +0000)]
(PRINTDECLARE): Declare old_point_byte and start_point_byte.
(PRINTPREPARE): For a marker, set old_point_byte and start_point_byte.
Set both kinds of PT from the marker.
(PRINTFINISH): For a marker, use set_marker_both.
Restore both kinds of PT.
(print): For strings and symbols, handle multibyte chars.

26 years ago(readchar_backlog): New variable.
Richard M. Stallman [Thu, 1 Jan 1998 06:38:45 +0000 (06:38 +0000)]
(readchar_backlog): New variable.
(readchar): When fetching from buffer or marker,
use readchar_backlog to fetch bytes from a character.
(unreadchar): Increment readchar_backlog.
(readevalloop, Fread): Init readchar_backlog.

26 years ago(scan_newline): Always restore prev value of immediate_quit.
Richard M. Stallman [Thu, 1 Jan 1998 06:35:47 +0000 (06:35 +0000)]
(scan_newline): Always restore prev value of immediate_quit.

26 years ago(scan_sexps_forward): Additional arg FROM_BYTE. Calls changed.
Richard M. Stallman [Thu, 1 Jan 1998 06:31:54 +0000 (06:31 +0000)]
(scan_sexps_forward): Additional arg FROM_BYTE.  Calls changed.
(find_defun_start): Additional arg POS_BYTE.
Save final byte pos in find_start_value_byte.
(find_start_value_byte): New variable.

(Fforward_comment): Scan by bytes and chars.
(Fbackward_prefix_chars): Scan by bytes and chars.
(scan_words, scan_sexps_forward): Scan bytes as well as chars.
(skip_chars, scan_lists): Scan by bytes and chars.  Now static.

(char_quoted): Take charpos and bytepos as args.
(back_comment): Likewise.
(update_syntax_table): Arg renamed.
(inc_bytepos, dec_bytepos): New functions.

26 years ago(looking_at_1): Use bytepos to call re_search_2.
Richard M. Stallman [Thu, 1 Jan 1998 02:52:20 +0000 (02:52 +0000)]
(looking_at_1): Use bytepos to call re_search_2.
Convert search regs to charpos, if search succeeded.
(search_buffer): Likewise.  Also convert charpos <-> bytepos
in non-regexp case.
(scan_buffer): Convert charpos <-> bytepos.
(scan_newline): New function.
(find_next_newline): Function deleted.
(set_search_regs): Args now in bytes; convert to charpos.
(Freplace_match): Convert charpos <-> bytepos when scanning case.

26 years ago(SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos.
Richard M. Stallman [Thu, 1 Jan 1998 02:46:10 +0000 (02:46 +0000)]
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos.
Wrap in  if (1) ... else.

26 years ago(casify_region): Scan in bytes and chars.
Richard M. Stallman [Thu, 1 Jan 1998 02:45:12 +0000 (02:45 +0000)]
(casify_region): Scan in bytes and chars.
(casify_object, casify_region): Declare str, workbuf as unsigned char.

26 years ago(marker.o): Depend on charset.h.
Richard M. Stallman [Thu, 1 Jan 1998 02:44:17 +0000 (02:44 +0000)]
(marker.o): Depend on charset.h.

26 years ago(forward_point): Function deleted.
Richard M. Stallman [Thu, 1 Jan 1998 02:42:48 +0000 (02:42 +0000)]
(forward_point): Function deleted.
(Fforward_point): Just add.
(Fforward_char): Don't call forward_point, just add.
(Fforward_line): Use scan_newline.
(Fdelete_char): No need for forward_point, just add.
(Fdelete_backward_char): Handle bytes and chars.
(internal_self_insert): Handle bytes and chars.

26 years ago(struct position): New field bytepos.
Richard M. Stallman [Thu, 1 Jan 1998 02:40:05 +0000 (02:40 +0000)]
(struct position): New field bytepos.

26 years ago(command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
Richard M. Stallman [Thu, 1 Jan 1998 02:39:04 +0000 (02:39 +0000)]
(command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
Instead of Fforward_point, just add.

26 years ago(Fmake_indirect_buffer): Use set_marker_both.
Richard M. Stallman [Thu, 1 Jan 1998 02:37:16 +0000 (02:37 +0000)]
(Fmake_indirect_buffer): Use set_marker_both.
(set_buffer_internal_1): Likewise.
(set_buffer_temp): Likewise.

(set_buffer_temp): Update BUF_PT_BYTE, BUF_BEGV_BYTE and BUF_ZV_BYTE.
(Fmake_indirect_buffer, set_buffer_internal_1):
Set up the pt, begv and zv markers with both kinds of position.
Set BUF_PT_BYTE, BUF_BEGV_BYTE, BUF_ZV_BYTE.
(Fget_buffer_create): Set BUF_..._BYTE.

26 years ago(marker_byte_position): Renamed from marker_position.
Richard M. Stallman [Thu, 1 Jan 1998 02:35:09 +0000 (02:35 +0000)]
(marker_byte_position): Renamed from marker_position.
(marker_position): New function returns the charpos.
(Fbuffer_has_markers_at): Test the marker's charpos.
(set_marker_restricted, Fset_marker): Set both kinds of position.
Optimize case where POSITION is a marker.
(set_marker_both, set_marker_restricted_both): New functions.
(Fmarker_position): Use the charpos.

(charpos_to_bytepos, bytepos_to_charpos): New functions.
(buf_charpos_to_bytepos, buf_bytepos_to_charpos): New functions.

26 years ago(redisplay_internal): Use scan_newline.
Richard M. Stallman [Thu, 1 Jan 1998 02:27:27 +0000 (02:27 +0000)]
(redisplay_internal): Use scan_newline.
(try_window_id): Use scan_newline.
(display_text_line): Use scan_newline.

(pos_tab_indent): Moved from indent,c.  Now static.
Take POS in bytes and chars.  Callers changed.

(redisplay_window): Handle byte and char positions.
(try_window): Don't move W->start if it's already at right place.

(display_count_lines): Several changes in args.
Do the work directly.
(display_scan_buffer): Function deleted.
(decode_mode_spec): Pass new arg.
(message_log_check_duplicate): Take charpos and bytepos args.
(message_dolog): Use markers to update old PT, BEGV, ZV.
Use scan_newline.  Handle positions in bytes and chars.

(try_window): Pass bytepos to and from display_text_line.
(try_window_id): Likewise.  Use byte pos as well as charpos.
(redisplay_internal): Handle bytepos for tlbufpos.

(message): Cast last arg to doprnt.

26 years ago(unshow_buffer): Set PT with TEMP_SET_PT_BOTH.
Richard M. Stallman [Thu, 1 Jan 1998 02:07:14 +0000 (02:07 +0000)]
(unshow_buffer): Set PT with TEMP_SET_PT_BOTH.

(Fset_window_buffer): Use set_marker_both.
(Fselect_window, Fscroll_other_window, save_window_save): Likewise.
(Fset_window_configuration): Pass p->mark itself to Fset_marker
and set_marker_restricted_both.
(temp_output_buffer_show): Use set_marker_restricted_both.
(window_scroll): Save and restore both kinds of pointers.

(Fdelete_other_windows): Rely on vmotion to give bytepos.
Use set_marker_both.  Use byte positions.
(Frecenter): Likewise.
(Fmove_to_window_line): Use set_marker_both and Fgoto_char.

26 years ago(Fchars_in_string): Update call to CHAR_HEAD_P.
Richard M. Stallman [Wed, 31 Dec 1997 22:18:06 +0000 (22:18 +0000)]
(Fchars_in_string): Update call to CHAR_HEAD_P.
(chars_in_text, str_cmpchar_id, Fcompose_string): Likewise.

(Fchar_boundary_p): Always return 0.
(Fchars_in_region): Just subtract the arguments.
(chars_in_text): New function.
(Ffind_charset_region): Scan in bytepos as well as charpos.

26 years ago(Finsert_file_contents): Update call to CHAR_HEAD_P.
Richard M. Stallman [Wed, 31 Dec 1997 22:16:35 +0000 (22:16 +0000)]
(Finsert_file_contents): Update call to CHAR_HEAD_P.

(Fwrite_region): Use scan_newline.

(restore_point_unwind): Now static.  Use Fgoto_char.
(Funhandled_file_name_directory): Doc fix.
(Finsert_file_contents): Handle bytes vs chars.
(Fwrite_region): Handle bytes vs chars.
(a_write): Take args in bytes; handle annotations labeled in chars.
(e_write): Rename args.
(Funhandled_file_name_directory): Doc fix.
(a_write, e_write): Now static.

26 years ago(Fminibuffer_complete_word): Handle bytes vs characters
Richard M. Stallman [Wed, 31 Dec 1997 21:56:00 +0000 (21:56 +0000)]
(Fminibuffer_complete_word): Handle bytes vs characters
when comparing buffer against string.
(temp_echo_area_glyphs): Save, update, delete text using
byte and char positions.
(read_minibuf): BACKUP_N counts bytes.

26 years ago(CHAR_HEAD_P): Take char, not pointer, as arg.
Richard M. Stallman [Wed, 31 Dec 1997 21:49:31 +0000 (21:49 +0000)]
(CHAR_HEAD_P): Take char, not pointer, as arg.

(INC_POS, DEC_POS): Fix because arg is a bufpos.
(BUF_INC_POS, BUF_DEC_POS): New macros.
(INC_BOTH, DEC_BOTH): New macros.

26 years ago(doprnt1): Call to CHAR_HEAD_P fixed.
Richard M. Stallman [Wed, 31 Dec 1997 21:48:28 +0000 (21:48 +0000)]
(doprnt1): Call to CHAR_HEAD_P fixed.

26 years ago(describe_abbrev): Return void.
Richard M. Stallman [Wed, 31 Dec 1997 05:05:32 +0000 (05:05 +0000)]
(describe_abbrev): Return void.
(write_abbrev): Return void.
(Fexpand_abbrev): Scan in bytepos along with charpos.
(Funexpand_abbrev): Use bytepos to delete the expansion.

26 years ago(LIB_MOTIF): Define, if HAVE_LIBINTL.
Richard M. Stallman [Wed, 31 Dec 1997 04:44:31 +0000 (04:44 +0000)]
(LIB_MOTIF): Define, if HAVE_LIBINTL.
(LIBX11_SYSTEM): Undo previous change.

26 years ago(abort): New function.
Richard M. Stallman [Tue, 30 Dec 1997 19:01:13 +0000 (19:01 +0000)]
(abort): New function.

26 years ago(desktop-enable): New variable.
Richard M. Stallman [Mon, 29 Dec 1997 20:58:19 +0000 (20:58 +0000)]
(desktop-enable): New variable.
(after-init-hook): Add a hook to test desktop-enable.
(desktop-save-hook): Doc fix.

26 years ago(Fcall_process): Cast new_argv for child_setup.
Richard M. Stallman [Sun, 28 Dec 1997 19:19:00 +0000 (19:19 +0000)]
(Fcall_process): Cast new_argv for child_setup.

26 years ago(Fx_rotate_cut_buffers_internal): Doc fix.
Richard M. Stallman [Sun, 28 Dec 1997 19:06:57 +0000 (19:06 +0000)]
(Fx_rotate_cut_buffers_internal): Doc fix.

26 years ago(Fread_command, Fread_variable): Fix previous change.
Richard M. Stallman [Sat, 27 Dec 1997 08:16:00 +0000 (08:16 +0000)]
(Fread_command, Fread_variable): Fix previous change.

26 years ago(Ftext_properties_at): Doc fix.
Richard M. Stallman [Fri, 26 Dec 1997 22:51:41 +0000 (22:51 +0000)]
(Ftext_properties_at): Doc fix.

26 years agoDeclare nonascii_insert_offset.
Richard M. Stallman [Fri, 26 Dec 1997 20:45:22 +0000 (20:45 +0000)]
Declare nonascii_insert_offset.

26 years ago(undigestify-rmail-message): If in summary, switch to the Rmail buffer.
Richard M. Stallman [Fri, 26 Dec 1997 10:48:47 +0000 (10:48 +0000)]
(undigestify-rmail-message): If in summary, switch to the Rmail buffer.
(unforward-rmail-message): Simplify using with-current-buffer.

26 years ago(info-lookup-symbol-alist): Handle Emacs Lisp mode.
Richard M. Stallman [Fri, 26 Dec 1997 10:47:20 +0000 (10:47 +0000)]
(info-lookup-symbol-alist): Handle Emacs Lisp mode.
(info-lookup-make-completions): Catch errors one file at a time.
Use a special temp buffer, not the usual info buffer,
and never display it in a window.

26 years ago(HAVE_STRING_H): Add #undef.
Richard M. Stallman [Fri, 26 Dec 1997 10:41:25 +0000 (10:41 +0000)]
(HAVE_STRING_H): Add #undef.
[HAVE_STRING_H]: Include string.h.

26 years ago(Vminor_mode_overriding_map_alist): New variable.
Richard M. Stallman [Fri, 26 Dec 1997 10:38:56 +0000 (10:38 +0000)]
(Vminor_mode_overriding_map_alist): New variable.
(syms_of_keymap): Set up Lisp var.
(current_minor_maps): Use Vminor_mode_overriding_map_alist first,
then Vminor_mode_map_alist.

26 years agoSome comment, doc and bug fixes.
Richard M. Stallman [Thu, 25 Dec 1997 18:33:52 +0000 (18:33 +0000)]
Some comment, doc and bug fixes.
(ps-print-version): New version number (3.05.3) and doc fix.
(ps-output-string-prim, ps-begin-job, ps-control-character)
(ps-plot-region): Bug fix.
(ps-print-control-characters): New custom var.
(ps-string-escape-codes, ps-string-control-codes): New var.
(ps-color-device, ps-font-lock-face-attributes, ps-eval-switch)
(ps-flatten-list, ps-flatten-list-1): New fn.
(ps-setup): Update current setup.
(ps-begin-file): Adjust PostScript header file.
(ps-plot, ps-face-attribute-list): Little programming improvement.
(ps-print-prologue-1): Replace NumberOfZebra by ZebraHeight.
(ps-print-without-faces, ps-print-with-faces): Little reprogramming.
(ps-plot-with-face): Get color only on color screen device.
(ps-build-reference-face-lists): Handle obsolete
font-lock-face-attributes.
(ps-print-ensure-fontified): Little programming setting.
(ps-generate-postscript-with-faces): Adjust initializations, get color
only on color screen device.
(ps-generate): Replace (if A B) by (and A B).
(ps-do-despool): Dynamic evaluation for ps-lpr-switches,
Replace (if A B) by (and A B).
(color-instance-rgb-components, ps-color-values): Replace
pixel-components by color-instance-rgb-components.
(ps-xemacs-face-kind-p): Replace face-font by face-font-instance,
replace x-font-properties by font-instance-properties.

26 years agoCustomized.
Richard M. Stallman [Thu, 25 Dec 1997 01:11:47 +0000 (01:11 +0000)]
Customized.
(tags-revert-without-query): New option.
(tags-verify-table): Test tags-revert-without-query.

26 years ago(Info-mode): Doc fix.
Richard M. Stallman [Mon, 22 Dec 1997 22:28:11 +0000 (22:28 +0000)]
(Info-mode): Doc fix.

26 years ago(dired-mark-sexp): Skip leading space in defining `uid'.
Richard M. Stallman [Mon, 22 Dec 1997 22:09:22 +0000 (22:09 +0000)]
(dired-mark-sexp): Skip leading space in defining `uid'.

26 years ago(mouse-avoidance-mode): Variable customized to automatically load the package.
Richard M. Stallman [Mon, 22 Dec 1997 21:50:59 +0000 (21:50 +0000)]
(mouse-avoidance-mode): Variable customized to automatically load the package.

26 years ago(view-register): Show register type file-query.
Richard M. Stallman [Mon, 22 Dec 1997 21:47:18 +0000 (21:47 +0000)]
(view-register): Show register type file-query.

26 years ago(previous-matching-history-element): Bind
Richard M. Stallman [Mon, 22 Dec 1997 21:33:35 +0000 (21:33 +0000)]
(previous-matching-history-element): Bind
case-fold-search to nil if REGEXP contains an uppercase letter.
(previous-matching-history-element, next-matching-history-element):
Doc fixes.

26 years ago(browse-url-path-regexp, browse-url-short-regexp,
Dave Love [Mon, 22 Dec 1997 19:26:10 +0000 (19:26 +0000)]
(browse-url-path-regexp, browse-url-short-regexp,
browse-url-regexp): Variables deleted.  (They were moved to
thingatpt.el.)
(browse-url-filename-alist): Default now has leading ange-ftp-type
patterns so that the "^/+" pattern doesn't mung such names in
advance.
(browse-url-file-url): Don't do explicit ange-ftp path munging
here.
(browse-url-netscape-program): Doc addition.

26 years ago(apropos-print): Pass t instead of DO-KEYS
Richard M. Stallman [Mon, 22 Dec 1997 07:39:09 +0000 (07:39 +0000)]
(apropos-print): Pass t instead of DO-KEYS
when calling apropos-print-doc.

26 years ago(cc-imenu-objc-function): Use bufsubst-fun as a variable, not as a function.
Richard M. Stallman [Mon, 22 Dec 1997 07:10:19 +0000 (07:10 +0000)]
(cc-imenu-objc-function): Use bufsubst-fun as a variable, not as a function.

26 years agoFix mailer-introduced garbling.
Richard M. Stallman [Mon, 22 Dec 1997 06:06:54 +0000 (06:06 +0000)]
Fix mailer-introduced garbling.
(msb--toggle-menu-type): Don't pass arg to menu-bar-update-buffers.

26 years agoFix copyright notice.
Richard M. Stallman [Mon, 22 Dec 1997 02:33:25 +0000 (02:33 +0000)]
Fix copyright notice.

(msb--home-dir): Renamed from msb--home-path.
(msb--strip-dir): Renamed from msb--strip-path.

26 years agoDoc fixes. Changed `append' to `nconc'
Richard M. Stallman [Mon, 22 Dec 1997 02:26:17 +0000 (02:26 +0000)]
Doc fixes.  Changed `append' to `nconc'
in a number of places.  Changed the separator in menus
from "---" to "--" to work in Windows 95.
(msb--home-path): New internal variable to cache the value of $HOME.
(msb--strip-path): Now handles MSDOG style of file names.
(msb--init-file-alist): Now expands `buffer-file-name'.
(msb--format-title): New subroutine for `msb--choose-file-menu'.
(msb--choose-file-menu): Use msb--format-title.  Minor simplifications.

26 years ago(LIBX11_SYSTEM) [HAVE_LIBINTL and MOTIF]: Add -lintl.
Richard M. Stallman [Sun, 21 Dec 1997 02:44:46 +0000 (02:44 +0000)]
(LIBX11_SYSTEM) [HAVE_LIBINTL and MOTIF]: Add -lintl.

26 years ago(HAVE_LIBINTL): Add #undef.
Richard M. Stallman [Sun, 21 Dec 1997 02:44:20 +0000 (02:44 +0000)]
(HAVE_LIBINTL): Add #undef.

26 years ago(find-file-noselect): Fix previous change.
Richard M. Stallman [Sun, 21 Dec 1997 02:34:59 +0000 (02:34 +0000)]
(find-file-noselect): Fix previous change.

26 years ago(isearch-mode-map): Don't count above 256
Richard M. Stallman [Sun, 21 Dec 1997 02:33:57 +0000 (02:33 +0000)]
(isearch-mode-map): Don't count above 256
when setting up printing characters.

26 years ago(message2_nolog): Fix arg types.
Richard M. Stallman [Sun, 21 Dec 1997 02:32:45 +0000 (02:32 +0000)]
(message2_nolog): Fix arg types.

26 years ago(sys_signal): Undo previous change.
Richard M. Stallman [Sun, 21 Dec 1997 02:28:52 +0000 (02:28 +0000)]
(sys_signal): Undo previous change.

26 years ago(jka-compr-insert-file-contents):
Richard M. Stallman [Sun, 21 Dec 1997 02:26:48 +0000 (02:26 +0000)]
(jka-compr-insert-file-contents):
If enable-multibyte-characters is nil, decode as raw-text.

26 years ago(Fexecute_extended_command):
Richard M. Stallman [Sun, 21 Dec 1997 02:19:17 +0000 (02:19 +0000)]
(Fexecute_extended_command):
Save message_enable_multibyte and pass it to message2_nolog.

26 years ago(Fgarbage_collect):
Richard M. Stallman [Sun, 21 Dec 1997 02:17:50 +0000 (02:17 +0000)]
(Fgarbage_collect):
Save message_enable_multibyte and pass it to message2_nolog.

26 years ago(message2_nolog): New arg MULTIBYTE.
Richard M. Stallman [Sun, 21 Dec 1997 02:17:16 +0000 (02:17 +0000)]
(message2_nolog): New arg MULTIBYTE.
(message2): Pass new arg to message2_nolog.
(message1_nolog): Likewise.

26 years ago(Fexecute_extended_command):
Richard M. Stallman [Sun, 21 Dec 1997 02:12:03 +0000 (02:12 +0000)]
(Fexecute_extended_command):
Save and restore message_enable_multibyte.

26 years ago(find-file-noselect): Signal error if file is unreadable.
Richard M. Stallman [Sun, 21 Dec 1997 02:10:01 +0000 (02:10 +0000)]
(find-file-noselect): Signal error if file is unreadable.

26 years ago(match-string-no-properties): New function.
Richard M. Stallman [Sun, 21 Dec 1997 02:08:37 +0000 (02:08 +0000)]
(match-string-no-properties): New function.

26 years ago(define-mail-alias): Handle backslash-quoting
Richard M. Stallman [Sun, 21 Dec 1997 02:07:32 +0000 (02:07 +0000)]
(define-mail-alias): Handle backslash-quoting
within "-strings in DEFINITION if it comes from .mailrc.

26 years ago(Vsignal_USR1_hook, Vsignal_USR2_hook): New variables.
Richard M. Stallman [Sun, 21 Dec 1997 02:06:32 +0000 (02:06 +0000)]
(Vsignal_USR1_hook, Vsignal_USR2_hook): New variables.
(syms_of_emacs): Set up Lisp variables.
(handle_USR1_signal, handle_USR2_signal): New signal handlers.
(main): Set up signal handlers.

26 years ago(x_display_cursor): Abort if X or Y is out of range.
Richard M. Stallman [Sun, 21 Dec 1997 01:59:49 +0000 (01:59 +0000)]
(x_display_cursor): Abort if X or Y is out of range.

26 years agoComment changes.
Richard M. Stallman [Sun, 21 Dec 1997 01:57:48 +0000 (01:57 +0000)]
Comment changes.

26 years ago(Fparse_partial_sexp): Return nil for 9th element
Richard M. Stallman [Sun, 21 Dec 1997 01:57:32 +0000 (01:57 +0000)]
(Fparse_partial_sexp): Return nil for 9th element
whenever not inside a string or a comment.

26 years ago(mule-keymap): Delete the binding for toggle-enable-multibyte-characters.
Richard M. Stallman [Sun, 21 Dec 1997 01:53:43 +0000 (01:53 +0000)]
(mule-keymap): Delete the binding for toggle-enable-multibyte-characters.
(mule-menu-keymap): Delete the menu item for it.

26 years ago(copy-region-as-kill): Deactivate mark in transient-mark-mode.
Richard M. Stallman [Sun, 21 Dec 1997 01:52:31 +0000 (01:52 +0000)]
(copy-region-as-kill): Deactivate mark in transient-mark-mode.

(copy-region-as-kill, kill-ring-save): Doc fixes.

26 years ago(toggle-enable-multibyte-characters): Doc fix.
Richard M. Stallman [Sun, 21 Dec 1997 01:49:03 +0000 (01:49 +0000)]
(toggle-enable-multibyte-characters): Doc fix.

26 years ago(completion-setup-hook): Add definition.
Richard M. Stallman [Sun, 21 Dec 1997 01:47:48 +0000 (01:47 +0000)]
(completion-setup-hook): Add definition.

26 years ago(menu-bar-select-yank): Add apropos-inhibit property.
Richard M. Stallman [Sun, 21 Dec 1997 01:46:29 +0000 (01:46 +0000)]
(menu-bar-select-yank): Add apropos-inhibit property.

26 years ago(apropos, apropos-command): Ignore symbols that have apropos-inhibit property.
Richard M. Stallman [Sun, 21 Dec 1997 01:46:14 +0000 (01:46 +0000)]
(apropos, apropos-command): Ignore symbols that have apropos-inhibit property.

26 years ago(standard-display-european): Doc fix.
Richard M. Stallman [Sun, 21 Dec 1997 01:45:08 +0000 (01:45 +0000)]
(standard-display-european): Doc fix.

26 years ago(Fread_variable): If DEFAULT_VALUE is symbol, use its name.
Richard M. Stallman [Sun, 21 Dec 1997 01:44:07 +0000 (01:44 +0000)]
(Fread_variable): If DEFAULT_VALUE is symbol, use its name.
(Fread_command): Likewise.

26 years ago(sparc-fujitsu-sysv4*): New target.
Richard M. Stallman [Sun, 21 Dec 1997 01:41:43 +0000 (01:41 +0000)]
(sparc-fujitsu-sysv4*): New target.

26 years ago(split-string): Handle empty matches reasonably.
Richard M. Stallman [Sun, 21 Dec 1997 01:35:50 +0000 (01:35 +0000)]
(split-string): Handle empty matches reasonably.

26 years agoComment and whitespace changes.
Richard M. Stallman [Sun, 21 Dec 1997 01:34:37 +0000 (01:34 +0000)]
Comment and whitespace changes.

26 years ago(calendar-french-single-byteify): New function.
Richard M. Stallman [Sun, 21 Dec 1997 01:33:06 +0000 (01:33 +0000)]
(calendar-french-single-byteify): New function.
(calendar-goto-french-date): Use calendar-french-single-byteify
instead of changing enable-multibyte-characters.
test french-calendar-accents.

26 years ago(message_dolog): Update PT and ZV properly when at end of
Richard M. Stallman [Sun, 21 Dec 1997 01:20:26 +0000 (01:20 +0000)]
(message_dolog): Update PT and ZV properly when at end of
buffer, when we convert between multibyte and single-byte.
Properly initialize i.

(message_dolog): Convert between single-byte and multibyte
when inserting text into *Messages*.

26 years ago(read-password): New function.
Richard M. Stallman [Sun, 21 Dec 1997 00:50:07 +0000 (00:50 +0000)]
(read-password): New function.

26 years ago(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.
Richard M. Stallman [Sat, 20 Dec 1997 23:12:09 +0000 (23:12 +0000)]
(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.

26 years ago(iswitchb-completion-help): Multiple TAB presses
Karl Heuer [Fri, 19 Dec 1997 14:58:42 +0000 (14:58 +0000)]
(iswitchb-completion-help): Multiple TAB presses
scroll the completion window.
(iswitchb-read-buffer): New function to act as drop-in replacement
for read-buffer.

26 years agoDon't call set-terminal-coding-system
Karl Heuer [Fri, 19 Dec 1997 14:57:14 +0000 (14:57 +0000)]
Don't call set-terminal-coding-system
if it was already set.

26 years ago(Vread_buffer_function): New var.
Karl Heuer [Fri, 19 Dec 1997 14:54:55 +0000 (14:54 +0000)]
(Vread_buffer_function): New var.
(syms_of_minibuf): Set up Lisp var.
(Fread_buffer): Use Vread_buffer_function.

26 years ago(set-language-info): Doc fix.
Karl Heuer [Fri, 19 Dec 1997 14:51:52 +0000 (14:51 +0000)]
(set-language-info): Doc fix.
(input-method-inactivate-hook): Doc fix.

26 years ago(widget-choose): Allow scrolling of large lists.
Karl Heuer [Fri, 19 Dec 1997 14:46:20 +0000 (14:46 +0000)]
(widget-choose): Allow scrolling of large lists.

26 years ago(transpose-subr): Rewrite to make faster with big move
Andreas Schwab [Wed, 17 Dec 1997 13:54:03 +0000 (13:54 +0000)]
(transpose-subr): Rewrite to make faster with big move
counts.
(transpose-lines): In the mover function handle arbitrary move
counts.

26 years agoCache more tests. Add missing quotes around
Andreas Schwab [Wed, 17 Dec 1997 13:16:22 +0000 (13:16 +0000)]
Cache more tests.  Add missing quotes around
message with embedded comma.

26 years ago(Man-mode-line-format): Update to include the new format
Andreas Schwab [Wed, 17 Dec 1997 12:51:53 +0000 (12:51 +0000)]
(Man-mode-line-format): Update to include the new format
elements.

26 years agoAdd reference to new Calendrical Calculations book.
Paul Eggert [Tue, 16 Dec 1997 19:12:36 +0000 (19:12 +0000)]
Add reference to new Calendrical Calculations book.

26 years agoDefine indentation in normal dialect for let-syntax,
Dave Love [Sat, 13 Dec 1997 22:21:03 +0000 (22:21 +0000)]
Define indentation in normal dialect for let-syntax,
letrec-syntax, syntax-rules, call-with-values, dynamic-wind.
(scheme-mode-map): Remove lisp-complete-symbol.  Add
uncomment-region.
(scheme-mode-hook, dsssl-mode-hook): Declare customized.
(dsssl-sgml-declaration): Fix customization.

26 years ago(browse-url-lynx-emacs): Add sentinel to kill the buffer when lynx
Dave Love [Fri, 12 Dec 1997 17:43:13 +0000 (17:43 +0000)]
(browse-url-lynx-emacs): Add sentinel to kill the buffer when lynx
exits.  Doc fix.
(browse-url-browser-function): Better customization.
(browse-url-filename-alist, browse-url-netscape-display,
browse-url-filename-alist, browse-url-generic-program): Likewise.
(browse-url-new-window-p, browse-url-w3, browse-url-mail): Doc fix.
(browse-url-save-file): Customize.

26 years agoUse imenu-case-fold-search.
Dave Love [Fri, 12 Dec 1997 17:10:08 +0000 (17:10 +0000)]
Use imenu-case-fold-search.