1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 19:42:53 -08:00
Commit graph

23262 commits

Author SHA1 Message Date
Stefan Monnier
023accd651 (Fcall_interactively): Use Finteractive_form also for subrs
and compiled functions.
2007-09-10 02:29:42 +00:00
Eli Zaretskii
f26b9544b5 Document prefer-window-split-horizontally. 2007-09-08 10:40:00 +00:00
Eli Zaretskii
e01c1b527a (prefer_window_split_horizontally): New variable.
(display_buffer): Consider splitting window horizontally depending on
prefer_window_split_horizontally.
2007-09-08 10:34:03 +00:00
Eli Zaretskii
4d395425c8 [WINDOWSNT]: Don't include sysselect.h 2007-09-08 09:12:05 +00:00
Stefan Monnier
179cef4807 (GC_MARK_STACK): Enable conservative stack marking. 2007-09-07 20:04:58 +00:00
Stefan Monnier
92f94a128d (Fdisplay_buffer): Remove register' since buffer' needs to be gcpro'd. 2007-09-07 19:50:49 +00:00
Stefan Monnier
08c1d23533 (freeze_window_start): Don't presume selected_window holds a window object. 2007-09-07 19:45:15 +00:00
Stefan Monnier
629c715ddf (x_set_frame_parameters): Check number is positive before using XFASTINT. 2007-09-07 19:45:04 +00:00
Dan Nicolaescu
de52dcbb98 * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. 2007-09-07 03:56:26 +00:00
Stefan Monnier
90ab5c624d (Vsplit_window_preferred_function): New var.
(Fdisplay_buffer): Use it.
(syms_of_window): Export, and initialize it.
2007-09-07 03:26:06 +00:00
Thien-Thi Nguyen
1ab2cd4392 (gif_load): Fix bug: Handle nonexistent colormap. 2007-09-06 20:25:18 +00:00
Glenn Morris
ea345d8fb9 (menu_grab_callback) <cnt>: Move static variable to file scope. 2007-09-06 07:00:56 +00:00
Glenn Morris
57fd5c55e4 *** empty log message *** 2007-09-06 07:00:30 +00:00
Glenn Morris
46d47e4105 (x_reply_selection_request) <cnt>: Move static variable to file scope. 2007-09-06 06:54:10 +00:00
Glenn Morris
0b0515bce0 *** empty log message *** 2007-09-06 06:53:59 +00:00
Stefan Monnier
9859458022 (redisplay_internal): Make sure Elisp code always sees
consistent values of selected_frame and selected_window.
2007-09-06 02:13:47 +00:00
Jason Rumney
0f4c7aefe3 *** empty log message *** 2007-09-05 00:15:43 +00:00
Jason Rumney
9b8f0fc3f1 (initialize_w32_display): Zero unused hooks. 2007-09-04 23:35:12 +00:00
Dan Nicolaescu
e4019195fd * server.el (server-start, server-unload-hook): Undo previous
change.

* xt-mouse.el: Undo previous change.

