1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-18 06:01:22 -08:00
Commit graph

50975 commits

Author SHA1 Message Date
Karoly Lorentey
14de9163b4 Use the remote locale for terminal & keyboard coding system.
lisp/international/mule-cmds.el (set-locale-translation-file-name)
(get-locale-real-name, get-locale-coding-system)
(configure-display-for-locale): New functions.
(set-locale-environment): Factored contents into separate functions.

lisp/server.el (server-process-filter): Call
configure-display-for-locale after creating a new terminal frame.

lisp/startup.el (command-line): Call set-locale-translation-file-name.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-171
2004-05-23 03:56:10 +00:00
Karoly Lorentey
44070fdf1a Fix environment variables on emacsclient frames.
lisp/server.el (server-getenv): Fix string lookup in alist.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-170
2004-05-23 03:37:58 +00:00
Karoly Lorentey
061e4e7fe0 Use with-selected-frame.
lisp/faces.el (tty-create-frame-with-faces): Use with-selected-frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-169
2004-05-23 02:34:53 +00:00
Karoly Lorentey
c3e242d334 New control structure: with-selected-frame.
lisp/subr.el (with-selected-frame): New macro.
lisp/font-lock.el (lisp-font-lock-keywords-2): Add with-selected-frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-168
2004-05-23 02:26:21 +00:00
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
47ff5b2840 *** empty log message *** 2004-05-19 19:19:44 +00:00
Pavel Janík
2aa4a72979 *** empty log message *** 2004-05-19 19:11:54 +00:00
Stefan Monnier
621a3f6266 (do-auto-fill): Remove unused vars bol' and opoint'.
(completion-setup-function): Use with-current-buffer.
Properly save excursion.  Simplify.
Don't assume there is necessarily a `mouse-face' property somewhere.
2004-05-19 19:10:19 +00:00
Pavel Janík
f0975dfd6c Avoid mixing standard error output messages into the search result. 2004-05-19 19:06:54 +00:00
Stefan Monnier
27149c587c (gud-reset): Use unless & with-current-buffer. 2004-05-19 19:00:02 +00:00
Stefan Monnier
d490ebbe49 (gdb-reset): Use unless. Fix regexp. 2004-05-19 18:58:21 +00:00
Stefan Monnier
91ba19536a (defun-cvs-mode): Fix capitalization of error message. 2004-05-19 18:55:51 +00:00
Stefan Monnier
b88a41d006 (byte-compile-log): Use backquotes.
(byte-compile-log-1): Don't call (byte-goto-log-buffer).
Use with-current-buffer.
(byte-goto-log-buffer): Delete.
(byte-compile-log-file): Call compilation-forget-errors.
2004-05-19 18:53:13 +00:00
Stefan Monnier
6ccc7fbc5d Describe the new \_< and \_> operators. 2004-05-19 18:50:38 +00:00
Stefan Monnier
e4ad9cf199 *** empty log message *** 2004-05-19 18:49:52 +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
Thien-Thi Nguyen
022cb16265 (Search-based Fontification): Fix typo. 2004-05-19 14:27:21 +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
Masatake YAMATO
15aa77901c * wid-edit.el (widget-radio-button-notify): Revert my last
change. Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2004-05-19 02:16:56 +00:00
Stefan Monnier
0001e96851 (xprintstr): New fun.
(xstring, xprintsym): Use it.
2004-05-19 01:22:06 +00:00
Stefan Monnier
3c8c8c277e (mm-insert-inline): Make it work in read-only buffer. 2004-05-19 01:09:14 +00:00
Stefan Monnier
933cd61ed4 (help-go-back): Don't depend on position of back button. 2004-05-19 00:56:46 +00:00
Stefan Monnier
b1e5937ca1 (auto-save-file-name-transforms): Make sure ange-ftp temp
files files don't contain an accidental additional /.
2004-05-19 00:30:43 +00:00
Stefan Monnier
cc9f53769f (tex-compilation-parse-errors): Save excursion in source buffer. 2004-05-19 00:24:15 +00:00
Kenichi Handa
70abfe909d Fix syntax (open/close) of CJK characters. 2004-05-19 00:12:49 +00:00
Stefan Monnier
acba5cae3e (create_child): Use INTMASK. 2004-05-18 22:09:25 +00:00
Karoly Lorentey
f3c9434fad Add kludge to prevent overriding keyboard-coding-system customization.
lisp/international/mule-cmds.el (set-locale-environment): Don't set
keyboard-coding-system if it is already set (reported by Friedrich
Delgado Friedrichs).

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-165
2004-05-18 20:30:43 +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
a7f7f2540f (gnus-all-windows-visible-p): Don't consider non-visible windows. 2004-05-18 16:38:40 +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
Masatake YAMATO
4d4ea14a2d * wid-edit.el (widget-radio-button-notify): Don't pass `widget'
to widget-apply. :action method assumes 2 arguments, not 3.
2004-05-18 13:38:59 +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