Commit Graph

23501 Commits

Author SHA1 Message Date
Kenichi Handa
f6ecdae5b2 (adjust_after_replace): Correctly handle the case that
both byte combining before and byte combining after happen.
(replace_range): Likewise.
1998-10-27 03:54:13 +00:00
Kenichi Handa
a3360ff915 (Fsubst_char_in_region): Correctly handle the case
that byte combining before happens.
(Ftranslate_region): Likewise.
1998-10-27 03:54:13 +00:00
Richard M. Stallman
b413f89564 (Fformat): Increase buffer size for floating format. 1998-10-26 23:48:57 +00:00
Edward M. Reingold
4a7cd65c8b Add title parameters to frames. 1998-10-26 21:37:57 +00:00
Karl Heuer
024ced4d91 Doc fixes. 1998-10-26 20:25:41 +00:00
Karl Heuer
d3ab8dac3e User option for multibyte buffer handling and doc fix.
(ps-multibyte-buffer): New user option.
(ps-setup): Print new user option.
(ps-print-quote): New fun.
(ps-color-p, ps-mule-font-info-database-latin): New var.
(ps-default-color, ps-mule-font-info-database)
(ps-mule-font-info-database-ps-bdf): Adjust initialization.
(ps-mule-get-font-spec, ps-mule-begin, ps-begin-file)
(ps-plot-with-face, ps-generate-postscript-with-faces, ps-generate):
Little code improvement.
(ps-mule-initialize): Initialize ps-mule-font-info-database.
(ps-print-prologue-header, ps-font-family, ps-font-size)
(ps-header-font-family, ps-header-font-size, ps-header-title-font-size)
(ps-build-face-reference, ps-mule-font-info-database-bdf)
(ps-mule-external-libraries, ps-mule-init-external-library)
(ps-mule-prepare-font, ps-mule-find-wrappoint, ps-mule-plot-string): doc
fix.

To make it work also on Emacs 20.2 and the earlier
version, check the value of mule-version.

