1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Kenichi Handa
2cb842aeec New file. Mule related code extracted from
ps-print.el.  Require ps-print, provide ps-mule.
(ps-multibyte-buffer): Add autoload cookie.
(ps-mule-prepare-ascii-font): New fun.
(ps-mule-set-ascii-font): New fun.
(ps-mule-skip-same-charset): Fun deleted.
(ps-mule-plot-string): Set ps-mule-current-charset.
(ps-mule-initialize): Add autload cookie.  Don't set
ps-mule-font-info-database here.
(ps-mule-begin-job): Renamed from ps-mule-begin.  Update
ps-mule-font-info-database and ps-control-or-escape-regexp.
(ps-mule-begin-page): New fun.

Doc fix. Require ps-print only when compiled.
(ps-mule-prologue-generated): New fun.
(ps-mule-plot-string): Add autoload cookie.
(ps-mule-begin-job): Call ps-mule-prologue-generated.

Programming uniformization and little code improvement.
(ps-mule-prepare-font): Programming uniformization.
(ps-mule-find-wrappoint, ps-mule-plot-rule-cmpchar)
(ps-mule-string-encoding, ps-mule-begin-job): Little code improvement.

Always require ps-print.  Move some function
definitions for Emacs 20.2 and the earlier to ps-print.el.
(ps-mule-find-wrappoint): Make it work also with Emacs 20.2.

(ps-mule-begin-job): Delete nil and unknown from a
list of character sets found by find-charset-region.
1998-12-15 06:38:12 +00:00
Kenichi Handa
9c423e6b04 Initial revision 1998-12-15 06:37:14 +00:00
Kenichi Handa
298bfad9b1 (ps-mule-font-info-database): Doc-string modified.
(ps-mule-external-libraries): New element FEATURE.
(ps-mule-init-external-library): Ajusted for the above change.
(ps-mule-generate-font): Likewise.
(ps-mule-generate-glyphs): Likewise.
(ps-mule-prepare-font): Likewise.
(ps-mule-initialize): Likewise.
(ps-begin-file): Superfluous tailing parenthesis deleted.

Mule related code moved to ps-mule.el.
(ps-begin-job): While setting ps-control-or-escape-regexp, don't
check ps-mule-charset-list.
(ps-begin-page): Don't set ps-mule-current-charset, instead call
ps-mule-begin-page.
(ps-basic-plot-string): Call ps-mule-prepare-ascii-font.
(ps-plot-region): Don't set ps-mule-current-charset, instead call
ps-mule-set-ascii-font.  Don't call ps-mule-skip-same-charset,
instead skip same charsets by itself.
(ps-generate): Call ps-mule-initialize of needs-begin-file is
non-nil.  Call ps-mule-begin-job.

(ps-print-version): New version number (4.1.2), doc fix
and mule related code extraction. Autoload ps-mule funs.