* term.c (Vsuspend_tty_functions, Vresume_tty_functions)
(syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change.
2007-09-04 23:28:49 +00:00
Jason Rumney
a023655110 (init_tty) [WINDOWSNT]: Add hooks that are not accessible
in w32console.c.  Set up input.  Remove XXX comments that have been
confirmed as correct.
2007-09-04 23:14:37 +00:00
Jason Rumney
a492666863 (MULTI_KBOARD): Define. 2007-09-04 22:41:07 +00:00
Jason Rumney
953bf0dce8 (init_tty) [WINDOWSNT]: Pass terminal to
initialize_w32_display.
(init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too.
2007-09-04 22:32:09 +00:00
Jason Rumney
79af260ec4 (one_and_only_w32cons): Remove.
(initialize_w32_display): Take terminal argument.
2007-09-04 22:30:17 +00:00
Jason Rumney
bce179b56b (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. 2007-09-04 21:43:50 +00:00
Jason Rumney
13899bc14c (discard_mouse_events): Discard it.
(make_lispy_event): Translate it to a lisp event.
(lispy_wheel_names): Add wheel-left and right events.
(syms_of_keyboard): Enlarge wheel_syms.
2007-09-04 21:42:39 +00:00
Jason Rumney
fd142562c8 Horizontal mouse wheel support:
(w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL.
<WM_MOUSEHWHEEL>: Pass new system message to lisp.

MULTI_KBOARD support:
(x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from
terminal.
2007-09-04 21:40:59 +00:00
Jason Rumney
c36598761e (WM_MOUSEHWHEEL): Define if system headers don't. 2007-09-04 21:39:01 +00:00
Jason Rumney
1526bc2373 Support for horizontal scroll wheels on some mice:
(construct_mouse_wheel): Make HORIZ_WHEEL_EVENT
from WM_MOUSEHWHEEL.
(w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL.

MULTI_KBOARD support:
(w32_create_terminal) [MULTI_KBOARD]: Create a new
keyboard for the terminal.
2007-09-04 21:38:40 +00:00
Dan Nicolaescu
92cd6a7c40 * server.el (server-start, server-unload-hook):
suspend-tty-functions has been renamed to suspend-tty-hook.

* xt-mouse.el: Likewise. resume-tty-functions has been renamed to
resume-tty-hook.

* term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions.
(Vresume_tty_hook): Rename from Vresume_tty_functions.
(syms_of_term): Rename suspend-tty-functions to suspend-tty-hook
and resume-tty-function to resume-tty-hook.
(Fsuspend_tty, Fresume_tty): Use new names.
2007-09-04 15:44:11 +00:00
Jan Djärv
2154c9647a (update_frame_tool_bar): Handle stock name as a named icon
if it starts with "n:".
2007-09-02 16:47:29 +00:00
Jan Djärv
b42ff09954 (update_frame_tool_bar): Initialize wbutton to NULL. 2007-08-31 10:17:15 +00:00
Stefan Monnier
92d9c1d40c (Qterm_environment_variable): Remove.
(syms_of_frame): Don't init and staticpro it.
2007-08-31 07:34:50 +00:00
Stefan Monnier
200ab68380 (Qterm_environment_variable): Remove. 2007-08-31 07:33:44 +00:00
Stefan Monnier
44de6f61c8 (getenv_internal): Remove special case for $TERM. 2007-08-31 07:33:10 +00:00
Stefan Monnier
3c33c79aaf (set_initial_environment): Set Vinitial_environment only when
Vprocess_environment is built, otherwise I get an unexplained infinite loop.
(child_setup): Remove unused vars term_var and display_var.
2007-08-31 05:22:22 +00:00
Stefan Monnier
6b8e474c53 (Vinitial_environment): New variable.
(set_initial_environment): Initialize it.
(syms_of_callproc): Declare it.
(child_setup): Don't mess with TERM via Qterm_environment_variable; the
TERM under which a process runs is never related to the TERM in which
Emacs is running.
2007-08-31 04:39:24 +00:00
Glenn Morris
cb13870ad0 Regenerate. 2007-08-30 05:19:25 +00:00
Glenn Morris
050b82f6f5 Comment. 2007-08-30 05:08:24 +00:00
Dan Nicolaescu
0f1444e1e1 * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here...
* s/darwin.h: ... do it here.
2007-08-29 22:19:43 +00:00
Stefan Monnier
b886686079 (set_initial_environment): Rename from set_global_environment. 2007-08-29 21:50:39 +00:00
Stefan Monnier
b88c11ac65 (${etc}DOC): Re-add a ${EXEEXT} which seems to have been
removed by mistake on the multi-tty branch.
2007-08-29 21:48:23 +00:00
Stefan Monnier
b1cb6b202b (make_terminal_frame): Yet Another Int/Lisp_Object Mixup.
(Fmodify_frame_parameters): Return a value.
2007-08-29 21:47:40 +00:00
Stefan Monnier
917ac1a9ba (png_load): Comment-out var only used in commented-out code. 2007-08-29 21:47:11 +00:00
Stefan Monnier
3b6fc48fec (mark_ttys): Don't bother checking top_frame (incorrectly)
before passing it to mark_object.
2007-08-29 21:46:50 +00:00
Stefan Monnier
2ed82a63ab (internal_resolve_face_name): Return a value.
(internal_resolve_face_name, resolve_face_name_error): Comment out.
2007-08-29 21:46:05 +00:00
Stefan Monnier
fd0f53a909 (check_x_display_info): Yet Another Int/Lisp_Object Mixup.
(x_icon): Comment-out var only used in commented-out code.
2007-08-29 21:45:22 +00:00
Romain Francoise
0a42be6da7 (Fset_input_mode): Don't call `Fset_quit_char' if QUIT hasn't been
provided.
2007-08-29 16:03:26 +00:00
Dan Nicolaescu
7196c97057 (mac_initialize): Delete declaration. 2007-08-29 15:31:23 +00:00
Juanma Barranquero
03f06e5cf5 *** empty log message *** 2007-08-29 13:25:36 +00:00
Glenn Morris
3553ccb3ee Update copyright years, update license to GPLv3 or later. 2007-08-29 07:28:21 +00:00