Michael Albinus [Mon, 27 Jul 2009 10:02:50 +0000 (10:02 +0000)]
* net/dbus.el (dbus-call-method-non-blocking): Handle the case the
function returns nil.
(dbus-handle-event): Handle special return value :ignore.
Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
Michael Albinus [Sat, 25 Jul 2009 08:31:40 +0000 (08:31 +0000)]
* net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
instead of "IsNSSSupportAvailable". Avahi ought to work also when
"IsNSSSupportAvailable" method is not available. Reported by
Steve Youngs <steve@sxemacs.org>.
Alan Mackenzie [Fri, 24 Jul 2009 12:14:02 +0000 (12:14 +0000)]
(Config Basics, File Styles): Document that at mode initialization, any
individual variable setting now takes precedence over one done via
c-file-style/c-file-offsets.
Fix setting of category ?C, ?|, ?K,
and ?H. Fix setting of case for Latin Extended and Greek
Extended.
(build-unicode-category-table): Fix range checks.
Adrian Robert [Thu, 23 Jul 2009 13:21:44 +0000 (13:21 +0000)]
* nsterm.m (ns_lookup_indexed_color): Check for bad index. (ns_index_color): Init unused slot to 0. (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). Bug 3714, possibly 3082.
(elint-standard-variables): Remove most members,
since the next two variables cover them automatically now.
(elint-builtin-variables, elint-autoloaded-variables): New.
(elint-unknown-builtin-args): Remove all members, since they can be
parsed automatically now.
(elint-extra-errors): New.
(elint-env-add-env, elint-env-add-macro): Use cadr.
(elint-current-buffer): Use or. Change final message.
(elint-get-top-forms): Use line-end-position.
(elint-init-env): Use cadr. Handle autoload, declare-function,
and defalias.
(elint-add-required-env): Doc fix. Use or. Standardize error.
(regexp-assoc): Remove unused function.
(elint-top-form): Set elint-current-pos, to record the start of the
top-level form, for compilation-mode.
(elint-form): Trap errors in macro expansion. Use dolist.
(elint-unbound-variable): Use elint-builtin-variables and
elint-autoloaded-variables.
(elint-get-args): Use cadr, or.
(elint-check-cond-form): Use dolist, cadr.
(elint-check-condition-case-form): Doc fix. Use cadr.
Use elint-extra-errors.
(elint-log): New function.
(elint-error, elint-warning): Use elint-log for a bytecomp-style format.
Distinguish errors and warnings.
(elint-log-message): Use with-current-buffer. Inhibit read-only.
Use a bytecomp-style format.
(elint-clear-log): Preserve default-directory. Inhibit read-only.
(elint-get-log-buffer): Use compilation mode. Disable undo.
Don't truncate lines.
(elint-initialize): Set builtin and autoloaded variable lists.
Only process elint-unknown-builtin-args if non-nil.
(elint-find-builtin-variables, elint-find-autoloaded-variables):
New functions.
(elint-find-builtin-args): Doc fix. Handle "BODY...)".
(byte-compile-from-buffer, byte-compile-output-file-form)
(byte-compile-output-docform, byte-compile-file-form-defmumble)
(byte-compile-output-as-comment):
Give some more local variables with common names a "bytecomp-" prefix,
so as not to shadow things during compilation.
* fileio.c: Revert 2009-07-16 changes.
(Vauto_save_include_big_deletions): New variable.
(Fdo_auto_save): Disable auto-save only if auto-save-include-big-deletions is nil.
Ken Raeburn [Tue, 21 Jul 2009 09:26:43 +0000 (09:26 +0000)]
(load_depth): New variable.
(Fload, load_unwind, init_lread): Set it to the load recursion
depth; set load_in_progress as a simple boolean based on the
current load_depth. (Bug#3892)
Standardize headers.
Remove version numbers that don't mean much and are infrequently updated.
Instead, just use Emacs version and date.
Use FSF URL rather than postal address.
Standardize header.
(versionnumber): Rename to versionviper.
(versionemacs, versionxemacs): New.
(version): Remove.
(copyrightnotice): Use FSF URL rather than postal address.
(ps-jitify, ps-lazify): Remove aliases only used to
silence compiler. Instead...
(jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
(ps-print-ensure-fontified): Update for above function name changes.
(pr-mh-get-msg-num, pr-mh-show)
(pr-mh-start-of-uncleaned-message): Remove aliases only used to
silence compiler. Instead...
(mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
(mh-show-buffer): Only define for compiler.
(pr-mh-current-message): Update for above function name changes.
Remove ancient version: header.
(menu-bar-emerge-menu): Remove unused variable.
(emerge-version): Make the variable an obsolete alias for the
emacs-version variable. Make the function obsolete.
(emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
Emerge options, rather than merging in into the main Options menu.
(emerge-options-menu): Adjust menu text. Use buttons for skip prefers
and auto advance modes. Disable edit/fast items when not relevant.
Adrian Robert [Mon, 20 Jul 2009 18:14:05 +0000 (18:14 +0000)]
* nsfont.m (ns_attribute_value): Remove.
(ns_attribute_fvalue): Incorporate code from ns_attribute_value.
(ns_has_attribute): Shrink the normal range.
(ns_findfonts): Don't worry about requested spec in determining
need for synthItal.
(ns_get_covering_families): Retain scriptToFamilies.