1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00
Commit Graph

23657 Commits

Author SHA1 Message Date
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
Jason Rumney
30b7f3e6d0 (w32_face_attributes): Comment previous change. 2007-12-01 15:57:41 +00:00
Jason Rumney
f1e8dcf11a *** empty log message *** 2007-12-01 15:15:47 +00:00
Richard M. Stallman
39d0bf7466 (syms_of_search) <inhibit-changing-match-data>: Doc fix. 2007-12-01 06:59:12 +00:00
Jason Rumney
f442d34883 (w32_face_attributes): Don't use color indexes that are out of range.
Only reverse the default colors.
2007-11-30 17:15:46 +00:00
Jason Rumney
f3157c6585 (vga_stdcolor_name): Remove. 2007-11-30 13:57:57 +00:00
Jason Rumney
09320d303e (w32con_ins_del_lines, scroll_line): Clip to window.
(w32con_reset_terminal_modes): Clear screen buffer.
(vga_stdcolor_name): Remove.
2007-11-30 13:57:21 +00:00
Jason Rumney
8d05ec5127 (map_tty_color, tty_color_name): Remove special case for WINDOWSNT. 2007-11-30 13:56:27 +00:00
Jason Rumney
b510360c6b Leave HAVE_WINDOW_SYSTEM defined.
(w32_face_attributes): Use Vtty_defined_color_alist to determine
if the terminal colors are initialized.
(unspecified_fg, unspecified_bg): Remove unused declarations.
2007-11-29 21:57:25 +00:00
Andreas Schwab
4b7ab1c4bc (apply_modifiers): Fix typo. 2007-11-29 11:49:23 +00:00
Richard M. Stallman
4bb6c266e4 (Fcurrent_local_map): Doc fix. 2007-11-29 01:08:57 +00:00
Glenn Morris
aa44cd8453 Petr Salinger <Petr.Salinger at seznam.cz>: New file. 2007-11-28 08:16:41 +00:00
Stefan Monnier
cc648cef36 (Fget_buffer_create, Fmake_indirect_buffer): Don't cast redundantly. 2007-11-28 04:46:22 +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
Dan Nicolaescu
73e72da43b * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
byte compiler.
(cperl-mode): Use with-no-warnings for setting vc-header-alist.

* progmodes/idlwave.el (idlwave-shell-get-path-info)
(idlwave-shell-temp-file, idlwave-shell-is-running)
(widget-value, comint-dynamic-complete-filename, Info-goto-node):
* progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion)
(idlwave-all-method-classes, idlwave-all-method-keyword-classes)
(idlwave-beginning-of-statement, idlwave-best-rinfo-assoc)
(idlwave-class-found-in, idlwave-class-or-superclass-with-tag)
(idlwave-completing-read, idlwave-current-routine)
(idlwave-downcase-safe, idlwave-entry-find-keyword)
(idlwave-expand-keyword, idlwave-find-class-definition)
(idlwave-find-inherited-class, idlwave-find-struct-tag)
(idlwave-get-buffer-visiting, idlwave-in-quote)
(idlwave-make-full-name, idlwave-members-only)
(idlwave-popup-select, idlwave-routine-source-file)
(idlwave-routines, idlwave-sintern-class)
(idlwave-sintern-keyword, idlwave-sintern-method)
(idlwave-sintern-routine-or-method)
(idlwave-substitute-link-target, idlwave-sys-dir)
(idlwave-this-word, idlwave-what-module-find-class)
(idlwave-where):
* progmodes/idlw-complete-structtag.el (idlwave-shell-buffer):
* mail/uce.el (rmail-msg-is-pruned)
(rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend)
(rmail-toggle-header):
* mail/sendmail.el (dired-view-file, dired-get-filename):
* mail/rmailkwd.el (rmail-maybe-set-message-counters)
(rmail-display-labels, rmail-msgbeg)
(rmail-set-message-deleted-p, rmail-message-labels-p)
(rmail-show-message, mail-comma-list-regexp)
(mail-parse-comma-list):
* mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg)
(rmail-summary-mark-undeleted, rmail-summary-mark-deleted)
(rfc822-addresses, mail-abbrev-make-syntax-table)
(mail-sendmail-delimit-header, mail-header-end):
* mail/hashcash.el (message-narrow-to-headers-or-head)
(message-fetch-field, message-goto-eoh)
(message-narrow-to-headers):
* vc.el (view-mode-exit): Declare as functions.

