Stefan Monnier [Sat, 19 Apr 2008 19:30:53 +0000 (19:30 +0000)]
* 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.
Nick Roberts [Sat, 19 Apr 2008 06:41:23 +0000 (06:41 +0000)]
(gdb-thread-indicator): New variable.
(gdb-init-1): Initialise it.
(gdb-annotation-rules): New entry for "new-thread".
(gdb-thread-identification): New function to customize
mode-line-buffer-identification.
(gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
(gdb-assembler-mode): Use it.
(gdb-threads-mode): Force "info threads" onto queue.
Stefan Monnier [Sat, 19 Apr 2008 03:33:13 +0000 (03:33 +0000)]
* files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
Stefan Monnier [Sat, 19 Apr 2008 03:23:15 +0000 (03:23 +0000)]
* minibuffer.el (completion-table-with-context): Add support for `pred'.
(completion-table-with-terminator): Don't use complete-with-action
since we have to distinguish all three cases anyway.
(completion-table-with-predicate): New function.
(dynamic-completion-table): Add obsolete alias.
* minibuf.texi (Programmed Completion):
Replace dynamic-completion-table with the new completion-table-dynamic.
Stefan Monnier [Fri, 18 Apr 2008 15:48:06 +0000 (15:48 +0000)]
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
* lwlib/Makefile.in (TOOLKIT_DEFINES): Remove.
* src/Makefile.in (TOOLKIT_DEFINES): Remove.
(LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff.
(char-coding-system-table): Remove redundant obsolescence info in docstring.
(charset-list, generic-char-p, set-char-table-default): Fix typos in
obsolescence decarations.
Stefan Monnier [Thu, 17 Apr 2008 20:09:54 +0000 (20:09 +0000)]
(python-mode-map): Use abbrev-table-menu.
(python-use-skeletons): Remove, unused.
(python-skeletons): Remove. Use the abbrev table instead.
(python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed.
(def-python-skeleton): Simplify.
(python-expand-template): Use the abbrev-table and abbrev-insert.
(python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove.
(python-mode): Don't set pre-abbrev-expand-hook.
Nick Roberts [Thu, 17 Apr 2008 05:12:42 +0000 (05:12 +0000)]
(gdb-stack-update): New variable.
(gdb, gdb-starting, gdb-frames-mode): Use it.
(gdb-invalidate-frames): Advise to call "info stack" only if
execution has occurred.
(gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
selected frame if no execution has occurred.
(gdb-frames-force-update): New interactive function.
(gdb-frames-mode-map): Bind it to "F".
Stefan Monnier [Wed, 16 Apr 2008 19:53:06 +0000 (19:53 +0000)]
* configure.in (SYNC_INPUT): Use OPTION_DEFAULT_ON and AC_DEFINE
rather than change CPPFLAGS.
(HAVE_GTK): Rename to USE_GTK.
* Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now
done in config.h.
Stefan Monnier [Tue, 15 Apr 2008 15:20:35 +0000 (15:20 +0000)]
(mouse-throw-magnifier-with-scroll-bar)
(mouse-throw-magnifier-with-mouse-movement): Remove.
(mouse-throw-magnifier-base): New const.
(mouse-drag-scroll-delta): New fun.
(mouse-drag-throw): Use it.
Changed requirements section to tell that only one
of dvipdf or dvipdfm is needed.
(doc-view-already-converted-p): Fix bug that forced reconversion
if doc was already converted.
Stefan Monnier [Mon, 14 Apr 2008 18:13:16 +0000 (18:13 +0000)]
(tmm-completion-delete-prompt): Don't hardcode point-min==1.
(tmm-add-prompt): Make sure completion-setup-hook is preserved even in
case of an error in display-completion-list.
Stefan Monnier [Mon, 14 Apr 2008 18:11:52 +0000 (18:11 +0000)]
(file-cache-completions-keymap): Move init from
file-cache-completion-setup-function into declaration.
(file-cache-minibuffer-complete): Simplify.
(file-cache-completion-setup-function): Use standard-output,
preserve current-buffer.
Stefan Monnier [Mon, 14 Apr 2008 15:10:36 +0000 (15:10 +0000)]
(completion-table-with-terminator): Those completions
are never valid w.r.t test-completion.
(completion--file-name-table): Check completion-all-completions-with-base-size.
* doc-view.el (doc-view-dvipdf-program): New variable.
(doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
(doc-view-mode-p): Check for doc-view-dvipdf-program as
alternative for doc-view-dvipdfm-program.
(doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.