Mercurial > hg > xemacs-beta
annotate lisp/mule/tibetan.el @ 1204:e22b0213b713
[xemacs-hg @ 2003-01-12 11:07:58 by michaels]
modules/ChangeLog:
2002-12-16 Ben Wing <ben@xemacs.org>
* postgresql/postgresql.c:
remove ifdef USE_KKCC.
src/ChangeLog:
2003-01-08 Mike Sperber <mike@xemacs.org>
* console.h (CDFW_CONSOLE): Don't lead to a crash if we're dealing
with a dead window/frame/device/console.
2002-12-20 Mike Sperber <mike@xemacs.org>
* ui-gtk.c: Fix typo from Ben's patch: emacs_ffi_data is a
typedef, not a struct. emacs_gtk_object_data is a typedef, not a
struct.
* gtk-glue.c (gdk_event_to_emacs_event): Fix typos from Ben's
patch: le -> emacs_event + rearrange the code.
* event-gtk.c (gtk_event_to_emacs_event): Fix typos from Ben's
patch: ..._UNDERLYING_GDK_EVENT -> ..._GDK_EVENT, ev -> key_event.
* device-gtk.c: Fix typo from Ben's patch: x_keysym_map_hash_table
-> x_keysym_map_hashtable.
2002-12-19 Mike Sperber <mike@xemacs.org>
* menubar-x.c (set_frame_menubar): Initialize protect_me field of
popup_data.
2002-12-16 Ben Wing <ben@xemacs.org>
Major cleanup of KKCC, etc.
KKCC, pdump-related:
-- descriptions are written for all objects. this required some
changes in the format of some objects, e.g. extents, popup-data,
coding system, lstream, lcrecord-list.
-- KKCC now handles weakness in markers, hash tables, elsewhere
correctly (formerly, you'd eventually get a stack overflow due
to endlessly expanding markers).
-- textual changes: lrecord_description -> memory_description,
struct_description -> sized_memory_description.
-- extensive comment describing descriptions and pdump.
-- redo XD_UNION so it works inline and change its format to provide
sufficient info for pdump. implement XD_UNION in pdump. also add
XD_UNION_DYNAMIC_SIZE, which works like XD_UNION except for when
auto-computing structure sizes.
-- add support for XD_INDIRECT in description offsets (used by
extents).
-- add support for "description maps", allowing for indirect
descriptions that are retrieved from an object at run-time. this
generalizes XD_CODING_SYSTEM_END, XD_SPECIFIER_END, etc., which
have now been eliminated.
-- add a fifth field "flags" to memory_description, to support flags
that can be specified for this particular line. Currently defined
flags are XD_FLAG_NO_KKCC (KKCC should ignore this entry; useful
for the weakness above in markers, etc.), XD_FLAG_NO_PDUMP (pdump
should ignore this entry), XD_FLAG_UNION_DEFAULT_ENTRY (in
union maps, this specifies a "default" entry for all remaining
values), and XD_FLAG_FREE_LISP_OBJECT (for use with lcrecord-lists).
-- clean up the kkcc-itis in events, so that the differences
between event data as separate objects and as a union are now
minimized to a small number of places. with the new XD_UNION, we
no longer need event data as separate objects, so this code is no
longer ifdef USE_KKCC, but instead ifdef EVENT_DATA_AS_OBJECTS,
not used by default. make sure that we explicitly free the
separate event data objects when no longer in use, to maintain the
invariant the event processing causes no consing.
-- also remove other USE_KKCC ifdefs when not necessary.
-- allow for KKCC compilation under MS Windows.
-- fix README.kkcc.
-- dump_add_root_object -> dump_add_root_lisp_object.
-- implement dump_add_root_block and use this to handle
dump_add_opaque.
-- factor out some code duplicated in kkcc and pdump.
Other allocation/object-related:
-- change various *slots.h so MARKED_SLOT() call no longer
includes semicolon.
-- free_marker() takes a Lisp_Object not a direct pointer.
-- make bit vectors lcrecords, like vectors, and eliminate code
that essentially duplicated the lcrecord handling.
-- additional asserts in FREE_FIXED_TYPE, formerly duplicated in
the various callers of this.
-- all lcrecord allocation functions now zero out the returned
lcrecords. unnecessary calls to zero_lcrecord removed. add long
comment describing these functions.
-- extract out process and coding system slots, like for buffers,
frames, etc.
-- lcrecords now set the type of items sitting on the free list to
lcrecord_type_free.
-- changes to the way that gap arrays are allocated, for kkcc's
benefit -- now, one single memory block with a stretchy array on
the end, instead of a separate block holding the array.
Error-checking-related:
-- now can compile with C++ under MS Windows. clean up compile errors
discovered that way. (a few were real problems)
-- add C++ error-checking code to verify problems with mismatched
GCPRO/UNGCPRO. (there were a few in the kkcc code.) add long
comment about how to catch insufficient GCPRO (yes, it's possible
using C++).
-- add debug_p4(), a simple object printer, when debug_print()
doesn't work.
-- add dp() and db() as short synonyms of debug_print(),
debug_backtrace().
-- `print' tries EXTREMELY hard to avoid core dumping when printing
when crashing or from debug_print(), and tries as hard as it
reasonably can in other situations.
-- Correct the message output upon crashing to be more up-to-date.
Event-related:
-- document event-matches-key-specifier-p better.
-- generalize the dispatch queues formerly duplicated in the
various event implementations. add event methods to drain pending
events. generalize and clean up QUIT handling, removing
event-specific quit processing. allow arbitrary keystrokes, not
just ASCII, to be the QUIT char. among other things, this should
fix some longstanding bugs in X quit handling. long comment
describing the various event queues.
-- implement delaying of XFlush() if there are pending expose events.
SOMEONE PLEASE TRY THIS OUT.
-- Fix `xemacs -batch -l dunnet' under Cygwin. Try to fix under
MS Windows but not quite there yet.
Other:
-- class -> class_ and no more C++ games with this item.
new -> new_ in the lwlib code, so far not elsewhere.
-- use `struct htentry' not `struct hentry' in elhash.c to avoid
debugger confusion with hash.c.
-- new macros ALIST_LOOP_3, ALIST_LOOP_4.
* README.kkcc:
* alloc.c:
* alloc.c (deadbeef_memory):
* alloc.c (allocate_lisp_storage):
* alloc.c (copy_lisp_object):
* alloc.c (ALLOCATE_FIXED_TYPE_1):
* alloc.c (FREE_FIXED_TYPE):
* alloc.c (make_vector_internal):
* alloc.c (make_bit_vector_internal):
* alloc.c (make_key_data):
* alloc.c (make_button_data):
* alloc.c (make_motion_data):
* alloc.c (make_process_data):
* alloc.c (make_timeout_data):
* alloc.c (make_magic_data):
* alloc.c (make_magic_eval_data):
* alloc.c (make_eval_data):
* alloc.c (make_misc_user_data):
* alloc.c (struct string_chars_block):
* alloc.c (mark_lcrecord_list):
* alloc.c (make_lcrecord_list):
* alloc.c (alloc_managed_lcrecord):
* alloc.c (free_managed_lcrecord):
* alloc.c (alloc_automanaged_lcrecord):
* alloc.c (staticpro_1):
* alloc.c (staticpro):
* alloc.c (lispdesc_indirect_count_1):
* alloc.c (lispdesc_indirect_description_1):
* alloc.c (lispdesc_one_description_line_size):
* alloc.c (lispdesc_structure_size):
* alloc.c (mark_object_maybe_checking_free):
* alloc.c (mark_with_description):
* alloc.c (mark_struct_contents):
* alloc.c (mark_object):
* alloc.c (tick_lcrecord_stats):
* alloc.c (free_cons):
* alloc.c (free_key_data):
* alloc.c (free_button_data):
* alloc.c (free_motion_data):
* alloc.c (free_process_data):
* alloc.c (free_timeout_data):
* alloc.c (free_magic_data):
* alloc.c (free_magic_eval_data):
* alloc.c (free_eval_data):
* alloc.c (free_misc_user_data):
* alloc.c (free_marker):
* alloc.c (compact_string_chars):
* alloc.c (gc_sweep):
* alloc.c (garbage_collect_1):
* alloc.c (Fgarbage_collect):
* alloc.c (common_init_alloc_early):
* alloc.c (init_alloc_early):
* alloc.c (init_alloc_once_early):
* buffer.c:
* buffer.c (mark_buffer):
* buffer.c (MARKED_SLOT):
* buffer.c (cleanup_buffer_undo_lists):
* buffer.c (Fget_file_buffer):
* buffer.h (MARKED_SLOT):
* bufslots.h:
* bytecode.c:
* callint.c:
* casetab.c:
* chartab.c:
* chartab.c (symbol_to_char_table_type):
* cmdloop.c:
* cmdloop.c (Fcommand_loop_1):
* config.h.in (new):
* conslots.h:
* console-gtk-impl.h (struct gtk_frame):
* console-impl.h:
* console-impl.h (struct console):
* console-impl.h (MARKED_SLOT):
* console-impl.h (CONSOLE_QUIT_EVENT):
* console-msw-impl.h (XM_BUMPQUEUE):
* console-msw.c (write_string_to_mswindows_debugging_output):
* console-msw.h:
* console-stream-impl.h:
* console-stream-impl.h (struct stream_console):
* console-stream.c:
* console-stream.c (stream_init_console):
* console-stream.h:
* console-tty.c:
* console-tty.h:
* console-x.h:
* console.c:
* console.c (mark_console):
* console.c (MARKED_SLOT):
* console.c (allocate_console):
* console.c (get_console_variant):
* console.c (create_console):
* console.c (delete_console_internal):
* console.c (Fset_input_mode):
* console.c (Fcurrent_input_mode):
* console.c (common_init_complex_vars_of_console):
* console.h:
* console.h (console_variant):
* console.h (device_metrics):
* data.c:
* data.c (Faref):
* data.c (Faset):
* data.c (decode_weak_list_type):
* database.c:
* debug.c (xemacs_debug_loop):
* debug.c (FROB):
* debug.c (Fadd_debug_class_to_check):
* debug.c (Fdelete_debug_class_to_check):
* debug.c (Fset_debug_classes_to_check):
* debug.c (Fset_debug_class_types_to_check):
* debug.c (Fdebug_types_being_checked):
* debug.h (DASSERT):
* device-gtk.c:
* device-impl.h (struct device):
* device-impl.h (MARKED_SLOT):
* device-msw.c:
* device-x.c:
* device-x.c (x_init_device_class):
* device-x.c (x_comp_visual_info):
* device-x.c (x_try_best_visual_class):
* device-x.c (x_init_device):
* device-x.c (construct_name_list):
* device-x.c (x_get_resource_prefix):
* device-x.c (Fx_get_resource):
* device-x.c (Fx_display_visual_class):
* device.c:
* device.c (MARKED_SLOT):
* device.c (allocate_device):
* device.c (Fmake_device):
* device.c (delete_device_internal):
* device.c (Fset_device_class):
* device.h:
* devslots.h:
* devslots.h (MARKED_SLOT):
* dialog-msw.c:
* dired-msw.c (mswindows_ls_sort_fcn):
* dired-msw.c (mswindows_get_files):
* dired-msw.c (mswindows_format_file):
* doprnt.c (parse_doprnt_spec):
* dumper.c:
* dumper.c (struct):
* dumper.c (dump_add_root_block):
* dumper.c (dump_add_root_struct_ptr):
* dumper.c (dump_add_root_lisp_object):
* dumper.c (pdump_struct_list_elt):
* dumper.c (pdump_get_entry_list):
* dumper.c (pdump_backtrace):
* dumper.c (pdump_bump_depth):
* dumper.c (pdump_register_sub):
* dumper.c (pdump_register_object):
* dumper.c (pdump_register_struct_contents):
* dumper.c (pdump_register_struct):
* dumper.c (pdump_store_new_pointer_offsets):
* dumper.c (pdump_dump_data):
* dumper.c (pdump_reloc_one):
* dumper.c (pdump_allocate_offset):
* dumper.c (pdump_scan_by_alignment):
* dumper.c (pdump_dump_root_blocks):
* dumper.c (pdump_dump_rtables):
* dumper.c (pdump_dump_root_lisp_objects):
* dumper.c (pdump):
* dumper.c (pdump_load_finish):
* dumper.c (pdump_file_get):
* dumper.c (pdump_resource_get):
* dumper.c (pdump_load):
* editfns.c (save_excursion_restore):
* editfns.c (user_login_name):
* editfns.c (save_restriction_restore):
* elhash.c:
* elhash.c (htentry):
* elhash.c (struct Lisp_Hash_Table):
* elhash.c (HTENTRY_CLEAR_P):
* elhash.c (LINEAR_PROBING_LOOP):
* elhash.c (check_hash_table_invariants):
* elhash.c (mark_hash_table):
* elhash.c (hash_table_equal):
* elhash.c (print_hash_table_data):
* elhash.c (free_hentries):
* elhash.c (make_general_lisp_hash_table):
* elhash.c (decode_hash_table_weakness):
* elhash.c (decode_hash_table_test):
* elhash.c (Fcopy_hash_table):
* elhash.c (resize_hash_table):
* elhash.c (pdump_reorganize_hash_table):
* elhash.c (find_htentry):
* elhash.c (Fgethash):
* elhash.c (Fputhash):
* elhash.c (remhash_1):
* elhash.c (Fremhash):
* elhash.c (Fclrhash):
* elhash.c (copy_compress_hentries):
* elhash.c (elisp_maphash_unsafe):
* elhash.c (finish_marking_weak_hash_tables):
* elhash.c (prune_weak_hash_tables):
* elhash.h:
* emacs.c:
* emacs.c (main_1):
* emacs.c (main):
* emacs.c (shut_down_emacs):
* emodules.h (dump_add_root_lisp_object):
* eval.c:
* eval.c (unwind_to_catch):
* eval.c (maybe_signal_error_1):
* eval.c (maybe_signal_continuable_error_1):
* eval.c (maybe_signal_error):
* eval.c (maybe_signal_continuable_error):
* eval.c (maybe_signal_error_2):
* eval.c (maybe_signal_continuable_error_2):
* eval.c (maybe_signal_ferror):
* eval.c (maybe_signal_continuable_ferror):
* eval.c (maybe_signal_ferror_with_frob):
* eval.c (maybe_signal_continuable_ferror_with_frob):
* eval.c (maybe_syntax_error):
* eval.c (maybe_sferror):
* eval.c (maybe_invalid_argument):
* eval.c (maybe_invalid_constant):
* eval.c (maybe_invalid_operation):
* eval.c (maybe_invalid_change):
* eval.c (maybe_invalid_state):
* eval.c (Feval):
* eval.c (call_trapping_problems):
* eval.c (call_with_suspended_errors):
* eval.c (warn_when_safe_lispobj):
* eval.c (warn_when_safe):
* eval.c (vars_of_eval):
* event-Xt.c:
* event-Xt.c (maybe_define_x_key_as_self_inserting_character):
* event-Xt.c (x_to_emacs_keysym):
* event-Xt.c (x_event_to_emacs_event):
* event-Xt.c (emacs_Xt_enqueue_focus_event):
* event-Xt.c (emacs_Xt_format_magic_event):
* event-Xt.c (emacs_Xt_compare_magic_event):
* event-Xt.c (emacs_Xt_hash_magic_event):
* event-Xt.c (emacs_Xt_handle_magic_event):
* event-Xt.c (Xt_timeout_to_emacs_event):
* event-Xt.c (Xt_process_to_emacs_event):
* event-Xt.c (signal_special_Xt_user_event):
* event-Xt.c (emacs_Xt_next_event):
* event-Xt.c (emacs_Xt_event_handler):
* event-Xt.c (emacs_Xt_drain_queue):
* event-Xt.c (emacs_Xt_event_pending_p):
* event-Xt.c (check_if_pending_expose_event):
* event-Xt.c (reinit_vars_of_event_Xt):
* event-Xt.c (vars_of_event_Xt):
* event-gtk.c:
* event-gtk.c (IS_MODIFIER_KEY):
* event-gtk.c (emacs_gtk_format_magic_event):
* event-gtk.c (emacs_gtk_compare_magic_event):
* event-gtk.c (emacs_gtk_hash_magic_event):
* event-gtk.c (emacs_gtk_handle_magic_event):
* event-gtk.c (gtk_to_emacs_keysym):
* event-gtk.c (gtk_timeout_to_emacs_event):
* event-gtk.c (gtk_process_to_emacs_event):
* event-gtk.c (dragndrop_data_received):
* event-gtk.c (signal_special_gtk_user_event):
* event-gtk.c (emacs_gtk_next_event):
* event-gtk.c (gtk_event_to_emacs_event):
* event-gtk.c (generic_event_handler):
* event-gtk.c (emacs_shell_event_handler):
* event-gtk.c (emacs_gtk_drain_queue):
* event-gtk.c (emacs_gtk_event_pending_p):
* event-gtk.c (reinit_vars_of_event_gtk):
* event-gtk.c (vars_of_event_gtk):
* event-msw.c:
* event-msw.c (struct winsock_stream):
* event-msw.c (winsock_reader):
* event-msw.c (winsock_writer):
* event-msw.c (mswindows_enqueue_dispatch_event):
* event-msw.c (mswindows_enqueue_misc_user_event):
* event-msw.c (mswindows_enqueue_magic_event):
* event-msw.c (mswindows_enqueue_process_event):
* event-msw.c (mswindows_enqueue_mouse_button_event):
* event-msw.c (mswindows_enqueue_keypress_event):
* event-msw.c (mswindows_dequeue_dispatch_event):
* event-msw.c (emacs_mswindows_drain_queue):
* event-msw.c (mswindows_need_event_in_modal_loop):
* event-msw.c (mswindows_need_event):
* event-msw.c (mswindows_wm_timer_callback):
* event-msw.c (dde_eval_string):
* event-msw.c (Fdde_alloc_advise_item):
* event-msw.c (mswindows_dde_callback):
* event-msw.c (mswindows_wnd_proc):
* event-msw.c (remove_timeout_mapper):
* event-msw.c (emacs_mswindows_remove_timeout):
* event-msw.c (emacs_mswindows_event_pending_p):
* event-msw.c (emacs_mswindows_format_magic_event):
* event-msw.c (emacs_mswindows_compare_magic_event):
* event-msw.c (emacs_mswindows_hash_magic_event):
* event-msw.c (emacs_mswindows_handle_magic_event):
* event-msw.c (emacs_mswindows_select_console):
* event-msw.c (emacs_mswindows_unselect_console):
* event-msw.c (reinit_vars_of_event_mswindows):
* event-msw.c (vars_of_event_mswindows):
* event-stream.c:
* event-stream.c (mark_command_builder):
* event-stream.c (reset_command_builder_event_chain):
* event-stream.c (allocate_command_builder):
* event-stream.c (copy_command_builder):
* event-stream.c (command_builder_append_event):
* event-stream.c (event_stream_event_pending_p):
* event-stream.c (event_stream_force_event_pending):
* event-stream.c (maybe_read_quit_event):
* event-stream.c (event_stream_drain_queue):
* event-stream.c (remove_quit_p_event):
* event-stream.c (event_stream_quit_p):
* event-stream.c (echo_key_event):
* event-stream.c (maybe_kbd_translate):
* event-stream.c (execute_help_form):
* event-stream.c (event_stream_generate_wakeup):
* event-stream.c (enqueue_dispatch_event):
* event-stream.c (enqueue_magic_eval_event):
* event-stream.c (Fenqueue_eval_event):
* event-stream.c (enqueue_misc_user_event):
* event-stream.c (enqueue_misc_user_event_pos):
* event-stream.c (next_event_internal):
* event-stream.c (Fnext_event):
* event-stream.c (Faccept_process_output):
* event-stream.c (execute_internal_event):
* event-stream.c (munge_keymap_translate):
* event-stream.c (command_builder_find_leaf_no_mule_processing):
* event-stream.c (command_builder_find_leaf):
* event-stream.c (lookup_command_event):
* event-stream.c (is_scrollbar_event):
* event-stream.c (execute_command_event):
* event-stream.c (Fdispatch_event):
* event-stream.c (Fread_key_sequence):
* event-stream.c (dribble_out_event):
* event-stream.c (vars_of_event_stream):
* event-tty.c (tty_timeout_to_emacs_event):
* event-tty.c (emacs_tty_next_event):
* event-tty.c (emacs_tty_drain_queue):
* event-tty.c (reinit_vars_of_event_tty):
* event-unixoid.c:
* event-unixoid.c (find_tty_or_stream_console_from_fd):
* event-unixoid.c (read_event_from_tty_or_stream_desc):
* event-unixoid.c (drain_tty_devices):
* event-unixoid.c (poll_fds_for_input):
* events.c:
* events.c (deinitialize_event):
* events.c (zero_event):
* events.c (mark_event):
* events.c (print_event_1):
* events.c (print_event):
* events.c (event_equal):
* events.c (event_hash):
* events.c (Fmake_event):
* events.c (Fdeallocate_event):
* events.c (Fcopy_event):
* events.c (map_event_chain_remove):
* events.c (character_to_event):
* events.c (event_to_character):
* events.c (Fevent_to_character):
* events.c (format_event_object):
* events.c (upshift_event):
* events.c (downshift_event):
* events.c (event_upshifted_p):
* events.c (Fevent_live_p):
* events.c (Fevent_type):
* events.c (Fevent_timestamp):
* events.c (CHECK_EVENT_TYPE):
* events.c (CHECK_EVENT_TYPE2):
* events.c (CHECK_EVENT_TYPE3):
* events.c (Fevent_key):
* events.c (Fevent_button):
* events.c (Fevent_modifier_bits):
* events.c (event_x_y_pixel_internal):
* events.c (event_pixel_translation):
* events.c (Fevent_process):
* events.c (Fevent_function):
* events.c (Fevent_object):
* events.c (Fevent_properties):
* events.c (syms_of_events):
* events.c (vars_of_events):
* events.h:
* events.h (struct event_stream):
* events.h (struct Lisp_Key_Data):
* events.h (KEY_DATA_KEYSYM):
* events.h (EVENT_KEY_KEYSYM):
* events.h (struct Lisp_Button_Data):
* events.h (EVENT_BUTTON_BUTTON):
* events.h (struct Lisp_Motion_Data):
* events.h (EVENT_MOTION_X):
* events.h (struct Lisp_Process_Data):
* events.h (EVENT_PROCESS_PROCESS):
* events.h (struct Lisp_Timeout_Data):
* events.h (EVENT_TIMEOUT_INTERVAL_ID):
* events.h (struct Lisp_Eval_Data):
* events.h (EVENT_EVAL_FUNCTION):
* events.h (struct Lisp_Misc_User_Data):
* events.h (EVENT_MISC_USER_FUNCTION):
* events.h (struct Lisp_Magic_Eval_Data):
* events.h (EVENT_MAGIC_EVAL_INTERNAL_FUNCTION):
* events.h (struct Lisp_Magic_Data):
* events.h (EVENT_MAGIC_UNDERLYING):
* events.h (EVENT_MAGIC_GDK_EVENT):
* events.h (struct Lisp_Event):
* events.h (XEVENT_CHANNEL):
* events.h (SET_EVENT_TIMESTAMP_ZERO):
* events.h (SET_EVENT_CHANNEL):
* events.h (SET_EVENT_NEXT):
* events.h (XSET_EVENT_TYPE):
* events.h (struct command_builder):
* extents.c:
* extents.c (gap_array_adjust_markers):
* extents.c (gap_array_recompute_derived_values):
* extents.c (gap_array_move_gap):
* extents.c (gap_array_make_gap):
* extents.c (gap_array_insert_els):
* extents.c (gap_array_delete_els):
* extents.c (gap_array_make_marker):
* extents.c (gap_array_delete_marker):
* extents.c (gap_array_move_marker):
* extents.c (make_gap_array):
* extents.c (free_gap_array):
* extents.c (extent_list_num_els):
* extents.c (extent_list_insert):
* extents.c (mark_extent_auxiliary):
* extents.c (allocate_extent_auxiliary):
* extents.c (decode_extent_at_flag):
* extents.c (verify_extent_mapper):
* extents.c (symbol_to_glyph_layout):
* extents.c (syms_of_extents):
* faces.c:
* file-coding.c:
* file-coding.c (struct_detector_category_description =):
* file-coding.c (detector_category_dynarr_description_1):
* file-coding.c (struct_detector_description =):
* file-coding.c (detector_dynarr_description_1):
* file-coding.c (MARKED_SLOT):
* file-coding.c (mark_coding_system):
* file-coding.c (coding_system_extra_description_map):
* file-coding.c (coding_system_description):
* file-coding.c (allocate_coding_system):
* file-coding.c (symbol_to_eol_type):
* file-coding.c (Fcoding_system_aliasee):
* file-coding.c (set_coding_stream_coding_system):
* file-coding.c (struct convert_eol_coding_system):
* file-coding.c (struct undecided_coding_system):
* file-coding.c (undecided_mark_coding_stream):
* file-coding.c (coding_category_symbol_to_id):
* file-coding.c (struct gzip_coding_system):
* file-coding.c (coding_system_type_create):
* file-coding.h:
* file-coding.h (struct Lisp_Coding_System):
* file-coding.h (CODING_SYSTEM_SLOT_DECLARATION):
* file-coding.h (coding_system_variant):
* file-coding.h (struct coding_system_methods):
* file-coding.h (DEFINE_CODING_SYSTEM_TYPE_WITH_DATA):
* file-coding.h (INITIALIZE_CODING_SYSTEM_TYPE_WITH_DATA):
* file-coding.h (struct coding_stream):
* fileio.c (Fsubstitute_in_file_name):
* floatfns.c:
* fns.c:
* fns.c (base64_encode_1):
* frame-gtk.c:
* frame-gtk.c (Fgtk_start_drag_internal):
* frame-impl.h (struct frame):
* frame-impl.h (MARKED_SLOT):
* frame-msw.c:
* frame-x.c:
* frame-x.c (Fcde_start_drag_internal):
* frame-x.c (Foffix_start_drag_internal):
* frame.c:
* frame.c (MARKED_SLOT):
* frame.c (allocate_frame_core):
* frame.c (delete_frame_internal):
* frame.c (Fmouse_position_as_motion_event):
* frameslots.h:
* frameslots.h (MARKED_SLOT_ARRAY):
* free-hook.c:
* glyphs-msw.c (mswindows_widget_instantiate):
* glyphs-x.c:
* glyphs-x.c (convert_EImage_to_XImage):
* glyphs.c:
* glyphs.c (process_image_string_instantiator):
* glyphs.c (mark_image_instance):
* glyphs.c (allocate_image_instance):
* glyphs.c (unmap_subwindow):
* glyphs.c (map_subwindow):
* glyphs.c (syms_of_glyphs):
* glyphs.c (specifier_type_create_image):
* glyphs.h:
* glyphs.h (struct text_image_instance):
* glyphs.h (struct Lisp_Image_Instance):
* gmalloc.c:
* gmalloc.c ("C"):
* gpmevent.c (Freceive_gpm_event):
* gpmevent.c (gpm_next_event_cb):
* gpmevent.c (vars_of_gpmevent):
* gtk-glue.c (gdk_event_to_emacs_event):
* gtk-xemacs.c (gtk_xemacs_class_init):
* gui-msw.c:
* gui-msw.c (mswindows_handle_gui_wm_command):
* gui-msw.c (mswindows_translate_menu_or_dialog_item):
* gui-x.c:
* gui-x.c (mark_popup_data):
* gui-x.c (snarf_widget_value_mapper):
* gui-x.c (gcpro_popup_callbacks):
* gui-x.c (ungcpro_popup_callbacks):
* gui-x.c (free_popup_widget_value_tree):
* gui-x.c (popup_selection_callback):
* gui-x.h:
* gui-x.h (struct popup_data):
* gui.c:
* gui.c (allocate_gui_item):
* gutter.c (decode_gutter_position):
* hash.c (NULL_ENTRY):
* indent.c (vmotion_1):
* indent.c (vmotion_pixels):
* input-method-motif.c (res):
* input-method-xlib.c (IMInstantiateCallback):
* input-method-xlib.c (XIM_init_device):
* input-method-xlib.c (res):
* intl-encap-win32.c:
* intl-encap-win32.c (qxeSHGetDataFromIDList):
* intl-win32.c:
* intl-win32.c (mswindows_multibyte_cp_type):
* intl-win32.c (struct mswindows_multibyte_coding_system):
* keymap.c:
* keymap.c (make_key_description):
* keymap.c (keymap_store):
* keymap.c (get_keyelt):
* keymap.c (keymap_lookup_1):
* keymap.c (define_key_parser):
* keymap.c (key_desc_list_to_event):
* keymap.c (event_matches_key_specifier_p):
* keymap.c (meta_prefix_char_p):
* keymap.c (ensure_meta_prefix_char_keymapp):
* keymap.c (Fdefine_key):
* keymap.c (struct raw_lookup_key_mapper_closure):
* keymap.c (raw_lookup_key):
* keymap.c (raw_lookup_key_mapper):
* keymap.c (lookup_keys):
* keymap.c (lookup_events):
* keymap.c (Flookup_key):
* keymap.c (struct map_keymap_unsorted_closure):
* keymap.c (map_keymap_unsorted_mapper):
* keymap.c (map_keymap_sorted):
* keymap.c (map_keymap_mapper):
* keymap.c (map_keymap):
* keymap.c (accessible_keymaps_mapper_1):
* keymap.c (Faccessible_keymaps):
* keymap.c (Fsingle_key_description):
* keymap.c (raw_keys_to_keys):
* keymap.c (format_raw_keys):
* keymap.c (where_is_recursive_mapper):
* keymap.c (where_is_internal):
* keymap.c (describe_map_mapper_shadow_search):
* keymap.c (keymap_lookup_inherited_mapper):
* keymap.c (describe_map_mapper):
* keymap.h (event_matches_key_specifier_p):
* lisp.h:
* lisp.h (this):
* lisp.h (RETURN_NOT_REACHED):
* lisp.h (struct Lisp_Vector):
* lisp.h (struct Lisp_Bit_Vector):
* lisp.h (UNGCPRO_1):
* lisp.h (NUNGCPRO):
* lisp.h (NNUNGCPRO):
* lisp.h (DECLARE_INLINE_HEADER):
* lrecord.h:
* lrecord.h (struct lrecord_header):
* lrecord.h (struct lcrecord_header):
* lrecord.h (lrecord_type):
* lrecord.h (struct lrecord_implementation):
* lrecord.h (RECORD_DUMPABLE):
* lrecord.h (memory_description_type):
* lrecord.h (data_description_entry_flags):
* lrecord.h (struct memory_description):
* lrecord.h (struct sized_memory_description):
* lrecord.h (XD_INDIRECT):
* lrecord.h (XD_IS_INDIRECT):
* lrecord.h (XD_DYNARR_DESC):
* lrecord.h (DEFINE_BASIC_LRECORD_IMPLEMENTATION):
* lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
* lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION):
* lrecord.h (alloc_lcrecord_type):
* lstream.c:
* lstream.c (Lstream_new):
* lstream.c (lisp_buffer_marker):
* lstream.h:
* lstream.h (lstream_implementation):
* lstream.h (DEFINE_LSTREAM_IMPLEMENTATION):
* lstream.h (DEFINE_LSTREAM_IMPLEMENTATION_WITH_DATA):
* marker.c:
* marker.c (copy_marker_1):
* mem-limits.h:
* menubar-gtk.c:
* menubar-gtk.c (gtk_popup_menu):
* menubar-msw.c:
* menubar-msw.c (mswindows_popup_menu):
* menubar-x.c (make_dummy_xbutton_event):
* menubar-x.c (command_builder_operate_menu_accelerator):
* menubar-x.c (menu_accelerator_safe_compare):
* menubar-x.c (menu_accelerator_safe_mod_compare):
* mule-charset.c:
* mule-charset.c (make_charset):
* mule-charset.c (Fcharset_property):
* mule-coding.c:
* mule-coding.c (ccs_description_1):
* mule-coding.c (ccs_description =):
* mule-coding.c (ccsd_description_1):
* mule-coding.c (ccsd_description =):
* nt.c (getpwnam):
* nt.c (init_mswindows_environment):
* nt.c (get_cached_volume_information):
* nt.c (mswindows_is_executable):
* nt.c (read_unc_volume):
* nt.c (mswindows_access):
* nt.c (mswindows_link):
* nt.c (mswindows_fstat):
* nt.c (mswindows_stat):
* nt.c (mswindows_executable_type):
* nt.c (Fmswindows_short_file_name):
* nt.c (Fmswindows_long_file_name):
* objects-impl.h (struct Lisp_Color_Instance):
* objects-impl.h (struct Lisp_Font_Instance):
* objects-tty.c:
* objects-x.c (allocate_nearest_color):
* objects.c:
* objects.c (Fmake_color_instance):
* objects.c (Fmake_font_instance):
* objects.c (font_instantiate):
* opaque.c:
* opaque.c (make_opaque):
* opaque.c (make_opaque_ptr):
* opaque.c (reinit_opaque_early):
* opaque.c (init_opaque_once_early):
* print.c:
* print.c (printing_badness):
* print.c (printing_major_badness):
* print.c (print_internal):
* print.c (debug_p4):
* print.c (dp):
* print.c (debug_backtrace):
* process-nt.c (nt_create_process):
* process-nt.c (get_internet_address):
* process-unix.c:
* process-unix.c (struct unix_process_data):
* process-unix.c (get_internet_address):
* process-unix.c (unix_alloc_process_data):
* process-unix.c (unix_create_process):
* process-unix.c (try_to_initialize_subtty):
* process-unix.c (unix_kill_child_process):
* process-unix.c (process_type_create_unix):
* process.c:
* process.c (mark_process):
* process.c (MARKED_SLOT):
* process.c (make_process_internal):
* process.c (Fprocess_tty_name):
* process.c (decode_signal):
* process.h:
* procimpl.h:
* procimpl.h (struct process_methods):
* procimpl.h (struct Lisp_Process):
* rangetab.c:
* realpath.c (readlink_and_correct_case):
* redisplay-x.c (x_window_output_end):
* redisplay-x.c (x_redraw_exposed_area):
* redisplay-x.c (x_clear_frame):
* redisplay.c:
* redisplay.h:
* redisplay.h (struct rune_dglyph):
* redisplay.h (struct rune):
* scrollbar.c:
* scrollbar.c (create_scrollbar_instance):
* specifier.c:
* specifier.c (specifier_empty_extra_description_1):
* specifier.c (make_specifier_internal):
* specifier.c (decode_locale_type):
* specifier.c (decode_how_to_add_specification):
* specifier.h:
* specifier.h (struct specifier_methods):
* specifier.h (DEFINE_SPECIFIER_TYPE_WITH_DATA):
* specifier.h (INITIALIZE_SPECIFIER_TYPE_WITH_DATA):
* symbols.c:
* symbols.c (Fsetplist):
* symbols.c (default_value):
* symbols.c (decode_magic_handler_type):
* symbols.c (handler_type_from_function_symbol):
* symbols.c (Fdefvaralias):
* symbols.c (init_symbols_once_early):
* symbols.c (reinit_symbols_early):
* symsinit.h:
* sysdep.c (sys_subshell):
* sysdep.c (tty_init_sys_modes_on_device):
* syswindows.h:
* text.c (dfc_convert_to_external_format):
* text.c (dfc_convert_to_internal_format):
* text.c (reinit_eistring_early):
* text.c (init_eistring_once_early):
* text.c (reinit_vars_of_text):
* text.h:
* text.h (INC_IBYTEPTR_FMT):
* text.h (DEC_IBYTEPTR_FMT):
* toolbar.c:
* toolbar.c (decode_toolbar_position):
* tooltalk.c:
* ui-gtk.c:
* unexnt.c:
* unexnt.c (_start):
* unexnt.c (unexec):
* unexnt.c (get_section_info):
* unicode.c:
* unicode.c (vars_of_unicode):
* window.c:
* window.c (allocate_window):
* window.c (new_window_mirror):
* window.c (update_mirror_internal):
* winslots.h:
author | michaels |
---|---|
date | Sun, 12 Jan 2003 11:08:22 +0000 |
parents | 2923009caf47 |
children | 98af8a976fc3 |
rev | line source |
---|---|
778 | 1 ;;; tibetan.el --- support for Tibetan language -*- coding: iso-2022-7bit; -*- |
771 | 2 |
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
778 | 4 ;; Copyright (C) 2002 Ben Wing. |
771 | 5 ;; Licensed to the Free Software Foundation. |
6 | |
7 ;; Keywords: multilingual, Tibetan | |
8 | |
9 ;; This file is part of XEmacs. | |
10 | |
11 ;; XEmacs is free software; you can redistribute it and/or modify it | |
12 ;; under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; XEmacs is distributed in the hope that it will be useful, but | |
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
19 ;; General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free | |
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
24 ;; 02111-1307, USA. | |
25 | |
778 | 26 ;;; Synched up with: Emacs 21.1 (language/tibetan.el). |
771 | 27 |
28 ;; Author: Toru TOMABECHI, <Toru.Tomabechi@orient.unil.ch> | |
29 | |
30 ;; Created: Feb. 17. 1997 | |
31 | |
32 ;; History: | |
33 ;; 1997.03.13 Modification for special signs and punctuations. | |
34 | |
778 | 35 ;;; Commentary: |
36 | |
771 | 37 ;;; Code: |
38 | |
39 ;;; Tibetan Character set. | |
40 ;;; \x2130 -- \x234a is a subset of Unicode v.2 \x0f00 - \x0fb9 | |
41 ;;; with a slight modification. And there are some subjoined | |
42 ;;; consonants which are not specified in Unicode. | |
43 ;;; I hope I can add missing characters later. | |
44 ;;; | |
45 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
46 ;;;2120 // $(7!!(B $(7!"(B $(7!#(B $(7!$(B $(7!%(B $(7!&(B $(7!'(B $(7!((B $(7!)(B $(7!*(B $(7!+(B $(7!,(B $(7!-(B $(7!.(B $(7!/(B ; obsolete glyphs (2123-5) | |
47 ;;;2130 $(7!0(B $(7!1(B $(7!2(B $(7!3(B $(7!4(B $(7!5(B $(7!6(B $(7!7(B $(7!8(B $(7!9(B $(7!:(B $(7!;(B $(7!<(B $(7!=(B $(7!>(B $(7!?(B ; Punctuations, | |
48 ;;;2140 $(7!@(B $(7!A(B $(7!B(B $(7!C(B $(7!D(B $(7!E(B $(7!F(B $(7!G(B $(7!H(B $(7!I(B $(7!J(B $(7!K(B $(7!L(B $(7!M(B $(7!N(B $(7!O(B ; Digits and | |
49 ;;;2150 $(7!P(B $(7!Q(B $(7!R(B $(7!S(B $(7!T(B $(7!U(B $(7!V(B $(7!W(B $(7!X(B $(7!Y(B $(7!Z(B $(7(B $(7"*(B $(7"+(B $(7",(B $(7"-(B $(7".(B $(7"/(B ; Base consonants | |
55 ;;;2230 $(7"0(B $(7"1(B $(7"2(B $(7"3(B $(7"4(B $(7"5(B $(7"6(B $(7"7(B $(7"8(B $(7"9(B $(7":(B $(7";(B $(7"<(B $(7"=(B $(7">(B $(7"?(B ; and | |
56 ;;;2240 $(7"@(B $(7"A(B $(7"B(B $(7"C(B $(7"D(B $(7"E(B $(7"F(B $(7"G(B $(7"H(B $(7"I(B $(7"J(B $(7"K(B $(7"L(B $(7"M(B $(7"N(B $(7"O(B ; Vowel signs. | |
57 ;;;2250 $(7"P(B $(7"Q(B $(7"R(B $(7"S(B $(7"T(B $(7"U(B $(7"V(B $(7"W(B $(7"X(B $(7"Y(B $(7"Z(B $(7"[(B $(7"\(B $(7"](B $(7"^(B $(7"_(B ; (\x2251 = vowel a) | |
58 ;;;2260 $(7"`(B $(7"a(B $(7"b(B $(7"c(B $(7"d(B $(7"e(B $(7"f(B $(7"g(B $(7"h(B $(7"i(B $(7"j(B $(7"k(B $(7"l(B $(7"m(B $(7"n(B $(7"o(B ; Long vowels and | |
59 ;;;2270 $(7"p(B $(7"q(B $(7"r(B $(7"s(B $(7"t(B $(7"u(B $(7"v(B $(7"w(B $(7"x(B $(7"y(B $(7"z(B $(7"{(B $(7"|(B $(7"}(B $(7"~(B // ; vocalic r, l ARE | |
60 ;;; ; atomically | |
61 ;;; ; encoded. | |
62 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
63 ;;;2320 // $(7#!(B $(7#"(B $(7##(B $(7#$(B $(7#%(B $(7#&(B $(7#'(B $(7#((B $(7#)(B $(7#*(B $(7#+(B $(7#,(B $(7#-(B $(7#.(B $(7#/(B ; Subjoined consonants | |
64 ;;;2330 $(7#0(B $(7#1(B $(7#2(B $(7#3(B $(7#4(B $(7#5(B $(7#6(B $(7#7(B $(7#8(B $(7#9(B $(7#:(B $(7#;(B $(7#<(B $(7#=(B $(7#>(B $(7#?(B ; | |
65 ;;;2340 $(7#@(B $(7#A(B $(7#B(B $(7#C(B $(7#D(B $(7#E(B $(7#F(B $(7#G(B $(7#H(B $(7#I(B $(7#J(B $(7#K(B $(7#L(B $(7#M(B $(7#N(B $(7#O(B ; | |
66 ;;;2350 $(7#P(B $(7#Q(B $(7#R(B $(7#S(B $(7#T(B $(7#U(B $(7#V(B $(7#W(B $(7#X(B $(7#Y(B $(7#Z(B $(7#[(B $(7#\(B $(7#](B $(7#^(B $(7#_(B ; Hereafter, the chars | |
67 ;;;2360 $(7#`(B $(7#a(B $(7#b(B $(7#c(B $(7#d(B $(7#e(B $(7#f(B $(7#g(B $(7#h(B $(7#i(B $(7#j(B $(7#k(B $(7#l(B $(7#m(B $(7#n(B $(7#o(B ; are not specified | |
68 ;;;2370 $(7#p(B $(7#q(B $(7#r(B $(7#s(B $(7#t(B $(7#u(B $(7#v(B $(7#w(B $(7#x(B $(7#y(B $(7#z(B $(7#{(B $(7#|(B $(7#}(B $(7#~(B // ; in Unicode. | |
69 ;;; | |
70 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |
71 ;;;2420 // $(7$!(B $(7$"(B $(7$#(B $(7$$(B $(7$%(B $(7$&(B $(7$'(B $(7$((B $(7$)(B $(7$*(B $(7$+(B $(7$,(B $(7$-(B $(7$.(B $(7$/(B ; Precomposed | |
72 ;;;2430 $(7$0(B $(7$1(B $(7$2(B $(7$3(B $(7$4(B $(7$5(B $(7$6(B $(7$7(B $(7$8(B $(7$9(B $(7$:(B $(7$;(B $(7$<(B $(7$=(B $(7$>(B $(7$?(B ; consonants for | |
73 ;;;2440 $(7$@(B $(7$A(B $(7$B(B $(7$C(B $(7$D(B $(7$E(B $(7$F(B $(7$G(B $(7$H(B $(7$I(B $(7$J(B $(7$K(B $(7$L(B $(7$M(B $(7$N(B $(7$O(B ; ordinary Tibetan. | |
74 ;;;2450 $(7$P(B $(7$Q(B $(7$R(B $(7$S(B $(7$T(B $(7$U(B $(7$V(B $(7$W(B $(7$X(B $(7$Y(B $(7$Z(B $(7$[(B $(7$\(B $(7$](B $(7$^(B $(7$_(B ; They are decomposed | |
75 ;;;2460 $(7$`(B $(7$a(B $(7$b(B $(7$c(B $(7$d(B $(7$e(B $(7$f(B $(7$g(B $(7$h(B $(7$i(B $(7$j(B $(7$k(B $(7$l(B $(7$m(B $(7$n(B $(7$o(B ; into base and | |
76 ;;;2470 $(7$p(B $(7$q(B $(7$r(B $(7$s(B $(7$t(B $(7$u(B $(7$v(B $(7$w(B $(7$x(B $(7$y(B $(7$z(B $(7${(B $(7$|(B $(7$}(B $(7$~(B // ; subjoined consonants | |
77 ;;; ; when written on a | |
78 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan | |
79 ;;;2520 // $(7%!(B $(7%"(B $(7%#(B $(7%$(B $(7%%(B $(7%&(B $(7%'(B $(7%((B $(7%)(B $(7%*(B $(7%+(B $(7%,(B $(7%-(B $(7%.(B $(7%/(B ; coding system. | |
80 ;;;2530 $(7%0(B $(7%1(B $(7%2(B $(7%3(B $(7%4(B $(7%5(B $(7%6(B $(7%7(B $(7%8(B $(7%9(B $(7%:(B $(7%;(B $(7%<(B $(7%=(B $(7%>(B $(7%?(B ; | |
81 ;;;2540 $(7%@(B $(7%A(B $(7%B(B $(7%C(B $(7%D(B $(7%E(B $(7%F(B $(7%G(B $(7%H(B $(7%I(B $(7%J(B $(7%K(B $(7%L(B $(7%M(B $(7%N(B $(7%O(B ; | |
82 ;;;2550 $(7%P(B $(7%Q(B $(7%R(B $(7%S(B $(7%T(B $(7%U(B $(7%V(B $(7%W(B $(7%X(B $(7%Y(B $(7%Z(B $(7%[(B $(7%\(B $(7%](B $(7%^(B $(7%_(B ; | |
83 ;;;2560 $(7%`(B $(7%a(B $(7%b(B $(7%c(B $(7%d(B $(7%e(B $(7%f(B $(7%g(B $(7%h(B $(7%i(B $(7%j(B $(7%k(B $(7%l(B $(7%m(B $(7%n(B $(7%o(B ; | |
84 ;;;2570 $(7%p(B $(7%q(B $(7%r(B $(7%s(B $(7%t(B $(7%u(B $(7%v(B $(7%w(B $(7%x(B $(7%y(B $(7%z(B $(7%{(B $(7%|(B $(7%}(B $(7%~(B // ; | |
85 ;;; | |
86 | |
778 | 87 (make-charset 'tibetan-1-column "Tibetan 1 column glyph" |
88 '(dimension | |
89 2 | |
90 registry "MuleTibetan-1" | |
91 chars 94 | |
92 columns 1 | |
93 direction l2r | |
94 final ?8 | |
95 graphic 0 | |
96 short-name "Tibetan 1-col" | |
97 long-name "Tibetan 1 column" | |
98 )) | |
99 | |
100 ;; Tibetan script. | |
101 (make-charset 'tibetan "Tibetan characters" | |
102 '(dimension | |
103 2 | |
104 registry "MuleTibetan-2" | |
105 chars 94 | |
106 columns 2 | |
107 direction l2r | |
108 final ?7 | |
109 graphic 0 | |
110 short-name "Tibetan 2-col" | |
111 long-name "Tibetan 2 column" | |
112 )) | |
771 | 113 |
114 ; (make-coding-system | |
115 ; 'tibetan-iso-8bit 2 ?Q | |
116 ; "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)" | |
117 ; '(ascii tibetan nil nil | |
118 ; nil nil) | |
119 ; '((safe-charsets ascii tibetan) | |
120 ; (post-read-conversion . tibetan-post-read-conversion) | |
121 ; (pre-write-conversion . tibetan-pre-write-conversion))) | |
122 | |
123 (make-coding-system | |
124 'tibetan-iso-8bit 'iso2022 "Tibetan/8-bit" | |
125 '(charset-g0 ascii | |
126 charset-g1 tibetan | |
127 mnemonic "Tibetan" | |
128 safe-charsets (ascii tibetan) | |
129 post-read-conversion tibetan-post-read-conversion | |
130 pre-write-conversion tibetan-pre-write-conversion | |
131 documentation "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)")) | |
132 | |
133 (define-coding-system-alias 'tibetan 'tibetan-iso-8bit) | |
134 | |
135 (set-language-info-alist | |
136 "Tibetan" '((charset tibetan tibetan-1-column) | |
137 (coding-system tibetan-iso-8bit) | |
138 (coding-priority iso-2022-7bit tibetan-iso-8bit) | |
139 (input-method . "tibetan-wylie") | |
140 (features tibet-util) | |
141 (documentation . t) | |
142 (sample-text | |
143 . (tibetan-compose-string | |
144 (copy-sequence | |
145 "Tibetan (4$(7"7r'"]0"7"]14"20"21!;4%P0"G#!"Q14"20"21!;(B) $(7!4!5!5!>4"70"714$P0"!#C"Q1!;4"Er'"S0"E"S14"G0"G1!;4"70"714"2r'"[0"2"[1!;4"Dr'"[0"D"[14"#0"#14"G0"G1!>4"Ir'"]r'"_0"I"]"_1!;4"90"9"Q1!;4"/r'"S0"/"S1!;4"50"5"Q14#2x!#9r'"[0"2#9"[1!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B"))))) | |
146 | |
147 | |
148 ;; `$(7"A(B' is included in the pattern for subjoined consonants because we | |
149 ;; treat it specially in tibetan-add-components. | |
150 ;; modified by Tomabechi 1999/12/10 | |
151 ;; modified by Tomabechi 2000/06/08 | |
152 ;; To allow infinite addition of vowels/modifiers | |
153 ;; as specified in Unicode v.3 | |
154 ;; $(7"A(B is removed from the class of subjoined. Tomabechi 2000/06/08 | |
155 ;; (for Unicode support) | |
156 (defconst tibetan-composable-pattern | |
157 "[$(7"!(B-$(7"J"K(B][$(7#!(B-$(7#J#K#L#M(B]*[$(7"Q"R"S(B-$(7"^"a"b"e(B]*[$(7"_"c"d"g(B-$(7"l!I!e!g(B]*" | |
158 "Regexp matching a composable sequence of Tibetan characters.") | |
159 | |
160 ;; Register a function to compose Tibetan characters. | |
778 | 161 (put-char-table 'tibetan |
162 (list (cons tibetan-composable-pattern | |
163 'tibetan-composition-function)) | |
164 composition-function-table) | |
771 | 165 |
166 ;;; | |
167 ;;; Definitions of conversion data. | |
168 ;;; | |
169 | |
170 | |
171 ;;; alists for tibetan char <-> transcription conversion | |
172 ;;; longer transcription should come first | |
173 (defconst tibetan-consonant-transcription-alist | |
174 '(("tsh" . "$(7";(B") | |
175 ("dzh" . "$(7"=(B") | |
176 ("kSH" . "$(7"J(B") | |
177 ("kh" . "$(7""(B") | |
178 ("gh" . "$(7"$(B") | |
179 ("ng" . "$(7"%(B") | |
180 ("ch" . "$(7"'(B") | |
181 ("ny" . "$(7"*(B") | |
182 ("TH" . "$(7",(B") | |
183 ("DH" . "$(7".(B") | |
184 ("th" . "$(7"1(B") | |
185 ("dh" . "$(7"3(B") | |
186 ("ph" . "$(7"6(B") | |
187 ("bh" . "$(7"8(B") | |
188 ("ts" . "$(7":(B") | |
189 ("dz" . "$(7"<(B") | |
190 ("zh" . "$(7"?(B") | |
191 ("sh" . "$(7"E(B") | |
192 ("SH" . "$(7"F(B") | |
193 ("k" . "$(7"!(B") | |
194 ("g" . "$(7"#(B") | |
195 ("c" . "$(7"&(B") | |
196 ("j" . "$(7"((B") | |
197 ("T" . "$(7"+(B") | |
198 ("D" . "$(7"-(B") | |
199 ("N" . "$(7"/(B") | |
200 ("t" . "$(7"0(B") | |
201 ("d" . "$(7"2(B") | |
202 ("n" . "$(7"4(B") | |
203 ("p" . "$(7"5(B") | |
204 ("b" . "$(7"7(B") | |
205 ("m" . "$(7"9(B") | |
206 ("w" . "$(7">(B") | |
207 ("z" . "$(7"@(B") | |
208 ("'" . "$(7"A(B") | |
209 ("y" . "$(7"B(B") | |
210 ("r" . "$(7"C(B") | |
211 ("l" . "$(7"D(B") | |
212 ("s" . "$(7"G(B") | |
213 ("h" . "$(7"H(B") | |
214 ("H" . "$(7"H(B") | |
215 ("A" . "$(7"I(B") | |
216 ;; Added by Tomabechi 1999/12/10 | |
217 ("R" . "$(7"K(B") ;; fixed form RA | |
218 )) | |
219 | |
220 | |
221 (defconst tibetan-vowel-transcription-alist | |
222 '( | |
223 ;; Composite Vowels | |
224 ;; Added by Tomabechi 2000/06/08 | |
225 ("frr" . "$(7"X(B") | |
226 ("fll" . "$(7"Z(B") | |
227 ("fa" . "$(7"R(B") | |
228 ("fi" . "$(7"T(B") | |
229 ("fu" . "$(7"V(B") | |
230 ("fr" . "$(7"W(B") | |
231 ("fl" . "$(7"Y(B") | |
232 ("fI" . "$(7"b(B") | |
233 ;; Normal Vowels | |
234 ("ai" . "$(7"\(B") | |
235 ("au" . "$(7"^(B") | |
236 ("ee" . "$(7"\(B") | |
237 ("oo" . "$(7"^(B") | |
238 ("a" . "$(7"Q(B") ; invisible vowel sign (\x2251) | |
239 ("i" . "$(7"S(B") | |
240 ("u" . "$(7"U(B") | |
241 ("e" . "$(7"[(B") | |
242 ("o" . "$(7"](B") | |
243 ("E" . "$(7"\(B") | |
244 ("O" . "$(7"^(B") | |
245 ("I" . "$(7"a(B") | |
246 ("," . "$(7"e(B") ; idem. | |
247 )) | |
248 | |
249 (defconst tibetan-modifier-transcription-alist | |
250 '(("M" . "$(7"_(B") | |
251 ("~" . "$(7"c(B") | |
252 ("`" . "$(7"d(B") | |
253 ("x" . "$(7"i(B") | |
254 ("X" . "$(7"j(B") | |
255 ("v" . "$(7"g(B") | |
256 ("V" . "$(7"h(B") | |
257 ("q" . "$(7"k(B") | |
258 ("Q" . "$(7"l(B") | |
259 ("_/" . "$(7!I(B") | |
260 ("_o" . "$(7!g(B") | |
261 ("_O" . "$(7!e(B"))) | |
262 | |
263 (defconst tibetan-precomposed-transcription-alist | |
264 '(("phyw" . "$(7$G(B") | |
265 ("tshw" . "$(7$)(B") | |
266 ("rtsw" . "$(7%.(B") | |
267 ("khw" . "$(7$"(B") | |
268 ("nyw" . "$(7$%(B") | |
269 ("tsw" . "$(7$((B") | |
270 ("zhw" . "$(7$*(B") | |
271 ("shw" . "$(7$.(B") | |
272 ("khy" . "$(7$A(B") | |
273 ("phy" . "$(7$D(B") | |
274 ("khr" . "$(7$Q(B") | |
275 ("thr" . "$(7$T(B") | |
276 ("phr" . "$(7$W(B") | |
277 ("shr" . "$(7$Z(B") | |
278 ("dzr" . "$(7$^(B") | |
279 ("grw" . "$(7$_(B") | |
280 ("rng" . "$(7%#(B") | |
281 ("rny" . "$(7%%(B") | |
282 ("rts" . "$(7%+(B") | |
283 ("rdz" . "$(7%,(B") | |
284 ("rgw" . "$(7%-(B") | |
285 ("rky" . "$(7%0(B") | |
286 ("rgy" . "$(7%1(B") | |
287 ("rmy" . "$(7%2(B") | |
288 ("lng" . "$(7%B(B") | |
289 ("sng" . "$(7%R(B") | |
290 ("sny" . "$(7%S(B") | |
291 ("sts" . "$(7%Z(B") | |
292 ("sky" . "$(7%`(B") | |
293 ("sgy" . "$(7%a(B") | |
294 ("spy" . "$(7%b(B") | |
295 ("sby" . "$(7%c(B") | |
296 ("smy" . "$(7%d(B") | |
297 ("skr" . "$(7%p(B") | |
298 ("sgr" . "$(7%q(B") | |
299 ("snr" . "$(7%r(B") | |
300 ("spr" . "$(7%s(B") | |
301 ("sbr" . "$(7%t(B") | |
302 ("smr" . "$(7%u(B") | |
303 ("kw" . "$(7$!(B") | |
304 ("gw" . "$(7$#(B") | |
305 ("cw" . "$(7$$(B") | |
306 ("tw" . "$(7$&(B") | |
307 ("dw" . "$(7$'(B") | |
308 ("zw" . "$(7$+(B") | |
309 ("rw" . "$(7$,(B") | |
310 ("lw" . "$(7$-(B") | |
311 ("sw" . "$(7$/(B") | |
312 ("hw" . "$(7$0(B") | |
313 ("ky" . "$(7$@(B") | |
314 ("gy" . "$(7$B(B") | |
315 ("py" . "$(7$C(B") | |
316 ("by" . "$(7$E(B") | |
317 ("my" . "$(7$F(B") | |
318 ("kr" . "$(7$P(B") | |
319 ("gr" . "$(7$R(B") | |
320 ("tr" . "$(7$S(B") | |
321 ("dr" . "$(7$U(B") | |
322 ("pr" . "$(7$V(B") | |
323 ("brk" . "$(7"7%!(B") | |
324 ("brg" . "$(7"7%"(B") | |
325 ("brng" . "$(7"7%#(B") | |
326 ("brj" . "$(7"7%$(B") | |
327 ("brny" . "$(7"7%%(B") | |
328 ("brt" . "$(7"7%&(B") | |
329 ("brd" . "$(7"7%'(B") | |
330 ("brn" . "$(7"7%((B") | |
331 ("brts" . "$(7"7%+(B") | |
332 ("brdz" . "$(7"7%,(B") | |
333 ("brl" . "$(7"7$d(B") | |
334 ("br" . "$(7$X(B") | |
335 ("mr" . "$(7$Y(B") | |
336 ("sr" . "$(7$[(B") | |
337 ("hr" . "$(7$\(B") | |
338 ("jr" . "$(7$](B") | |
339 ("kl" . "$(7$`(B") | |
340 ("gl" . "$(7$a(B") | |
341 ("blt" . "$(7"7%E(B") | |
342 ("bld" . "$(7"7%F(B") | |
343 ("bl" . "$(7$b(B") | |
344 ("zl" . "$(7$c(B") | |
345 ("rl" . "$(7$d(B") | |
346 ("sl" . "$(7$e(B") | |
347 ("rk" . "$(7%!(B") | |
348 ("rg" . "$(7%"(B") | |
349 ("rj" . "$(7%$(B") | |
350 ("rt" . "$(7%&(B") | |
351 ("rd" . "$(7%'(B") | |
352 ("rn" . "$(7%((B") | |
353 ("rb" . "$(7%)(B") | |
354 ("rm" . "$(7%*(B") | |
355 ("lk" . "$(7%@(B") | |
356 ("lg" . "$(7%A(B") | |
357 ("lc" . "$(7%C(B") | |
358 ("lj" . "$(7%D(B") | |
359 ("lt" . "$(7%E(B") | |
360 ("ld" . "$(7%F(B") | |
361 ("ln" . "$(7!!(B") ; dummy \x2121 | |
362 ("lp" . "$(7%G(B") | |
363 ("lb" . "$(7%H(B") | |
364 ("lh" . "$(7%I(B") | |
365 ("sk" . "$(7%P(B") | |
366 ("sg" . "$(7%Q(B") | |
367 ("st" . "$(7%T(B") | |
368 ("sd" . "$(7%U(B") | |
369 ("sn" . "$(7%V(B") | |
370 ("sp" . "$(7%W(B") | |
371 ("sb" . "$(7%X(B") | |
372 ("sm" . "$(7%Y(B")) | |
373 ) | |
374 | |
375 | |
376 (defconst tibetan-subjoined-transcription-alist | |
377 (sort '(("+k" . "$(7#!(B") | |
378 ("+kh" . "$(7#"(B") | |
379 ("+g" . "$(7##(B") | |
380 ("+gh" . "$(7#$(B") | |
381 ("+ng" . "$(7#%(B") | |
382 ("+c" . "$(7#&(B") | |
383 ("+ch" . "$(7#'(B") | |
384 ("+j" . "$(7#((B") | |
385 ("+ny" . "$(7#*(B") | |
386 ("+T" . "$(7#+(B") | |
387 ("+TH" . "$(7#,(B") | |
388 ("+D" . "$(7#-(B") | |
389 ("+DH" . "$(7#.(B") | |
390 ("+N" . "$(7#/(B") | |
391 ("+t" . "$(7#0(B") | |
392 ("+th" . "$(7#1(B") | |
393 ("+d" . "$(7#2(B") | |
394 ("+dh" . "$(7#3(B") | |
395 ("+n" . "$(7#4(B") | |
396 ("+p" . "$(7#5(B") | |
397 ("+ph" . "$(7#6(B") | |
398 ("+b" . "$(7#7(B") | |
399 ("+bh" . "$(7#8(B") | |
400 ("+m" . "$(7#9(B") | |
401 ("+ts" . "$(7#:(B") | |
402 ("+tsh" . "$(7#;(B") | |
403 ("+dz" . "$(7#<(B") | |
404 ("+dzh" . "$(7#=(B") | |
405 ("+w" . "$(7#>(B") | |
406 ("+zh" . "$(7#?(B") | |
407 ("+z" . "$(7#@(B") | |
408 ("+'" . "$(7#A(B") | |
409 ("+y" . "$(7#B(B") | |
410 ("+r" . "$(7#C(B") | |
411 ("+l" . "$(7#D(B") | |
412 ("+sh" . "$(7#E(B") | |
413 ("+SH" . "$(7#F(B") | |
414 ("+s" . "$(7#G(B") | |
415 ("+h" . "$(7#H(B") | |
416 ("+A" . "$(7#I(B") | |
417 ("+kSH" . "$(7#J(B") | |
418 ;; Added by Tomabechi 1999/12/10 | |
419 ("+W" . "$(7#K(B") ;; fixed form subscribed WA | |
420 ("+Y" . "$(7#L(B") ;; fixed form subscribed YA | |
421 ("+R" . "$(7#M(B") ;; fixed form subscribed RA | |
422 ) | |
423 (lambda (x y) (> (length (car x)) (length (car y)))))) | |
424 | |
425 ;;; | |
426 ;;; alist for Tibetan base consonant <-> subjoined consonant conversion. | |
427 ;;; | |
428 (defconst tibetan-base-to-subjoined-alist | |
429 '(("$(7"!(B" . "$(7#!(B") | |
430 ("$(7""(B" . "$(7#"(B") | |
431 ("$(7"#(B" . "$(7##(B") | |
432 ("$(7"$(B" . "$(7#$(B") | |
433 ("$(7"%(B" . "$(7#%(B") | |
434 ("$(7"&(B" . "$(7#&(B") | |
435 ("$(7"'(B" . "$(7#'(B") | |
436 ("$(7"((B" . "$(7#((B") | |
437 ("$(7"*(B" . "$(7#*(B") | |
438 ("$(7"+(B" . "$(7#+(B") | |
439 ("$(7",(B" . "$(7#,(B") | |
440 ("$(7"-(B" . "$(7#-(B") | |
441 ("$(7".(B" . "$(7#.(B") | |
442 ("$(7"/(B" . "$(7#/(B") | |
443 ("$(7"0(B" . "$(7#0(B") | |
444 ("$(7"1(B" . "$(7#1(B") | |
445 ("$(7"2(B" . "$(7#2(B") | |
446 ("$(7"3(B" . "$(7#3(B") | |
447 ("$(7"4(B" . "$(7#4(B") | |
448 ("$(7"5(B" . "$(7#5(B") | |
449 ("$(7"6(B" . "$(7#6(B") | |
450 ("$(7"7(B" . "$(7#7(B") | |
451 ("$(7"8(B" . "$(7#8(B") | |
452 ("$(7"9(B" . "$(7#9(B") | |
453 ("$(7":(B" . "$(7#:(B") | |
454 ("$(7";(B" . "$(7#;(B") | |
455 ("$(7"<(B" . "$(7#<(B") | |
456 ("$(7"=(B" . "$(7#=(B") | |
457 ("$(7">(B" . "$(7#>(B") | |
458 ("$(7"?(B" . "$(7#?(B") | |
459 ("$(7"@(B" . "$(7#@(B") | |
460 ("$(7"A(B" . "$(7#A(B") | |
461 ("$(7"B(B" . "$(7#B(B") | |
462 ("$(7"C(B" . "$(7#C(B") | |
463 ("$(7"D(B" . "$(7#D(B") | |
464 ("$(7"E(B" . "$(7#E(B") | |
465 ("$(7"F(B" . "$(7#F(B") | |
466 ("$(7"G(B" . "$(7#G(B") | |
467 ("$(7"H(B" . "$(7#H(B") | |
468 ("$(7"I(B" . "$(7#I(B") | |
469 ("$(7"J(B" . "$(7#J(B") | |
470 ;; Added by Tomabechi 1999/12/10 | |
471 ("$(7"K(B" . "$(7#M(B") ;; Fixed form RA (224B->234D) | |
472 )) | |
473 | |
474 ;;; alist for Tibetan composite vowels (long i, vocalic r, etc.) | |
475 ;;; New varialble. created by Tomabechi 2000/06/08 | |
476 (defconst tibetan-composite-vowel-alist | |
477 '(;; LONG A | |
478 ;; ("$(7"R(B" . ((bc . tc) ?$(7"R(B)) | |
479 ;; LONG I | |
480 ("$(7"T(B" . (?$(7"R(B (tc . bc) ?$(7"S(B)) | |
481 ;; LONG U | |
482 ("$(7"V(B" . (?$(7"R(B (bc . tc) ?$(7"U(B)) | |
483 ;; VOCALIC R | |
484 ("$(7"W(B" . (?$(7#C(B (tc . bc) ?$(7"a(B)) | |
485 ;; LONG VOCALIC R | |
486 ("$(7"X(B" . (?$(7#C(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B)) | |
487 ;; VOCALIC L | |
488 ("$(7"Y(B" . (?$(7#D(B (tc . bc) ?$(7"a(B)) | |
489 ;;$(7!;(BLONG VOCALIC L | |
490 ("$(7"Z(B" . (?$(7#D(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B)) | |
491 ;; LONG REVERSE I | |
492 ("$(7"b(B" . (?$(7"R(B (tc . bc) ?$(7"a(B)) | |
493 )) | |
494 | |
495 | |
496 | |
497 ;;; | |
498 ;;; alist for Tibetan consonantic components <-> precomposed glyph conversion. | |
499 ;;; (includes some punctuation conversion rules) | |
500 ;;; | |
501 (defconst tibetan-precomposition-rule-alist | |
502 `(("$(7"6#B#>(B" . "$(7$G(B") | |
503 ("$(7"##C#>(B" . "$(7$_(B") | |
504 ("$(7";#>(B" . "$(7$)(B") | |
505 ("$(7"C#:#>(B" . "$(7%.(B") | |
506 ("$(7"C###>(B" . "$(7%-(B") | |
507 ("$(7"C#!#B(B" . "$(7%0(B") | |
508 ("$(7"C###B(B" . "$(7%1(B") | |
509 ("$(7"C#9#B(B" . "$(7%2(B") | |
510 ("$(7"G#!#B(B" . "$(7%`(B") | |
511 ("$(7"G###B(B" . "$(7%a(B") | |
512 ("$(7"G#5#B(B" . "$(7%b(B") | |
513 ("$(7"G#7#B(B" . "$(7%c(B") | |
514 ("$(7"G#9#B(B" . "$(7%d(B") | |
515 ("$(7"G#!#C(B" . "$(7%p(B") | |
516 ("$(7"G###C(B" . "$(7%q(B") | |
517 ("$(7"G#4#C(B" . "$(7%r(B") | |
518 ("$(7"G#5#C(B" . "$(7%s(B") | |
519 ("$(7"G#7#C(B" . "$(7%t(B") | |
520 ("$(7"G#9#C(B" . "$(7%u(B") | |
521 ("$(7""#>(B" . "$(7$"(B") | |
522 ("$(7"*#>(B" . "$(7$%(B") | |
523 ("$(7":#>(B" . "$(7$((B") | |
524 ("$(7"?#>(B" . "$(7$*(B") | |
525 ("$(7"E#>(B" . "$(7$.(B") | |
526 ("$(7""#B(B" . "$(7$A(B") | |
527 ("$(7"6#B(B" . "$(7$D(B") | |
528 ("$(7""#C(B" . "$(7$Q(B") | |
529 ("$(7"1#C(B" . "$(7$T(B") | |
530 ("$(7"6#C(B" . "$(7$W(B") | |
531 ("$(7"E#C(B" . "$(7$Z(B") | |
532 ("$(7"<#C(B" . "$(7$^(B") | |
533 ("$(7"C#%(B" . "$(7%#(B") | |
534 ("$(7"C#*(B" . "$(7%%(B") | |
535 ("$(7"C#:(B" . "$(7%+(B") | |
536 ("$(7"C#<(B" . "$(7%,(B") | |
537 ("$(7"D#%(B" . "$(7%B(B") | |
538 ("$(7"G#%(B" . "$(7%R(B") | |
539 ("$(7"G#*(B" . "$(7%S(B") | |
540 ("$(7"G#:(B" . "$(7%Z(B") | |
541 ("$(7"!#>(B" . "$(7$!(B") | |
542 ("$(7"##>(B" . "$(7$#(B") | |
543 ("$(7"&#>(B" . "$(7$$(B") | |
544 ("$(7"0#>(B" . "$(7$&(B") | |
545 ("$(7"2#>(B" . "$(7$'(B") | |
546 ("$(7"@#>(B" . "$(7$+(B") | |
547 ("$(7"C#>(B" . "$(7$,(B") | |
548 ("$(7"D#>(B" . "$(7$-(B") | |
549 ("$(7"G#>(B" . "$(7$/(B") | |
550 ("$(7"H#>(B" . "$(7$0(B") | |
551 ("$(7"!#B(B" . "$(7$@(B") | |
552 ("$(7"##B(B" . "$(7$B(B") | |
553 ("$(7"5#B(B" . "$(7$C(B") | |
554 ("$(7"7#B(B" . "$(7$E(B") | |
555 ("$(7"9#B(B" . "$(7$F(B") | |
556 ("$(7"!#C(B" . "$(7$P(B") | |
557 ("$(7"##C(B" . "$(7$R(B") | |
558 ("$(7"0#C(B" . "$(7$S(B") | |
559 ("$(7"2#C(B" . "$(7$U(B") | |
560 ("$(7"5#C(B" . "$(7$V(B") | |
561 ("$(7"7#C(B" . "$(7$X(B") | |
562 ("$(7"9#C(B" . "$(7$Y(B") | |
563 ("$(7"G#C(B" . "$(7$[(B") | |
564 ("$(7"H#C(B" . "$(7$\(B") | |
565 ("$(7"(#C(B" . "$(7$](B") | |
566 ("$(7"!#D(B" . "$(7$`(B") | |
567 ("$(7"##D(B" . "$(7$a(B") | |
568 ("$(7"7#D(B" . "$(7$b(B") | |
569 ("$(7"@#D(B" . "$(7$c(B") | |
570 ("$(7"C#D(B" . "$(7$d(B") | |
571 ("$(7"G#D(B" . "$(7$e(B") | |
572 ("$(7"C#!(B" . "$(7%!(B") | |
573 ("$(7"C##(B" . "$(7%"(B") | |
574 ("$(7"C#((B" . "$(7%$(B") | |
575 ("$(7"C#0(B" . "$(7%&(B") | |
576 ("$(7"C#2(B" . "$(7%'(B") | |
577 ("$(7"C#4(B" . "$(7%((B") | |
578 ("$(7"C#7(B" . "$(7%)(B") | |
579 ("$(7"C#9(B" . "$(7%*(B") | |
580 ("$(7"D#!(B" . "$(7%@(B") | |
581 ("$(7"D##(B" . "$(7%A(B") | |
582 ("$(7"D#4(B" . "$(7!!(B") ; dummy 0x2121 added 2000/06/08 for transition l -> lng | |
583 ("$(7"D#&(B" . "$(7%C(B") | |
584 ("$(7"D#((B" . "$(7%D(B") | |
585 ("$(7"D#0(B" . "$(7%E(B") | |
586 ("$(7"D#2(B" . "$(7%F(B") | |
587 ("$(7"D#5(B" . "$(7%G(B") | |
588 ("$(7"D#7(B" . "$(7%H(B") | |
589 ("$(7"D#H(B" . "$(7%I(B") | |
590 ("$(7"G#!(B" . "$(7%P(B") | |
591 ("$(7"G##(B" . "$(7%Q(B") | |
592 ("$(7"G#0(B" . "$(7%T(B") | |
593 ("$(7"G#2(B" . "$(7%U(B") | |
594 ("$(7"G#4(B" . "$(7%V(B") | |
595 ("$(7"G#5(B" . "$(7%W(B") | |
596 ("$(7"G#7(B" . "$(7%X(B") | |
597 ("$(7"G#9(B" . "$(7%Y(B"))) | |
598 | |
599 (defconst tibetan-obsolete-glyphs | |
600 `(("$(7!=(B" . "$(8!=(B") ; 2 col <-> 1 col | |
601 ("$(7!?(B" . "$(8!?(B") | |
602 ("$(7!@(B" . "$(8!@(B") | |
603 ("$(7!A(B" . "$(8!A(B") | |
604 ("$(7"`(B" . "$(8"`(B") | |
605 ("$(7!;(B" . "$(8!;(B") | |
606 ("$(7!D(B" . "$(8!D(B") | |
607 ;; Yes these are dirty. But ... | |
608 ("$(7!>(B $(7!>(B" . ,(compose-string "$(7!>(B $(7!>(B" 0 3 [?$(7!>(B (Br . Bl) ? (Br . Bl) ?$(7!>(B])) | |
609 ("$(7!4!5!5(B" . ,(compose-string | |
610 "$(7#R#S#S#S(B" 0 4 | |
611 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B])) | |
612 ("$(7!4!5(B" . ,(compose-string "$(7#R#S#S(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B])) | |
613 ("$(7!6(B" . ,(compose-string "$(7#R#S!I(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (br . tr) ?$(7!I(B])) | |
614 ("$(7!4(B" . ,(compose-string "$(7#R#S(B" 0 2 [?$(7#R(B (Br . Bl) ?$(7#S(B])))) | |
615 | |
616 (defconst tibetan-regexp | |
617 (let ((l (list tibetan-precomposed-transcription-alist | |
618 tibetan-consonant-transcription-alist | |
619 tibetan-vowel-transcription-alist | |
620 tibetan-modifier-transcription-alist | |
621 tibetan-subjoined-transcription-alist)) | |
622 (separator "\\|") | |
623 tail pattern) | |
624 (while l | |
625 (setq tail (car l) l (cdr l)) | |
626 (while tail | |
627 (setq pattern (cons separator (cons (car (car tail)) pattern)) | |
628 tail (cdr tail)))) | |
629 (apply 'concat (nreverse (cdr pattern)))) | |
630 "Regexp matching a Tibetan transcription of a composable Tibetan sequence. | |
631 The result of matching is to be used for indexing alists at conversion | |
632 from a roman transcription to the corresponding Tibetan character.") | |
633 | |
634 (defvar tibetan-precomposed-regexp | |
635 (let ((l tibetan-precomposed-transcription-alist) | |
636 temp) | |
637 (setq temp "^\\(") | |
638 (setq temp | |
639 (concat temp (car (car l)))) | |
640 (setq l (cdr l)) | |
641 (while l | |
642 (setq temp | |
643 (concat temp "\\|" (car (car l)))) | |
644 (setq l (cdr l))) | |
645 (concat temp "\\)")) | |
646 "Regexp string to match a romanized Tibetan complex consonant. | |
647 The result of matching is to be used for indexing alists when the input key | |
648 from an input method is converted to the corresponding precomposed glyph.") | |
649 | |
650 (defvar tibetan-precomposition-rule-regexp | |
651 (let ((l tibetan-precomposition-rule-alist) | |
652 temp) | |
653 (setq temp "\\(") | |
654 (setq temp (concat temp (car (car l)))) | |
655 (setq l (cdr l)) | |
656 (while l | |
657 (setq temp (concat temp "\\|" (car (car l)))) | |
658 (setq l (cdr l))) | |
659 (concat temp "\\)")) | |
660 "Regexp string to match a sequence of Tibetan consonantic components, i.e., | |
661 one base consonant and one or more subjoined consonants. | |
662 The result of matching is to be used for indexing alist when the component | |
663 sequence is converted to the corresponding precomposed glyph. | |
664 This also matches some punctuation characters which need conversion.") | |
665 | |
666 (defvar tibetan-decomposed nil) | |
667 (defvar tibetan-decomposed-temp nil) | |
668 | |
669 (provide 'tibetan) | |
670 | |
778 | 671 ;;; tibetan.el ends here |