Karoly Lorentey
b8299c66e3
Make terminal_coding and keyboard_coding display-local.
...
src/coding.c: Include frame.h and termhooks.h.
(terminal_coding, keyboard_coding): Remove.
(Fset_terminal_coding_system_internal, Fterminal_coding_system):
Use the selected frame's terminal coding system.
(Fset_safe_terminal_coding_system_internal): Fix typo.
(Fset_keyboard_coding_system_internal, Fkeyboard_coding_system):
Use the selected frame's keyboard coding system.
(init_coding_once): Don't initialize keyboard_coding and terminal_coding.
src/coding.h (terminal_coding, keyboard_coding): Remove.
src/termhooks.h (terminal_coding, keyboard_coding): New members of
struct display.
(FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros.
src/termchar.h (kboard): Cosmetic change.
src/term.c (encode_terminal_code): Add coding parameter.
(tty_write_glyphs): Use the display-local terminal coding system.
(create_display): Allocate and initialize coding systems.
(delete_display): Free coding systems.
src/xdisp.c (decode_mode_spec): Use display-local coding systems.
src/Makefile.in: Fix dependencies for termchar.h and termhooks.h.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
2004-05-23 01:53:23 +00:00
Karoly Lorentey
04a0dc45e1
Merged in changes from CVS trunk.
...
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-325
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-326
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-327
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-328
Update from CVS: src/.gdbinit (xsymbol): Fix last change.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-329
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-166
2004-05-22 22:52:43 +00:00
Stefan Monnier
669fa600c6
Add support for new '\_<' and '\_>' regexp operators, matching the
...
beginning and ends of symbols.
* regex.c (enum syntaxcode): Add Ssymbol.
(init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
(re_opcode_t): New opcodes `symbeg' and `symend'.
(print_partial_compiled_pattern): Print the new opcodes properly.
(regex_compile): Parse the new operators.
(analyse_first): Skip symbeg and symend (they match only the empty string).
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
\sw; `symbeg' is mutually exclusive with \S_ and \Sw.
(re_match_2_internal): Match symbeg and symend.
2004-05-19 16:38:34 +00:00
Stefan Monnier
29f89fe7ea
(trivial_regexp_p): \_ is no longer a trivial regexp.
2004-05-19 16:32:59 +00:00
Kim F. Storm
cfcde636be
(xsymbol): Fix last change.
2004-05-19 09:49:33 +00:00
Kim F. Storm
0d8c2e5cc3
*** empty log message ***
2004-05-19 09:41:38 +00:00
David Ponce
9a6a4c4079
(print): Reset print_depth before to call print_object.
2004-05-19 07:38:57 +00:00
Stefan Monnier
0001e96851
(xprintstr): New fun.
...
(xstring, xprintsym): Use it.
2004-05-19 01:22:06 +00:00
Stefan Monnier
acba5cae3e
(create_child): Use INTMASK.
2004-05-18 22:09:25 +00:00
Jason Rumney
6dd6baa5df
Fix last change for non USE_LISP_UNION_TYPE case.
2004-05-18 20:26:26 +00:00
Karoly Lorentey
35dfa9b69e
Fix fatal error during startup (rep. by Friedrich Delgado Friedrichs)
...
lisp/loadup.el: Unconditionally preload server.
lisp/server.el: Change server-getenv to a simple defun.
src/Makefile.in (lisp, shortlisp): Added server.elc.
mac/makefile.MPW (LispSource): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-164
2004-05-18 19:58:00 +00:00
Jason Rumney
f3c4ec7415
(display_x_get_resource, vga_stdcolor_name): Add prototype.
2004-05-18 19:55:30 +00:00
Jason Rumney
24ee97634d
(add_menu_item, w32_menu_display_help) [USE_LISP_UNION_TYPE]: Cast
...
from Lisp_Object using i member.
2004-05-18 19:53:08 +00:00
Jason Rumney
7cb010ed71
Prefix RIF functions with w32con_ to avoid namespace clash with term.c.
2004-05-18 19:48:51 +00:00
Karoly Lorentey
c23670f81e
Merged in changes from CVS trunk.
...
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-299
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-300
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-301
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-302
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-303
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-304
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-305
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-306
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-307
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-308
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-309
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-310
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-311
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-312
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-314
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-320
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-321
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-322
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-323
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-324
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-163
2004-05-18 19:12:15 +00:00
Stefan Monnier
74c35a48a7
(Fgarbage_collect): Do all the marking before flushing
...
unmarked elements of the undo list.
2004-05-18 16:22:46 +00:00
Eli Zaretskii
4d0b9a0a45
(DECL_ALIGN): Remove restriction on MS-DOS systems.
2004-05-18 13:52:57 +00:00
Eli Zaretskii
6be49c3aa8
(syms_of_msdos): Initialize dos-unsupported-char-glyph with make_number.
...
(IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph with XINT.
2004-05-18 13:36:32 +00:00
Jason Rumney
3ae12c8dc6
[USE_LSB_TAG]: Don't check heap location.
2004-05-18 07:53:53 +00:00
Jason Rumney
653bd0f660
*** empty log message ***
2004-05-18 07:32:23 +00:00
Kim F. Storm
96edd5d493
(Frecursive_edit): Return immediately if input blocked.
...
(Ftop_level): Unblock input if blocked.
2004-05-17 23:07:15 +00:00
Kim F. Storm
c2de28efe2
(INPUT_BLOCKED_P): New macro.
2004-05-17 23:06:16 +00:00
Kim F. Storm
89d199887d
*** empty log message ***
2004-05-17 23:05:33 +00:00
Jason Rumney
2ba49441af
(Fw32_register_hot_key, Fw32_unregister_hot_key)
...
(Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from Lisp_Object
using i member.
(w32_quit_key): Rename from Vw32_quit_key, and make an int.
(syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int consistently.
(w32_color_map_lookup): Return a Lisp_Object.
(x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets):
Use EQ to compare Lisp_Objects.
(w32_parse_hot_key): Use int for lisp_modifiers consistently.
(w32_wnd_proc): Use w32_num_mouse_buttons.
2004-05-17 22:51:47 +00:00
Kim F. Storm
0bc90bbad4
(face_at_buffer_position): Use GET_OVERLAYS_AT.
2004-05-17 22:50:41 +00:00
Kim F. Storm
7994a99147
(next_overlay_change, note_mouse_highlight): Use GET_OVERLAYS_AT.
2004-05-17 22:48:56 +00:00
Kim F. Storm
b5be4dbe96
(get_char_property_and_overlay): Use GET_OVERLAYS_AT.
2004-05-17 22:48:07 +00:00
Kim F. Storm
28b8f74030
(print_object): Increase buf size.
2004-05-17 22:47:40 +00:00
Kim F. Storm
1a8da67061
(IT_note_mouse_highlight): Use GET_OVERLAYS_AT.
2004-05-17 22:47:23 +00:00
Kim F. Storm
002571ddc7
(GET_OVERLAYS_AT): New macro.
2004-05-17 22:46:34 +00:00
Jason Rumney
ff999ce63e
Fix last change.
2004-05-17 22:29:59 +00:00
Jason Rumney
8f5457ae60
* w32proc.c (create_child): Use make_number instead of masking pid.
2004-05-17 22:27:53 +00:00
Jason Rumney
e597eb7d6c
(w32_num_mouse_buttons): Rename from Vw32_num_mouse_buttons and make
...
it an int.
2004-05-17 21:43:22 +00:00
Jason Rumney
e0c181ddf1
Rename w32_num_mouse_buttons from Vw32_num_mouse_buttons.
...
Use const more consistently.
2004-05-17 21:33:16 +00:00
Jason Rumney
4fdbdbbd38
Use static consistently.
2004-05-17 21:14:43 +00:00
Jason Rumney
78806724fe
(_sys_read_ahead): Use w32_pipe_read_delay.
2004-05-17 21:05:58 +00:00
Jason Rumney
5322f50b91
* w32proc.c (w32_pipe_read_delay): Rename from Vw32_pipe_read_delay
...
and make it an int.
* w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid.
2004-05-17 21:05:06 +00:00
Jason Rumney
f9ed303a2c
(egetenv) [USE_CRT_DLL]: Remove condition.
2004-05-17 20:59:46 +00:00
Jason Rumney
e3ec1dce88
(w32_console_mouse_position, do_mouse_event, key_event): Don't mix
...
Lisp_Object and int.
2004-05-17 20:44:46 +00:00
Jason Rumney
d352abdf01
(kbd_buffer_get_event): Don't use event->code and
...
modifiers in language change event.
2004-05-17 20:09:39 +00:00
Kim F. Storm
d080618c7e
(mark_object): Mark Lisp_Misc_Free cell. Fix comment.
2004-05-17 15:20:16 +00:00
Kim F. Storm
d2db1c32fa
(mark_object): Ignore Lisp_Misc_Free objects.
...
Such objects may be freed markers which still exist on an undo list.
2004-05-17 12:08:02 +00:00
Kim F. Storm
54b53ba7a3
*** empty log message ***
2004-05-17 12:07:43 +00:00
Juanma Barranquero
6e86a75de6
(Fset_default): Make argument names match their use in docstring.
2004-05-16 00:55:09 +00:00
Andreas Schwab
fc80da24a9
Mask off gdb_array_mark_flag from vector sizes.
2004-05-15 16:44:11 +00:00
Andreas Schwab
3fba6ca915
(gdb_array_mark_flag): Define.
2004-05-15 16:42:55 +00:00
Eli Zaretskii
c1380aa6e5
*** empty log message ***
2004-05-15 12:43:52 +00:00
Eli Zaretskii
69536a336f
(DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use
...
__attribute__((__aligned__)), so that USE_LSB_TAG would not become
defined for the MS-DOS build.
2004-05-15 11:50:50 +00:00
Kim F. Storm
62f3da3b1a
*** empty log message ***
2004-05-14 23:08:54 +00:00
Kim F. Storm
0a4455b259
Undo last change.
2004-05-14 23:01:45 +00:00