* mail/vms-pmail.el:
* vmsproc.el:
* vms-patch.el: Don't byte compile these files, they don't work.

* Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not
compiled anymore.
2007-11-27 06:57:07 +00:00
Andreas Schwab
d3c0009d30 (list_processes_1): Fix indentation level of the
command column.
2007-11-26 09:56:47 +00:00
Andreas Schwab
254693ff3d *** empty log message *** 2007-11-26 09:56:30 +00:00
Andreas Schwab
ff6e6ac839 (Fformat): Handle %c specially since it requires the
argument to be of type int.
2007-11-23 13:27:46 +00:00
Stefan Monnier
f7cf8b2009 (main): Call init_editfns before init_process, since
init_process sets Vprocess_connection_type depending on OS release
2007-11-23 04:17:56 +00:00
Stefan Monnier
8787dd7335 (do_symval_forwarding): Use same code as in find_symbol_value.
(find_symbol_value): Use do_symval_forwarding.
2007-11-22 20:29:48 +00:00
Stefan Monnier
569c11e306 (set_internal): Set the value in the `cons-cell' (for
Buffer_Local_values) not only for frame-local variables.
2007-11-22 19:48:57 +00:00
Andreas Schwab
6af1696d06 (print_object): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:16:09 +00:00
Andreas Schwab
959e1b49b1 (Fsingle_key_description): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:44 +00:00
Andreas Schwab
dfa3bb7a61 (Fnumber_to_string): Add cast when passing EMACS_INT
values to sprintf.
2007-11-22 16:15:24 +00:00
Jan Djärv
d4ad8c0488 (update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
2007-11-22 08:35:57 +00:00
Dan Nicolaescu
7c401d155d * term.c: Include stdarg.h.
(fatal): Implement using varargs.
* lisp.h (fatal): Add argument types. (Restore 2005-09-30 change).
2007-11-22 01:01:26 +00:00
Stefan Monnier
64e16c3c22 * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.
* data.c (store_symval_forwarding): Get type from buffer_objfwd.
Update call to buffer_slot_type_mismatch.
* buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
(buffer_slot_type_mismatch): Update.
* buffer.c (buffer_local_types): Remove.
(buffer_slot_type_mismatch): Get the symbol and type as arguments.
(defvar_per_buffer): Set the type in the buffer_objfwd.
2007-11-21 20:59:47 +00:00
Miles Bader
d4aa48db8e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Jason Rumney
6152361fcb (init_display) [WINDOWSNT]: Hardcode terminal_type. 2007-11-21 03:46:31 +00:00
Jason Rumney
bdae054022 (w32con_write_glyphs): Remove unused variables. 2007-11-21 03:46:15 +00:00
Dan Nicolaescu
b951420f70 (mac_term_init): Call add_keyboard_wait_descriptor. 2007-11-20 18:14:19 +00:00
Dan Nicolaescu
202c09a889 * term/mac-win.el (x-setup-function-keys): Only setup
local-function-key-map if it has not been setup already for the
current frame. Move the suspend-emacs processing here.

* s/darwin.h (MULTI_KBOARD): Remove.

* macfns.c (x_create_tip_frame, Fx_create_frame)
(x_create_tip_frame): Don't deal with MULTI_KBOARD.
2007-11-20 17:58:52 +00:00
Jason Rumney
5f42a7eba2 (w32_init_bdf_font, w32_BDF_to_x_font): CreateFileMapping
returns NULL on failure.
2007-11-19 09:14:38 +00:00
Stefan Monnier
e7c10f83b3 (Fbuffer_local_value): Remove redundant test.
(swap_out_buffer_local_variables): Swap out binding in `buffer' rather
than in `current-buffer' to match the comment.
Do the swap using swap_in_global_binding.
2007-11-19 07:44:30 +00:00
Stefan Monnier
136eb6ed3f * data.c (store_symval_forwarding, set_internal):
* eval.c (specbind): Remove dead code.
2007-11-19 07:42:25 +00:00
Stefan Monnier
bae72c12b5 * coding.c (detect_coding, Fupdate_coding_systems_internal):
* fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE
Since we do not want to see internal Lisp_*fwd objects here.
2007-11-19 07:40:51 +00:00
Jan Djärv
3d66b98576 (init_system_name): Use getaddrinfo if available. 2007-11-18 17:34:03 +00:00
Jan Djärv
95fbaefc5f (x_scroll_bar_set_handle, x_scroll_bar_handle_click)
(x_scroll_bar_note_movement): start, end, with, height in struct
scroll_bar are integers and not Lisp_Object, so remove XINT for them.
2007-11-18 13:54:46 +00:00
Dan Nicolaescu
6c1d8cb62c (BASE_PURESIZE): Increase to 1190000. 2007-11-17 18:23:01 +00:00
Stefan Monnier
b51d6c92fd (Fset_match_data): Remove the `evaporate' feature.
(unwind_set_match_data): Don't use the `evaporate' feature.
2007-11-16 22:16:01 +00:00
Stefan Monnier
66b04bd440 (struct buffer): Move undo_list' back to before name'.
This undoes Richard's change of 14-Oct-2002.
2007-11-16 21:58:46 +00:00
Stefan Monnier
6d3f2bb282 * alloc.c (allocate_other_vector):
* lisp.h (allocate_other_vector): Remove.
2007-11-16 21:24:59 +00:00
Stefan Monnier
b05b4e2787 (struct save_window_data): Move non-lisp data to the end
and make it `int' rather than Lisp_Object.
(Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR.
Done wrap/unwrap integer values.
(Fset_window_configuration, compare_window_configurations):
Update use of fields to their new types.
2007-11-16 21:23:07 +00:00
Stefan Monnier
056ce19597 * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data.
Turn integer fields into `int'.  Merge x_window_low and x_window_high.
(SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW)
(SET_SCROLL_BAR_X_WINDOW): Remove.
(SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET):
Access the new x_window field directly.
* xterm.c (x_scroll_bar_create): Use a pseudovector.
Don't wrap/unwrap integers into Lisp_Objects.
(XTset_vertical_scroll_bar, x_scroll_bar_handle_click)
(x_scroll_bar_report_motion):
Don't wrap/unwrap integers into Lisp_Objects.
(x_term_init): Use SDATA.
(x_window_to_scroll_bar, x_create_toolkit_scroll_bar)
(x_scroll_bar_set_handle, x_scroll_bar_remove)
(XTset_vertical_scroll_bar, x_scroll_bar_expose)
(x_scroll_bar_report_motion, x_scroll_bar_clear):
* xfns.c (x_set_background_color):
* gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb):
Access the new x_window field directly.
2007-11-16 21:04:30 +00:00
Stefan Monnier
30f95089ed * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h.
(allocate_pseudovector): Make non-static.
* lisp.h (enum pvec_type): New tag PVEC_OTHER.
(allocate_pseudovector): Declare.
(ALLOCATE_PSEUDOVECTOR): Move from alloc.c
2007-11-16 20:36:34 +00:00
Andreas Schwab
6af41c87df *** empty log message *** 2007-11-16 00:19:41 +00:00
Andreas Schwab
0df5538d11 *** empty log message *** 2007-11-16 00:19:22 +00:00
Andreas Schwab
791e6ff67d Always take precision into account. 2007-11-16 00:18:16 +00:00
Andreas Schwab
0e4df721fa Always take precision into account. 2007-11-16 00:17:40 +00:00
Andreas Schwab
023843b23b (Fformat): When formatting an integer as float take precision into account. 2007-11-16 00:10:45 +00:00