annotate msdos/sed6.inp @ 102422:82f82b92314e

(CODING_ISO_CMP_STATUS): New macro. (CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros. (MAX_ANNOTATION_LENGTH): Defined to 5. (ADD_COMPOSITION_DATA): New arg nbytes. (emacs_mule_char): New arg cmp_status. (DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it. (DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c. (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c. (DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c. (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise. (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise. (DECODE_EMACS_MULE_COMPOSITION_START): New macro. (EMACS_MULE_COMPOSITION_END): New macro. (emacs_mule_finish_composition): New function. (EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro. (decode_coding_emacs_mule): Avoid long looking ahead while handling composition. (DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes. (ENCODE_COMPOSITION_RULE): New macro. (finish_composition): New function. (MAYBE_FINISH_COMPOSITION): Call finish_composition. (DECODE_COMPOSITION_START): New implementation. (DECODE_COMPOSITION_END): Likewise. (STORE_COMPOSITION_RULE): New macro. (decode_coding_iso_2022): Avoid long looking ahead while handling composition, CTEXT extended segment, and embedded UTF-8. (setup_coding_system): For a coding of type iso-2022, reset CODING_ISO_EXTSEGMENT_LEN (coding) and CODING_ISO_EMBEDDED_UTF_8 (coding). (get_translation): Delete arguments last_block, from_nchars, to_nchars. Callers changed. (produce_chars): Don't modify charbuf. Adjusted for the change of get_translation. (produce_composition): Adjusted for the new annotation sequence. (handle_composition_annotation): Likewise. (consume_chars): Adjusted for the change of get_translation.
author Kenichi Handa <handa@m17n.org>
date Fri, 06 Mar 2009 07:51:52 +0000
parents dc97fcf1ed7e
children 1d1d5d9bd884
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40880
3e7c2acdb425 (texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
1 # -sed6.inp------------------------------------------------------------------
85044
f78be8e419a9 Update comment to reflect doc directory structure.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
2 # Configuration script for doc/emacs/Makefile, doc/lispref/Makefile,
f78be8e419a9 Update comment to reflect doc directory structure.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
3 # doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x
40880
3e7c2acdb425 (texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
4 # ---------------------------------------------------------------------------
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
5 #
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
6 # Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004,
100956
dc97fcf1ed7e Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 99580
diff changeset
7 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
8 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
9 # This file is part of GNU Emacs.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
10 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
11 # This file is free software; as a special exception, the author gives
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
12 # unlimited permission to copy and/or distribute it, with or without
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
13 # modifications, as long as this notice is preserved.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
14 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
15 # This program is distributed in the hope that it will be useful,
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
18 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 28972
diff changeset
19 # ----------------------------------------------------------------------
20283
e69cf70835f9 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 /^srcdir *=/s/@[^@\n]*@/./
e69cf70835f9 Initial revision
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 /^VPATH *=/s/@[^@\n]*@/./
28972
b77f0b29fdb9 Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents: 20283
diff changeset
22 /^ENVADD/c\
b77f0b29fdb9 Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents: 20283
diff changeset
23 ENVADD =\
b77f0b29fdb9 Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents: 20283
diff changeset
24 export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\
b77f0b29fdb9 Changes to allow "make foo.dvi" on DJGPP platforms:
Eli Zaretskii <eliz@gnu.org>
parents: 20283
diff changeset
25 export MAKEINFO := $(MAKEINFO) -I$(srcdir)
40880
3e7c2acdb425 (texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
26 /^texinputdir/c\
3e7c2acdb425 (texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
27 texinputdir =\
3e7c2acdb425 (texinputdir): Add, for the lispref directory.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
28 export texinputdir := $(srcdir)";"$(TEXINPUTS)
41426
14bc899ea288 (SHELL): Comment away, for lispintro.
Eli Zaretskii <eliz@gnu.org>
parents: 40880
diff changeset
29 /^SHELL *=/s/^/# /
52356
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
30 /^elisp.dvi:/,/^$/ {
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
31 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
32 command.com /c 'if not a${permuted_index}==a sh ./permute-index' \
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
33 command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
34 command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
35 command.com /c 'if a${permuted_index}==a texindex elisp.??'
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
36 }
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
37 /^index.texi:/,/^$/ {
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
38 /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
39 command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
40 command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi'
76e8f941998a (elisp.dvi, index.texi): Replace Unix shell commands with equivalent
Eli Zaretskii <eliz@gnu.org>
parents: 41426
diff changeset
41 }
99580
0a4e0a4890cb Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents: 87649
diff changeset
42 /^maintainer-clean:/,/^$/ {
0a4e0a4890cb Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents: 87649
diff changeset
43 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
0a4e0a4890cb Edit out Unixy shell features in maintainer-clean targets in doc/ Makefiles.
Eli Zaretskii <eliz@gnu.org>
parents: 87649
diff changeset
44 }
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 52356
diff changeset
45
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 52356
diff changeset
46 # arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97