Mercurial > emacs
view etc/e/eterm-color.ti @ 105885:8103235103a7
Let integers use up 2 tags to give them one extra bit and double their range.
* lisp.h (USE_2_TAGS_FOR_INTS): New macro.
(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros.
(enum Lisp_Type): Use them. Give explicit values.
(Lisp_Type_Limit): Remove.
(XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
(MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
Pay attention to USE_2_TAGS_FOR_INTS.
(INTEGERP): Use LISP_INT_TAG_P.
* fns.c (internal_equal): Simplify the default case.
(sxhash): Use case_Lisp_Int.
* data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more.
(Ftype_of): Use case_Lisp_Int.
(store_symval_forwarding): Take into account the fact that Ints can
now have more than one tag.
* buffer.c (syms_of_buffer): Use LISP_INT_TAG.
buffer_slot_type_mismatch):
* xfaces.c (face_attr_equal_p):
* print.c (print_object):
* alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 06 Nov 2009 18:47:48 +0000 |
parents | ffb29f8afea3 |
children |
line wrap: on
line source
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96, # # The code here is forced by the interface, and is not subject to # copyright, constituting the only possible expression of the algorithm # in this format. # # When updating this file, etc/e/eterm-color should be regenerated by # running "make e/eterm-color" in the etc directory. # Any change to this file should be done at the same time with a # corresponding change to the TERMCAP evironment variable in term.el. # Comments in term.el specify where each of these capabilities is implemented. colors#8, cols#80, lines#24, pairs#64, am, mir, msgr, xenl, bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr, cub1=\b, cub=\E[%p1%dD, cud1=\n, cud=\E[%p1%dB, cuf1=\E[C, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cuu=\E[%p1%dA, dch1=\E[P, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM, ed=\E[J, el1=\E[1K, el=\E[K, home=\E[H, ht=\t, ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL, ind=\n, invis=\E[8m, kbs=^?, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm, sgr0=\E[m, smir=\E[4h, smul=\E[4m, smso=\E[7m, u6=\E[%i%d;%dR, u7=\E[6n, # smcup=\E[?47h, # rmcup=\E[?47l, # rs2 may need to be added