(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.
(doc-view-start-process): Don't set
default-directory to "~/" if the current value is valid. This
broke PS files that run other files in the same directory.
Dan Nicolaescu [Mon, 14 Apr 2008 08:59:41 +0000 (08:59 +0000)]
(vc-status-kill-query): New function.
(vc-status-mode): Add it to kill-buffer-query-functions.
(vc-status-show-fileentry): New function.
(vc-status-menu-map): Bind it. Bind vc-next-action.
Roland Winkler [Mon, 14 Apr 2008 01:35:56 +0000 (01:35 +0000)]
(proced-command-alist): Remove sort column.
(proced-command, proced-procname-column): Use
make-variable-buffer-local.
(proced-signal-function): Renamed from proced-kill-program. Allow
for elisp symbols and string values representing system calls.
(proced-marker-regexp, proced-success-message): New functions.
(proced): Use defalias. Add autoload cookie.
(proced-unmark-backward, proced-toggle-marks)
(proced-hide-processes): New commands.
(proced-do-mark): Simplify code.
(proced-insert-mark): Use optional arg BACKWARD instead of line number.
(proced-update): Remove sorting.
(proced-send-signal): Display number of processes to operate on.
Allow for system calls or elisp functions to send signals. Check
if signal was send successfully.
Stefan Monnier [Sun, 13 Apr 2008 22:12:02 +0000 (22:12 +0000)]
* minibuffer.el (completion-all-completion-with-base-size): New var.
(completion--some): New function.
(completion-table-with-context, completion--file-name-table):
Return the base-size if requested.
(completion-table-in-turn): Generalize to multiple arguments.
(complete-in-turn): Compatibility alias.
(completion-styles-alist): New var.
(completion-styles): New customization.
(minibuffer-try-completion, minibuffer-all-completions):
New functions.
(minibuffer--do-completion, minibuffer-complete-and-exit)
(minibuffer-try-word-completion): Use them.
(display-completion-list, minibuffer-completion-help): Use them.
Handle all-completions's new base-size info to set completion-base-size.
* info.el (Info-read-node-name-1): Use completion-table-with-context,
completion-table-with-terminator and complete-with-action.
Remove the now obsolete completion-base-size-function property.
* simple.el (completion-list-mode-map): Move init into declaration.
(completion-list-mode): Use define-derived-mode.
(completion-setup-function): Use any completion-base-size that may
have been set before. Remove handling of completion-base-size-function.
* loadup.el: Move abbrev.el up earlier.
(vc-git-after-dir-status-stage)
(vc-git-dir-status-goto-stage): New functions.
(vc-git-after-dir-status-stage1)
(vc-git-after-dir-status-stage1-empty-db)
(vc-git-after-dir-status-stage2): Removed, functionality moved
into the new generic stage functions.
(vc-git-dir-status-files): New function.
(vc-status-update): Revert an incorrect rewrite. Add some
comments.
(vc-status-refresh-files): New function.
(vc-status-refresh): Use `vc-status-refresh-files' to refresh the
state of up-to-date files.
(vc-default-dir-status-files): New function.