Chong Yidong [Fri, 8 Aug 2008 17:46:38 +0000 (17:46 +0000)]
* battery.el (battery-echo-area-format, battery-status-function):
Handle new Linux sysfs format for battery reporting.
(battery-linux-sysfs): New function.
Dan Nicolaescu [Thu, 7 Aug 2008 14:21:43 +0000 (14:21 +0000)]
* s/darwin.h (OTHER_FILES): Do not define here, defined in
config.in.
* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.
* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES. Do
not special case for NS_IMPL_COCOA.
* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
Adrian Robert [Thu, 7 Aug 2008 03:10:08 +0000 (03:10 +0000)]
* startup.el (command-line-ns-option-alist): Use ignore instead of ns-ignore-0-arg. * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region) (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop. (ns-alternatives-map): New variable. (x-set-up-function-keys): Use it. (global): Comment out 'put backspace ascii-character...' and friends. Move function-key-map into ns-alternatives-map. Don't call precompute-menubar-bindings. Don't set anything connected with browse-url. (after-make-frame-functions): Clarify comment why a hook is added.
Chong Yidong [Wed, 6 Aug 2008 18:26:47 +0000 (18:26 +0000)]
(try_scrolling): Use iterator to find the scroll margin,
instead of window-end which does the wrong thing at eob.
(try_cursor_movement): Minor optimization.
(redisplay_window): If scroll margin is defined, don't assume
window doesn't need scrolling.
Chong Yidong [Wed, 6 Aug 2008 18:26:02 +0000 (18:26 +0000)]
* xdisp.c (try_scrolling): Use iterator to find the scroll margin,
instead of window-end which does the wrong thing at eob.
(try_cursor_movement): Minor optimization.
(redisplay_window): If scroll margin is defined, don't assume
window doesn't need scrolling.
Adrian Robert [Wed, 6 Aug 2008 16:20:46 +0000 (16:20 +0000)]
* config.in: Regenerate. * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. (mostlyclean): Don't delete *.d under NS. * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER.
Dan Nicolaescu [Wed, 6 Aug 2008 14:56:32 +0000 (14:56 +0000)]
(Old Revisions): Update the keys used by vc-annotate and
describe the new bindings to show the changeset diff, toggle annotation
visibility, show revisions.
(VC Status): Describe key bindings for modifying the change comments,
displaying changeset diffs and annotations.
Chong Yidong [Tue, 5 Aug 2008 23:44:48 +0000 (23:44 +0000)]
(socket_connection): Add conditionals for HAVE_KRB5_ERROR_TEXT and
HAVE_KRB5_ERROR_E_TEXT to support compilation with MIT Kerberos and
Heimdal, respectively.
Chong Yidong [Tue, 5 Aug 2008 23:44:39 +0000 (23:44 +0000)]
* pop.c (socket_connection): Add conditionals for
HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
compilation with MIT Kerberos and Heimdal, respectively.
Chong Yidong [Tue, 5 Aug 2008 20:46:27 +0000 (20:46 +0000)]
* files.el (hack-one-local-variable-eval-safep): Handle
lisp-indent-function and scheme-indent-function in addition to the
deprecated lisp-indent-hook.
Michael Albinus [Tue, 5 Aug 2008 19:49:17 +0000 (19:49 +0000)]
* net/xesam.el (top): Require `wid-edit' always.
(xesam-mode-line, xesam-highlight): New deffaces.
(xesam-objects): New local variable.
(xesam-search-engines): Fix error in field list.
(xesam-mode): Use `xesam-mode-line' instead of
`font-lock-type-face'. Apply `xesam-mode' to a temp buffer, for
proper initiatilzaion (why?).
(xesam-highlight-string, xesam-get-hits)
(xesam-kill-buffer-function): New defuns.
(xesam-refresh-entry): Move code to `xesam-get-hits'. Check
result of "hit.fields", it isn't a string only. Wrap an error of
the strigi search engine ("xesam:size" is returned as string).
Highlight search items.
(xesam-refresh-search-buffer): Make logic of counters more simple.
Prefetch next hits.
(xesam-signal-handler): Use `xesam-mode-line' instead of
`font-lock-type-face'.
(xesam-new-search): Add `xesam-kill-buffer-function' to
`kill-buffer-hook'.