Eli Zaretskii [Sat, 8 Dec 2007 17:06:06 +0000 (17:06 +0000)]
(check-declare): New target.
(BYTE_COMPILE_EXTRA_FLAGS): New variable.
(.el.elc, compile-CMD, compile-SH, compile-always-CMD)
(compile-always-SH, compile-calc-CMD, compile-calc-SH)
($(lisp)/progmodes/cc-mode.elc): Use it.
($(lisp)/progmodes/cc-mode.elc): New rule.
Michael Albinus [Sat, 8 Dec 2007 12:56:59 +0000 (12:56 +0000)]
* net/dbus.el (dbus-hash-table=): Remove function. We cannot
apply wildcards in a hash table key; there is no usable hash code
then.
(dbus-registered-functions-table): Use `equal' as test function.
(dbus-name-owner-changed-handler): Rewrite due to new hash table
structure.
Michael Albinus [Sat, 8 Dec 2007 12:53:37 +0000 (12:53 +0000)]
* dbusbind.c (xd_read_message): Generate an event for every
registered handler. There might be several handlers registered
for the same signal.
(Fdbus_register_signal): Don't overwrite a registration for the
same signal. Add a new registration if handlers are different.
(Vdbus_registered_functions_table): Rework doc string.
Stefan Monnier [Thu, 6 Dec 2007 15:04:29 +0000 (15:04 +0000)]
(doc-view-dvi->pdf-sentinel, doc-view-pdf/ps->png-sentinel)
(doc-view-pdf->txt-sentinel, doc-view-ps->pdf-sentinel, doc-view-display):
Don't change buffer within a sentinel or timer.
(doc-view-display): Don't try to display before the requested page
is available, unless told to do so explicitly.
(doc-view-pdf/ps->png-sentinel, doc-view-initiate-display):
Force display even if the requested page is not available.
Glenn Morris [Thu, 6 Dec 2007 04:13:23 +0000 (04:13 +0000)]
(antlr-keyword, antlr-syntax)
(antlr-ruledef, antlr-tokendef, antlr-ruleref-face)
(antlr-tokenref, antlr-literal): Inherit from standard font-lock
faces in non-light-background case.
Michael Albinus [Wed, 5 Dec 2007 21:53:40 +0000 (21:53 +0000)]
* dbusbind.c (xd_read_message): Return value is a Lisp_Object.
Move check for Vdbus_registered_functions_table to
xd_read_queued_messages.
(xd_read_queued_messages): Protect xd_read_message calls by
internal_condition_case_1.
Glenn Morris [Wed, 5 Dec 2007 07:09:53 +0000 (07:09 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 07:09:17 +0000 (07:09 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 07:08:55 +0000 (07:08 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 07:07:39 +0000 (07:07 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
(eshell-buffer-name): Define for compiler.
Glenn Morris [Wed, 5 Dec 2007 07:07:12 +0000 (07:07 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
(top-level): Don't require pp. Use condition-case rather than
ignore-errors.
Glenn Morris [Wed, 5 Dec 2007 07:06:30 +0000 (07:06 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
(eshell-load-defgroups): Eval and compile.
Glenn Morris [Wed, 5 Dec 2007 07:06:02 +0000 (07:06 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
(eshell-print): Move definition before use.
Glenn Morris [Wed, 5 Dec 2007 07:05:27 +0000 (07:05 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
(eshell-debug-command): Move definition before use.
Glenn Morris [Wed, 5 Dec 2007 07:04:00 +0000 (07:04 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Leave provide at start.
Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 07:03:18 +0000 (07:03 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 07:00:23 +0000 (07:00 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
(print-func): No need to define for compiler.
Glenn Morris [Wed, 5 Dec 2007 06:59:48 +0000 (06:59 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
Glenn Morris [Wed, 5 Dec 2007 06:59:24 +0000 (06:59 +0000)]
Require individual files if needed when compiling, rather than
esh-maint. Collect any require statements. Move provide statement to
end. Move any commentary to start.
(pcomplete-stub): Define for compiler.
(pcomplete-here): Autoload it.
Michael Albinus [Tue, 4 Dec 2007 21:29:40 +0000 (21:29 +0000)]
* dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Renamed from
Qdbus_system_bus and Qdbus_session_bus, respectively.
(Vdbus_intern_symbols): Removed.
(Vdbus_registered_functions_table): New hash table.
(XD_SYMBOL_INTERN_SYMBOL): Removed.
(xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
Rewritten in order to manage registered functions by hash table
Vdbus_registered_functions_table.
Michael Albinus [Tue, 4 Dec 2007 21:21:09 +0000 (21:21 +0000)]
* net/dbus.el (dbus-hash-table=): New defun.
(dbus-hash-table-test) New hash table test function, used in
`dbus-registered-functions-table'.
(dbus-*-event, dbus-event-*): Rewritten, due to new structure of
`dbus-event'.
(ido-save-history): Use emacs-mule coding system instead of
utf-8 to save filenames (it's safer in Emacs 22). Set the
`coding' local variable on the first line of the file.
Karl Fogel [Tue, 4 Dec 2007 06:11:29 +0000 (06:11 +0000)]
* lisp/saveplace.el (save-place-alist-to-file): Save with 'emacs-mule'
coding system. This ports 2007-12-02T21:15:22Z!kfogel@red-bean.com and 2007-12-02T21:24:38Z!kfogel@red-bean.com over to the
EMACS_22_BASE branch, but with the right coding system for Emacs 22
to reliably record filenames. Suggested by Eli Zaretskii.