Dan Nicolaescu
f2a77c3a41
* unexnext.c:
...
* m/ews4800.h:
* m/hp9000s300.h:
* m/ibm370aix.h:
* m/mips-siemens.h:
* m/ncr386.h:
* m/next.h:
* m/pmax.h:
* m/powerpcle.h:
* m/tandem-s2.h:
* s/386bsd.h:
* s/bsd386.h:
* s/bsd4-1.h:
* s/bsd4-2.h:
* s/bsdos2-1.h:
* s/bsdos2.h:
* s/bsdos3.h:
* s/bsdos4.h:
* s/nextstep.h:
* s/ultrix4-3.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-4-3.h:
* s/ux4800.h:
* s/uxpds.h:
* s/uxpv.h: Remove support for obsolete systems.
* s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
Remove, insert contents in s/hpux-10.20.h
* s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
Remove, insert contents in s/aix-4.2.h
* s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
* s/bsd4-3.h: Rename to ..
* s/bsd-common.h: ... this.
* src/data.c:
* src/doc.c:
* src/ecrt0.c:
* src/emacs.c:
* src/fileio.c:
* src/floatfns.c:
* src/keyboard.c:
* src/mem-limits.h:
* src/print.c:
* src/process.c:
* src/sysdep.c:
* src/syssignal.h:
* src/systty.h:
* src/syswait.h:
* src/term.c:
* src/unexec.c:
* src/unexelf.c:
* src/unexhp9k800.c:
* src/m/hp800.h:
* src/m/ibmrs6000.h:
* src/m/mips.h:
* src/m/vax.h:
* src/s/darwin.h:
* src/s/freebsd.h:
* src/s/gnu.h:
* src/s/ms-w32.h:
* src/s/msdos.h:
* src/s/netbsd.h:
* src/s/template.h: Remove references to obsolete variables.
* Makefile.in: Add dependencies for all unexec files.
(admindir): Remove unused variable.
(UNEXEC_SRC): Remove references.
* config.nt: Remove reference to UNEXEC_SRC.
* lwlib.c: Remove references to obsolete variables.
* fakemail.c: Remove references to obsolete variables.
* os.texi: Remove references to obsolete systems.
* configure.in:
* configure: Remove references to obsolete systems.
2008-06-26 04:24:54 +00:00
Jim Meyering
70fdbb46cd
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
...
* src/alloc.c (xfree): Return right away for a NULL arg.
* src/lread.c (nosuffix): Remove now-useless if-before-xfree tests.
* src/gtkutil.c (xg_gtk_scroll_destroy): Likewise.
* src/mac.c (create_apple_event_from_event_ref): Likewise.
(create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise.
* src/doprnt.c (doprnt1): Likewise.
* src/frame.c (frame): Likewise.
* src/keyboard.c (wipe_kboard): Likewise.
* src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap):
(init_font_name_table, mac_unload_font, x_delete_display): Likewise.
* src/term.c (tty_default_color_capabilities, maybe_fatal)
(delete_tty): Likewise.
* src/w16select.c (string): Likewise.
* src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise.
* src/w32bdf.c (w32_free_bdf_font): Likewise.
* src/w32fns.c (w32_unload_font): Likewise.
* src/w32font.c (w32font_close): Likewise.
* src/window.c (size_window): Likewise.
* src/xselect.c (receive_incremental_selection): Likewise.
* src/xterm.c (x_free_frame_resources, x_delete_display): Likewise.
* src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise.
* src/w32.c (stat): Likewise.
2008-06-02 06:09:17 +00:00
Stefan Monnier
a58041570c
(parse_menu_item): Fix last change.
2008-05-16 04:55:56 +00:00
Stefan Monnier
86b8971382
(parse_menu_item): Do not cache key shortcut any more.
2008-05-16 04:28:27 +00:00
Glenn Morris
9ec0b715e2
Switch to recommended form of GPLv3 permissions notice.
2008-05-14 07:50:26 +00:00
Stefan Monnier
ece5f84750
* tooltip.el (tooltip-previous-message): New var.
...
(tooltip-show-help-non-mode): Rewrite to better follow the behavior of the
C code (avoid overwriting a minibuffer, restore previous echo message, ...).
(tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt): Simplify.
* keyboard.c (Vpre_help_message): Remove.
(show_help_echo): Remove default C code.
2008-04-19 19:30:53 +00:00
Chong Yidong
07024c436a
(read_key_sequence): Remove always-true checks.
2008-04-15 23:36:02 +00:00
Stefan Monnier
5c4cc82aeb
(Qdeactivate_mark): New var.
...
(command_loop_1): Use it to call `deactivate-mark'.
(syms_of_keyboard): Initialize it.
2008-04-09 03:29:46 +00:00
Chong Yidong
12679e05b0
Restore support for the values identity' and only' for transient
...
mark mode, since it can't hurt. Update comments.
2008-04-02 20:22:37 +00:00
Chong Yidong
025ae9533d
(Vthis_command_keys_shift_translated): New var.
...
(command_loop_1): Avoid running the direct display versions of
forward-char and backward-char if shift-selection may occur.
Don't change the value of transient-mark-mode; this is now handled
by handle-shift-selection.
(read_key_sequence): Set Vthis_command_keys_shift_translated if
shift-translation takes place.
2008-04-02 20:14:57 +00:00
Stefan Monnier
58555d8187
* keyboard.c (pending_funcalls): New var.
...
(timer_check): Run it.
(syms_of_keyboard): Initialize it.
* terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
(Vdelete_terminal_functions): New vars.
(syms_of_terminal): Initialize them.
(Fdelete_terminal): Run delete-terminal-functions.
* xdisp.c (safe_eval): Rewrite.
(safe_call2): New fun.
* frame.c (Qdelete_frame_functions): New var.
(syms_of_frame): Initialize it.
(Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
* lisp.h (safe_call2, pending_funcalls): Declare.
2008-03-29 01:46:10 +00:00
Jason Rumney
d148e14dc5
* w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
...
(syms_of_w32fns): Initialize them.
(HOURGLASS_ID): New constant.
(x_window_to_frame): Don't check hourglass_window.
(w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
(w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
(w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
(w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
Only change the cursor if hourglass is not active.
(Fx_create_frame): Initialize frame's current_cursor.
(hourglass_atimer): Remove.
(hourglass_started): New function.
(start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
(show_hourglass): Adapt to w32, changing argument to frame.
* w32term.h (struct w32_output): Remove hourglass_window.
Add current_cursor.
* eval.c (call_debugger, Fsignal):
* keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
(command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
(Fexecute_extended_command, cancel_hourglass_unwind):
* minibuf.c (read_minibuf):
* fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
2008-03-19 17:04:18 +00:00
Andreas Schwab
a864f6d690
(read_key_sequence): Fix downcasing of letters with
...
modifiers.
2008-03-16 11:24:35 +00:00
Chong Yidong
6a8128efce
(command_loop_1): Revert 2006-10-09 change.
2008-02-25 16:06:08 +00:00
Stefan Monnier
adf6a42938
(read_avail_input): Call Fdelete_terminal.
2008-02-12 04:05:29 +00:00
Juanma Barranquero
4ed4b97572
(read_key_sequence): Don't pass args with side effects to AREF,
...
it fails when compiling with -DENABLE_CHECKING.
2008-02-11 11:31:13 +00:00
Dan Nicolaescu
4624371d9a
* configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
...
dealing with obsolete variables.
* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.
* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.
* s/msdos.h (DONT_NEED_ENVIRON): Don't define.
* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
2008-02-09 18:03:10 +00:00
Stefan Monnier
b1ebcadbe2
(add_command_key, parse_menu_item): Use ASET.
2008-02-08 16:22:36 +00:00
Miles Bader
6498c4b170
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-328
2008-01-31 13:49:17 +00:00
Miles Bader
94cc397c54
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1028
2008-01-31 11:35:46 +00:00
Kenichi Handa
a32aad64df
(make_ctrl_char): If C is a multibyte character, just
...
return it ORed with ctrl_modifier.
2008-01-31 06:42:01 +00:00
Miles Bader
d235ca2ff8
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Stefan Monnier
0975aa2475
(read_char): Yet another int/Lisp_Object mixup (YAILOM).
2008-01-28 03:48:45 +00:00
Richard M. Stallman
94f9b406a7
(read_char): Restore echo_message_buffer after redisplay.
2008-01-25 22:57:41 +00:00
Dan Nicolaescu
e39a993cce
* movemail.c:
...
* make-docfile.c: Remove reference to symbols defined by systems
not supported anymore: MAC_OS8, XENIX and STRIDE.
* (src/m/mips.h):
* (src/m/intel386.h):
* callproc.c:
* config.in:
* ecrt0.c:
* emacs.c:
* fileio.c:
* frame.c:
* getpagesize.h:
* keyboard.c:
* lread.c:
* process.c:
* puresize.h:
* sysdep.c:
* systty.h:
* syswait.h:
* unexec.c:
* xdisp.c:
* alloc.c: Remove code containing references to symbols defined by
unsupported systems.
2008-01-13 00:43:55 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Glenn Morris
8cabe764e9
Add 2008 to copyright years.
2008-01-08 04:37:27 +00:00
Nick Roberts
ee2e9728e4
(parse_menu_item): Don't enclose key bindings on
...
menu bar in parentheses.
2008-01-06 21:34:57 +00:00
Stefan Monnier
87df3c322b
(read_key_sequence): Fix typo.
2008-01-03 21:56:05 +00:00
Miles Bader
d29ee6b1a1
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
2007-12-16 05:08:49 +00:00
Stefan Monnier
6d0867e5f5
(Fcommand_execute): Call Qcall_interactively instead of
...
manipulating the backtrace manually.
(make_lispy_event): Merge the ASCII and MULTIBYTE cases.
(struct backtrace, backtrace_list): Remove.
(command_loop_1): Remove dead var `no_direct'.
2007-12-10 03:48:05 +00:00
Miles Bader
0bd5084171
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Michael Albinus
033b73e2e0
* config.in (HAVE_DBUS): Add.
...
* Makefile.in: (HAVE_DBUS): Add D-Bus definitions if defined.
(ALL_CFLAGS): Add ${DBUS_CFLAGS}.
(obj): Add $(DBUS_OBJ).
(LIBES): Add $(DBUS_LIBS).
(dbusbind.o): New target.
* dbusbind.c: New file.
* emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.
* keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
(Qdbus_event) New Lisp symbol.
(kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
(gobble_input): Call xd_read_queued_messages, reading D-Bus
messages.
(keys_of_keyboard ): Define dbus-event.
* termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
2007-12-02 16:23:40 +00:00
Andreas Schwab
4b7ab1c4bc
(apply_modifiers): Fix typo.
2007-11-29 11:49:23 +00:00
Stefan Monnier
21ec2c4365
(KEY_TO_CHAR): New macro.
...
(parse_modifiers, apply_modifiers): Accept integer arguments.
(read_key_sequence): Use them to unify the "shift->unshift" mapping
for chars and symbol keys.
After doing such remapping, apply function-key-map again.
2007-11-28 04:45:32 +00:00
Andreas Schwab
9b6112e8c3
(Fevent_symbol_parse_modifiers): Fix declaration.
2007-11-15 23:00:45 +00:00
Stefan Monnier
58da34c73b
* subr.el (event-modifiers): Use internal-event-symbol-parse-modifiers.
...
* keyboard.c (Fevent_symbol_parse_modifiers): New function.
(syms_of_keyboard): Defsubr it.
2007-11-15 16:03:00 +00:00
Miles Bader
f23d76bdef
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
2007-11-11 00:56:44 +00:00
Jason Rumney
ba991a0e56
* keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]:
...
Remove W32_SCROLL_BAR_CLICK_EVENT.
(lispy_function_keys) [WINDOWSNT]: Add more keys.
(lispy_multimedia_keys) [WINDOWSNT]: New array.
(make_lispy_event) [WINDOWSNT]: Use it to translate
MULTIMEDIA_KEY_EVENT.
2007-11-09 12:19:21 +00:00
Stefan Monnier
1bc973c2e4
* keyboard.c (syms_of_keyboard): Initialize the initial_kboard.
...
(init_keyboard): Set current_kboard's window-system to nil.
(tty_read_avail_input): Typo.
* frame.c (make_initial_frame): Don't initialize the initial_kboard.
2007-10-31 19:25:32 +00:00
Miles Bader
18cd1f1a08
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 902-908)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
2007-10-27 09:12:07 +00:00
Miles Bader
fdc9061358
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Stefan Monnier
70b8d0a4a3
Make `window-system' into a keyboard-local variable (rather than
...
frame-local as done originally by multi-tty).
* startup.el (window-system): Remove. Don't make it frame-local.
* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.
* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.
* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system.
* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.
* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove. In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
2007-10-25 02:38:41 +00:00
Richard M. Stallman
3a704bd7e3
(Fcurrent_idle_time): Doc fix.
2007-10-24 08:23:01 +00:00
Stefan Monnier
0923785f3c
(read_key_sequence): Trivial typo in comment.
2007-10-24 02:22:21 +00:00
Miles Bader
9c8020a8df
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 890-898)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 122-128)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 257-258)
- Merge from emacs--rel--22
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
2007-10-19 00:00:21 +00:00
Stefan Monnier
3278f20eee
(read_key_sequence): Undo a change introduced by multi-tty
...
which caused key-translation-map to applied repeatedly (thus breaking
double-mode).
2007-10-18 22:07:34 +00:00
Stefan Monnier
9beb8baa1f
* xfns.c (Fx_create_frame, Fx_display_list):
...
* window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
* macterm.c (init_font_name_table):
* macfns.c (Fx_create_frame, Fx_display_list):
* lread.c (close_load_descs):
* keyboard.c (read_char_x_menu_prompt):
* fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
* coding.c (code_convert_region_unwind): Test the type of an object
rather than just !NILP before extracting data from it.
2007-10-16 16:28:39 +00:00
Miles Bader
63655c8314
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 887-889)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Richard M. Stallman
219ccf1b79
Line break fix.
2007-10-14 18:53:16 +00:00