- 01 Jan, 1998 15 commits
-
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
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.
-
Richard M. Stallman authored
Wrap in if (1) ... else.
-
Richard M. Stallman authored
(casify_object, casify_region): Declare str, workbuf as unsigned char.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
Instead of Fforward_point, just add.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(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.
-
- 31 Dec, 1997 7 commits
-
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
when comparing buffer against string. (temp_echo_area_glyphs): Save, update, delete text using byte and char positions. (read_minibuf): BACKUP_N counts bytes.
-
Richard M. Stallman authored
(INC_POS, DEC_POS): Fix because arg is a bufpos. (BUF_INC_POS, BUF_DEC_POS): New macros. (INC_BOTH, DEC_BOTH): New macros.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(write_abbrev): Return void. (Fexpand_abbrev): Scan in bytepos along with charpos. (Funexpand_abbrev): Use bytepos to delete the expansion.
-
Richard M. Stallman authored
(LIBX11_SYSTEM): Undo previous change.
-
- 30 Dec, 1997 1 commit
-
-
Richard M. Stallman authored
-
- 29 Dec, 1997 1 commit
-
-
Richard M. Stallman authored
(after-init-hook): Add a hook to test desktop-enable. (desktop-save-hook): Doc fix.
-
- 28 Dec, 1997 2 commits
-
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
- 27 Dec, 1997 1 commit
-
-
Richard M. Stallman authored
-
- 26 Dec, 1997 6 commits
-
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(unforward-rmail-message): Simplify using with-current-buffer.
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
[HAVE_STRING_H]: Include string.h.
-
Richard M. Stallman authored
(syms_of_keymap): Set up Lisp var. (current_minor_maps): Use Vminor_mode_overriding_map_alist first, then Vminor_mode_map_alist.
-
- 25 Dec, 1997 2 commits
-
-
Richard M. Stallman authored
(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.
-
Richard M. Stallman authored
(tags-revert-without-query): New option. (tags-verify-table): Test tags-revert-without-query.
-
- 22 Dec, 1997 5 commits
-
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
case-fold-search to nil if REGEXP contains an uppercase letter. (previous-matching-history-element, next-matching-history-element): Doc fixes.
-