Define several functions for Emacs 20.2 and the
earlier version.
(ps-printer-name): Check if printer-name is bound.
1998-12-15 06:31:48 +00:00
Kenichi Handa
7bbc9d9f7b (quail-devanagari-compose-characters):
Adjusted for the change of input method handling.
(quail-devanagari-hindi-compose-characters): Likewise.
1998-12-15 04:35:38 +00:00
Kenichi Handa
190ce63427 (x-decompose-font-name): If PATTERN
doesn't have any wild cards, return a vector made from a name that
is found by x-resolve-font-name found.  Comments added.
1998-12-15 04:35:38 +00:00
Kenichi Handa
251d4f4bf9 (find-coding-systems-for-charsets):
Handle the case of unknown charset.
(find-multibyte-characters): If invalid multibyte characters are
found, return the corresponding strings instead of character
codes.
(find-multibyte-characters): Adjusted for the above change.
(select-safe-coding-system): For a unibyte buffer, always returns
DEFAULT-CODING-SYSTEM.
(get-charset-property): Fix previous change.  Make it a function.
(put-charset-property): Make it a function.
1998-12-15 04:35:38 +00:00
Kenichi Handa
d00742a1c6 (make-coding-system): Set mime-charset
property of *-with-esc coding system to nil.
1998-12-15 04:35:38 +00:00
Kenichi Handa
407c6b9441 (quail-point-in-conversion-region): New
function.
(quail-conversion-backward-delete-char): When a key sequence is
being translated, call quail-delete-last-char.
1998-12-15 04:35:38 +00:00
Kenichi Handa
ebcc4e2e77 (devanagari-reorder-glyphs-for-decomposition): Fix the way to
handle devanagari-decomposition-rules.
1998-12-15 04:35:38 +00:00
Kenichi Handa
edf496dd13 Include "ccl.h".
(Fcall_process): Doc-string modified.  Set CODING_MODE_LAST_BLOCK
bit in argument_coding.mode to tell encoding procedure to flush
data.  While encoding arguments, if argument_coding uses CCL
program, initialize it again after encoding.
(Fcall_process_region): Doc-string modified.  Handle the case that
NARGS is 3.
1998-12-15 04:35:38 +00:00
Kenichi Handa
ad3d1b1d67 (CCL_SUCCESS): Don't set ccl->ic.
(ccl_driver) <CCL_End>: Pretend that all source text is consumed.
Set `ic' to the head of this command.
(ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit
code for an invalid code.
(setup_ccl_program): If the arg VEC is nil, skip setting ups
based on VEC.
1998-12-15 04:35:38 +00:00
Kenichi Handa
0282eb6915 (Qunknown): New variable.
(init_charset_once): Intern and staticpro Qunknown.  Initialize
all elements of Vcharset_symbol_table to Qunknown.
(find_charset_in_str): New arg MULTIBYTE.  If it is zero, check
unibyte characters only.  For an invalid composition sequence, set
CHARSETS[1] to 1.
(Ffind_charset_region): Call find_charset_in_str with an
appropriate MULTIBYTE arg.  If undefined charsets are found,
include `unknown' is the return value.
(Ffind_charset_string): Likewise.
(Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'.
(str_cmpchar_id): Max composite character code should be less than
GENERIC_COMPOSITION_CHAR.
1998-12-15 04:35:38 +00:00
Kenichi Handa
8c5b01cc4b (find_charset_in_str): Update declaration. 1998-12-15 04:35:38 +00:00
Kenichi Handa
944bd42004 (DECODE_DESIGNATION): Jump to label_invalid_code if
final_char is invalid.
(decode_coding): If coding->type is coding_type_ccl, call
ccl_coding_driver even if SRC_BYTES is zero.
(code_convert_region): Update `inserted' correctly after calling
coding->post_read_conversion.  Even after the code converter
consumed all source text, call it once more if it is
coding_type_ccl to flush out data.
1998-12-15 04:35:38 +00:00
Kenichi Handa
02a08df0ab (printchar): When outputting a multibyte character to
echo area, always set message_enable_multibyte to 1.
1998-12-15 04:35:38 +00:00
Kenichi Handa
de7fbd0989 (read_process_output): If NBYTES is zero and
CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it
and try decoding again.
(Fprocess_send_eof): If the coding system of PROCESS
requires flushing, call send_process with null-string at first.
1998-12-15 04:35:38 +00:00
Kenichi Handa
c91beee236 (Finsert_file_contents): Even if INSERTED is zero, if
CODING is handled by CCL program, call code_convert_region.
1998-12-15 04:35:38 +00:00
Kenichi Handa
67bfe42d76 (string_char_to_byte): Handle invalid multibyte sequence
correctly.
(string_byte_to_char): Likesize.
1998-12-15 04:35:38 +00:00
Kenichi Handa
040272ceb2 (search_buffer): Don't use Boyer-Moore
to search for an invalid multibyte code.
In unibyte case, no need to check whether there are translations
in more than one charset; just set charset_base to 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
42912be360 (Fw16_set_clipboard_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
2798f18161 (Fw32_set_clipboard_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Kenichi Handa
666273c2f0 (lisp_data_to_selection_data): Call find_charset_in_str
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Dave Love
096d416ffb Somewhat edited copy of the most recently posted version. 1998-12-14 18:49:34 +00:00
Andreas Schwab
3654a3512a (texinfo-tex-buffer): Bind
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
1998-12-14 10:17:50 +00:00
Andrew Innes
2602d1eaac (nntp-request-group): Undo previous change (4xx and 5xx responses are
already handled properly).
1998-12-14 09:03:04 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Karl Heuer
fb98fa17e4 Initial revision 1998-12-14 03:18:06 +00:00
Karl Heuer
ae212837e6 Update address. 1998-12-14 03:14:15 +00:00
Karl Heuer
d914bed56b (compilation-error-regexp-alist): Insist on a non-digit in the file name. 1998-12-14 03:12:21 +00:00
Karl Heuer
e228c7e2d4 (compilation-error-regexp-alist): Fix regexp to match
"ChangeLog:1:1998-12-09 ..."
1998-12-14 03:06:46 +00:00
Karl Heuer
4044f85325 (comment-region): Handle comment-padding
separately for insertion and for deletion, in the right way for each.
1998-12-14 02:50:10 +00:00
Eli Zaretskii
b78fba0277 (dos-unsupported-char-glyph): Add. 1998-12-13 11:26:30 +00:00
Dave Love
78b6524e5c (find-function-search-for-symbol):
Remove unnecessary test on `library' for explicit file name.
Widen scope of save-match-data.
1998-12-11 17:42:56 +00:00
Dave Love
645ff508dd (fortran-font-lock-keywords-1): Warp
forward-sexp in condition-case.
1998-12-11 17:40:18 +00:00
Eli Zaretskii
7d2767808e (load-with-code-conversion): If the loaded
file was inserted  with no-conversion or raw-text coding system,
make the buffer unibyte.
1998-12-10 13:37:02 +00:00
Geoff Voelker
dabe36a823 (LOCALTIME_CACHE): Define. 1998-12-10 06:41:00 +00:00
Geoff Voelker
4f8ac0b2d6 (w32_get_long_filename): Handle root dirs correctly. 1998-12-10 05:43:07 +00:00
Karl Heuer
b283f79ec7 Doc fixes. 1998-12-10 04:25:07 +00:00
Karl Heuer
d2c1d7a8d1 *** empty log message *** 1998-12-10 03:35:46 +00:00
Karl Heuer
c63ae7f26e (cc-imenu-java-generic-expression): Get rid of nested loops. 1998-12-10 03:27:31 +00:00
Karl Heuer
4e363e7e63 (mouse-drag-vertical-line):
If WHICH-SIDE is not `right', then scroll bars are on the left.
1998-12-10 03:26:25 +00:00
Karl Heuer
0f619a4126 (symbol-file-load-history-loaded): Variable renamed,
and defvar moved from loadhist.el.
(symbol-file): Renamed from describe-function-find-file.
Load fns-VERSION.el here.
(describe-variable, describe-function-1): Use symbol-file.
1998-12-10 03:25:33 +00:00
Karl Heuer
e88b8369a6 (load-history-loaded): defvar moved to help.el. 1998-12-10 03:25:15 +00:00
Karl Heuer
12b0f4514b (dirtrack-directory-change-hook): New hook.
(dirtrack): Run it.  Make debug message more verbose.
1998-12-10 03:24:19 +00:00
Karl Heuer
4468c4f1cf (insert_from_buffer_1): Properly count the size
of output from conversion to multibyte even when input
is split across the gap.
1998-12-10 03:19:37 +00:00
Karl Heuer
f5cdb8516a (tex-generate-zap-file-name): Don't start the name with #. 1998-12-10 03:17:51 +00:00
Karl Heuer
aa82f4fbdf (octave-abbrev-start): Use the correct
name of the abbrev table, and provide support for XEmacs.
(octave-xemacs-p): New variable.
1998-12-10 03:15:25 +00:00
Karl Heuer
cbef329574 Take out the eval-when's. 1998-12-10 03:11:59 +00:00
Karl Heuer
d18b62f211 (re_compile_fastmap): For anychar, set all fastmap
elements for all possible unibyte chars (except newline).
1998-12-10 03:09:12 +00:00
Karl Heuer
538b98473f (sendmail-send-it): Don't wait for sendmail to
exit when mail-interactive is nil.
1998-12-10 03:07:35 +00:00