(ps-print-version): New version number (4.1.1) and doc
fix.
(ps-print-prologue-header): New user option.
(ps-color-values, ps-xemacs-face-kind-p, ps-mapper, ps-extent-sorter):
Conditional compilation for GNU Emacs and emacsens.
(ps-generate-postscript-with-faces): Skip invisible text better.
(ps-setup): Print new user option.
(ps-print-preprint): Check if input file name exists and is unwritable.
(ps-begin-file): Adjust PostScript prologue header for duplex printers
and insert user PostScript prologue header comments.
(ps-mule-encode-bit, ps-mule-string-ascii, ps-mule-string-encoding): New
funs.
(dos-ps-printer, lazy-lock-fontify-buffer): Eliminated.
(ps-mule-prologue, ps-mule-cmpchar-prologue, ps-mule-bitmap-prologue):
PostScript programming normalization.
(ps-mule-encode-7bit, ps-mule-encode-8bit, ps-mule-generate-font)
(ps-mule-generate-glyphs, ps-mule-prepare-font, ps-mule-plot-string)
(ps-mule-skip-same-charset, ps-mule-plot-rule-cmpchar)
(ps-mule-plot-cmpchar, ps-mule-prepare-cmpchar-font)
(ps-mule-initialize, ps-mule-begin, ps-face-bold-p, ps-do-despool):
Programming style normalization.
1998-10-26 20:22:17 +00:00
Kenichi Handa
27606920fb (compose-region): Insert then delete
to preserve markers.
(decompose-region): Use search-forward for efficiency.
1998-10-26 08:00:11 +00:00
Kenichi Handa
4cec2d0a49 (in-is13194-devanagari-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
1998-10-26 08:00:11 +00:00
Kenichi Handa
d64a0ef709 (pre-write-encode-hz): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
1998-10-26 08:00:11 +00:00
Kenichi Handa
3de546452e (thai-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
1998-10-26 08:00:11 +00:00
Kenichi Handa
76d1241585 (tibetan-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
1998-10-26 08:00:11 +00:00
Kenichi Handa
319fb5a9bf (viqr-pre-write-conversion): Cancel previous
change, use generate-new-buffer instead of get-buffer-create.
1998-10-26 08:00:11 +00:00
Kenichi Handa
61a398eac8 (syms_of_category): Doc-string modified. 1998-10-26 08:00:11 +00:00
Kenichi Handa
0007bdd098 (code_convert_region): Kill the work buffer created by
pre-write-conversion.
1998-10-26 08:00:11 +00:00
Richard M. Stallman
581bba23d4 (desktop-buffer-dired): Use dired-maybe-insert-subdir. 1998-10-26 05:00:27 +00:00
Geoff Voelker
02062ac320 (main) [HAVE_NTGUI]: Invoke syms_of_fontset(). 1998-10-25 23:55:37 +00:00
Richard M. Stallman
bb10be4c8c Fix maintainer email addr. 1998-10-25 23:50:03 +00:00
Kenichi Handa
828f1ed318 (adjust_markers_for_insert): Adjust markers by taking
combined_before_bytes and combined_after_bytes into account.
(count_combining_after): Handle the case that LENGTH is zero.
(adjust_after_replace): Record deletion at correct buffer
position.  Handle the case that LEN is zero.
(replace_range): Record deletion at correct buffer position.
(del_range_2): Call adjust_makers_for_replace to adjust makers for
combined bytes.
1998-10-24 01:17:09 +00:00
Kenichi Handa
6abb9bd967 (code_convert_region): While preserving the orignal
point, pay attention to the byte combining problem.
1998-10-24 01:17:09 +00:00
Kenichi Handa
9b703a38c6 (Fbase64_decode_region): Pay attention to the byte
combining problem.
1998-10-24 01:17:09 +00:00
Thien-Thi Nguyen
7c3d2af256 (desktop-create-buffer): Handle old (broken) minor mode support. 1998-10-22 06:44:53 +00:00
Richard M. Stallman
6e0fca1d84 (Fgarbage_collect): Block input around most of the function. 1998-10-22 01:53:38 +00:00
Richard M. Stallman
fadfb77f9b (Info-next-menu-item): Stay on top of node. 1998-10-22 01:35:03 +00:00
Richard M. Stallman
43c35fd7e6 (menu-bar-options-menu): Add options for truncate-lines and show-paren. 1998-10-21 20:24:41 +00:00
Edward M. Reingold
b642d11edd Add doc strings CORRECTLY! 1998-10-21 20:03:07 +00:00
Richard M. Stallman
c317dd9330 (rmail-get-new-mail): Delete garbage in any case. 1998-10-21 18:39:15 +00:00
Richard M. Stallman
3d0ee5e6c9 (whois-get-tld): Rewrite not to use `do'. 1998-10-21 18:09:39 +00:00
Richard M. Stallman
b054090e74 (rmail-output): Insert newline only if necessary. 1998-10-21 18:08:17 +00:00
Kenichi Handa
98a663f11e Setup charset property nospace-between-words. 1998-10-21 11:50:56 +00:00
Kenichi Handa
1300d43f6c (get-charset-property): If CHARSET is
composition, return nil.
(put-charset-property): If CHARSET is composition, do nothing.
1998-10-21 11:50:56 +00:00
Kenichi Handa
cb8778823b (in-is13194-devanagari-pre-write-conversion): Use with-temp-buffer. 1998-10-21 11:50:56 +00:00
Kenichi Handa
1944b2e73b (pre-write-encode-hz): Use with-temp-buffer. 1998-10-21 11:50:56 +00:00
Kenichi Handa
166488a59a (thai-pre-write-conversion): Use with-temp-buffer. 1998-10-21 11:50:56 +00:00
Kenichi Handa
7273226df7 (tibetan-pre-write-conversion): Use with-temp-buffer. 1998-10-21 11:50:56 +00:00
Kenichi Handa
ada511780c (viqr-pre-write-conversion): Use with-temp-buffer. 1998-10-21 11:50:56 +00:00
Kenichi Handa
eb400532b3 (do-auto-fill): Adjust argument for fill-find-break-point. 1998-10-21 11:50:56 +00:00
Kenichi Handa
ce82deede2 (sentence-end-without-period): New variable.
(canonically-space-region): Pay attention to
sentence-end-without-period.
(fill-find-break-point): The first argument CHARSET deleted.
Caller changed.
(fill-region-as-paragraph): Pay attention to charset property
nospace-between-words and text property nospace-between-words.
1998-10-21 11:50:56 +00:00
Kenichi Handa
9ebe6947ae (Fx_list_fonts): Access frame parameters throught
general macros.   Don't call x_list_font directory, instead call a
function set in list_fonts_func.
1998-10-21 11:50:56 +00:00
Kenichi Handa
3541bb8faa Include frame.h before fontset.h.
(list_fonts_func): Fix prototype.
1998-10-21 11:50:56 +00:00
Kenichi Handa
9625ce22ee (list_fonts_func): Fix prototype. 1998-10-21 11:50:56 +00:00
Kenichi Handa
a1dfb88a16 Include frame.h before fontset.h. 1998-10-21 11:50:56 +00:00
Kenichi Handa
e133c8fabc (setup_coding_system): Fix setting up
coding->spec.ccl.valid_codes for CCL based coding system.
(code_convert_region): Set point to FROM before inserting the
result of pre-write-funciton.  Preserve original point.
(code_convert_string): If coding->type is coding_type_ccl, do
conversion even if the length of conversion region is zero.
1998-10-21 11:50:56 +00:00
Andreas Schwab
17f2692a45 (function-form): Fix spec for
"function*".
1998-10-21 09:02:47 +00:00
Karl Heuer
c7f8bd788c (profile-timer-program): Var deleted.
(profile-timer-process, profile-temp-result-, profile-time): Likewise.
(profile-filter, profile-reset-timer): Functions deleted.
(profile-check-zero-init-times, profile-get-time): Likewise.
(profile-find-function, profile-quit): Likewise.
(profile-distinct, profile-call-stack, profile-last-time): New vars.
(profile-time-list, profile-init-list): Doc fix.
(profile-functions): Simplify.
(profile-print): Use float.  Make output include space separators.
(profile-add-time): New helper function.
(profile-function-prolog): Renamed from profile-start-function.
Handle profile-distinct.
(profile-function-epilog): Renamed from profile-update-function.
Handle profile-distinct.
(profile-a-function): If the function to be profiled is an
autoload form, load it.  If it's lazy-loaded, fetch it.
(profile-fix-fun): Simplify profiling wrapper, and unwind-protect it.
(profile-restore-fun): Arg FUN is now a function symbol, as was
documented, rather than a one-element list.
(profile-finish): Call profile-restore-fun properly.
1998-10-21 07:01:32 +00:00
Richard M. Stallman
b946fbad39 (sh-font-lock-keywords): Don't crash for an unrecognized shell. 1998-10-21 03:47:41 +00:00
Geoff Voelker
bbdf24fae2 (w32_use_unicode_for_codepage): Interpret w32_no_unicode_output properly.
(syms_of_w32term): Reference w32_no_unicode_output properly.
1998-10-20 22:34:50 +00:00
Geoff Voelker
bd6bb5442f Include charset.h and fontset.h. 1998-10-20 22:16:48 +00:00
Geoff Voelker
d82f9149cb Remove redundant font_info struct definition.
(Vx_pixel_size_width_font_regexp,
unibyte_display_via_language_environment): Declare variables.
(w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font):
Declare functions.
w32_output): New fields font_baseline and fontset.
(FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros.
1998-10-20 22:16:00 +00:00
Geoff Voelker
cabb23bc0d Include fontset.h. Define codepage macros.
Add ENCODE_BIG5 macro from coding.c.
(w32_no_unicode_output): New variable.
(w32_codepage_for_charset, w32_use_unicode_for_codepage): New
functions.
(BUILD_WCHAR_T, BYTE1, BYTE2): New macros.
(dumpglyphs): Rewrite based on xterm.c equivalent.
(x_new_font): Use functionality provided in fontset.c.
(x_new_fontset): New function based on the one in xterm.c.
(syms_of_w32term): Add w32-no-unicode-output flag.
1998-10-20 22:15:14 +00:00
Geoff Voelker
4587b02635 (Vx_pixel_size_width): New global variable.
(unibyte_display_via_language_environment): New global variable.
(x_set_font): Add support for setting fontsets.
(Fx_create_frame): Add check_w32(). Initialize fontsets.  Fix
font names to match xlfd-tight-regexp.
(w32_load_font): Rewrite based on x_load_font.
(x_to_w32_charset, w32_to_x_charset): Add character sets.  Use
`iso8859-1' rather than `ansi'.
(w32_to_x_font): Remove `-' from font name.  Remove the `-' off the
end. Move charset into `charset registry' field.
(enum_font_cb2): Check charsets match.  Include width in font list.

(w32_list_fonts): Rewrite based on x_list_fonts.
Moved from w32term.c to have access to enumfont_t struct.
(Fx_list_fonts): w32 specific version eliminated.  Include
`x-list-fonts.c'.
(w32_get_font_info, w32_query_font, w32_find_ccl_program): New
functions for fontset support - adapted from x_ equivalents.
(syms_of_w32fns): New lisp variables initialised.  Function
pointers for fontset.c set up.
1998-10-20 22:13:14 +00:00