1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 01:50:22 -08:00
Commit graph

44182 commits

Author SHA1 Message Date
Juri Linkov
b92368b471 (eval-when-compile): Require `help-macro'.
(isearch-help-for-help-internal): Isearch specific Help screen
created by `make-help-screen'.
(isearch-help-map): New variable that binds "b", "k", "m" to
isearch-specific commands, and binds other keys to
isearch-other-control-char, thus allowing other Help keys to
exit isearch mode and execute their global definitions.
(isearch-help-for-help, isearch-describe-bindings)
(isearch-describe-key, isearch-describe-mode): New commands.
(isearch-mode-help): Define alias to isearch-describe-mode
and remove its old function definition.
(isearch-mode-map): Bind "\C-h" to isearch-help-map.
Remove old comments because this issue is settled now.
(isearch-forward): Describe three new Help commands in the docstring.
(isearch-mode): Remove \\{isearch-mode-map} from the docstring,
leave the single sentence at the first line of the docstring,
and prepend the word "function" before `isearch-forward'
to make the Help link to the function instead of variable.
2008-04-22 20:32:23 +00:00
Juri Linkov
0ec3382b01 (Info-search): In two similar places that skip
undesired search matches move code to Info-search-success-function,
and call `isearch-success-function' instead.
(Info-search-success-function): New function copied from code
in Info-search.  Replace isearch-range-invisible with
text-property-not-all that checks for 'invisible and 'display
properties to skip partially invisible matches (whose display
properties were set by Info-fontify-node).
(Info-mode): Set buffer-local isearch-success-function
to Info-search-success-function.
2008-04-22 19:57:58 +00:00
Juri Linkov
5e189f398c (isearch-success-function): New variable with default
to `isearch-success-function-default'.
(isearch-search): Call a function from `isearch-success-function'
instead of calling the hard-coded `isearch-range-invisible'.
(isearch-success-function-default): New function that calls
`isearch-range-invisible' and inverts its return value.
2008-04-22 19:56:17 +00:00
Juri Linkov
d3a89b9eab (dired-smart-shell-command): Sync arguments and
interactive spec with changes in `shell-command'.
Use dired-get-filename to get the dired file name at point
as the default value in dired mode.
2008-04-22 19:54:27 +00:00
Juri Linkov
905eb9ff9e (dired-read-shell-command-default): Move it to
gnus/mailcap.el and change its name to more general name
mailcap-file-default-commands.
(minibuffer-default-add-dired-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(dired-read-shell-command): Set local minibuffer-default-add-function
to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Remove dired-read-shell-command-default
from the default value arg because default values are not set in
minibuffer-default-add-dired-shell-commands.  Doc fix.
2008-04-22 19:51:57 +00:00
Juri Linkov
a837fe74bf (mailcap-file-default-commands): New function. 2008-04-22 19:51:27 +00:00
Juri Linkov
a98a2fe87a (minibuffer-default-add-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(shell-command): Set local minibuffer-default-add-function to
minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Set 4th arg default-value of
read-shell-command to relative buffer-file-name in file buffers.
2008-04-22 19:50:11 +00:00
Juri Linkov
e4c0cccf13 (read-buffer-to-switch): New function.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Change interactive spec to call read-buffer-to-switch instead of
using the letter "B".
2008-04-22 19:48:02 +00:00
Juri Linkov
8b04c0ae76 (internal-complete-buffer-except): New function. 2008-04-22 19:47:13 +00:00
Juanma Barranquero
d585001909 (Info-complete-menu-item): Add missing parenthesis. 2008-04-22 15:49:43 +00:00
Stefan Monnier
494858be8a (Info-complete-menu-item): Save point. 2008-04-22 15:36:53 +00:00
Juanma Barranquero
b0a5a021e3 (minibuffer-complete-and-exit): Fix last change. 2008-04-22 10:20:05 +00:00
Andreas Schwab
125891f438 (emacs-deps): Define. Use it instead of
$(lisp)/subdirs.el.
2008-04-22 09:34:02 +00:00
Dan Nicolaescu
ae67f2d0c0 (vc-next-action): Do not consider directories when
checking for state compatibility.
(vc-transfer-file): Use when not if.
(vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
(vc-dir-mark-file): Use them.
(vc-deduce-fileset): Also return the backend.
(vc-diff-internal): Take as argument the value returned by
vc-deduce-fileset instead of just the fileset.
(vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
(vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
(vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2008-04-22 09:00:14 +00:00
Andreas Schwab
c9b96e40c5 Unbreak bootstrap. 2008-04-22 06:53:52 +00:00
Tassilo Horn
d5793be30c (doc-view-scroll-up-or-next-page): Don't use
set-window-vscroll but image-scroll-down.  Fixes a bug where a
command following SPC scrolled up again.
2008-04-22 06:38:12 +00:00
Nick Roberts
01a369030e (gud-watch): Add "$" prefix when in registers buffer. 2008-04-22 06:25:15 +00:00
Nick Roberts
2baa22cf46 *** empty log message *** 2008-04-22 06:23:03 +00:00
Nick Roberts
4eb1954463 (gdb-locals-header): New variable.
(gdb-locals-mode, gdb-registers-mode): Use it for header line.
2008-04-22 05:57:37 +00:00
Nick Roberts
af0ca4f217 *** empty log message *** 2008-04-22 05:57:00 +00:00
Glenn Morris
b218f37130 (gdbmi-invalidate-frames): Declare as function. 2008-04-22 02:57:26 +00:00
Glenn Morris
1ed216dbe4 (whitespace-display-table, whitespace-display-table-was-local):
Move definitions before use.
2008-04-22 02:55:30 +00:00
Glenn Morris
8bb4ed88c3 (top-level): Require 'cl when compiling.
(change-log-mode): Set copyright-at-end-flag.
2008-04-22 02:54:59 +00:00
Glenn Morris
b2c7c56d57 (copyright-at-end-flag): New option.
(copyright-limit): Respect copyright-at-end-flag.
(copyright-re-search, copyright-start-point)
(copyright-offset-too-large-p): New functions.
(copyright-update-year): Use copyright-re-search.
(copyright-update, copyright-fix-years): Use copyright-start-point,
and copyright-re-search.
(copyright): Use copyright-offset-too-large-p.
2008-04-22 02:54:32 +00:00
Stefan Monnier
743deb5daf ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): Undo last change.
2008-04-22 02:54:30 +00:00
Stefan Monnier
c023a34f05 (PC-complete-as-file-name, PC-read-file-name-internal):
Treat minibuffer-completion-predicate as a predicate.
2008-04-21 21:18:07 +00:00
Stefan Monnier
f50e56f0e1 (completion--file-name-table): Accept both the old dir' or the new pred' arg. 2008-04-21 21:16:13 +00:00
Stefan Monnier
984ddcbcef (ffap-read-file-or-url): Do not abuse completing-read's
`predicate' argument to pass non-predicate data.
(ffap-read-url-internal, ffap-read-file-or-url-internal):
Use second arg as proper predicate.
2008-04-21 21:01:38 +00:00
Stefan Monnier
ec50e665d2 (vc-bzr-complete-with-prefix): Remove.
(vc-bzr-revision-completion-table): Use completion-table-with-context instead.
2008-04-21 20:49:06 +00:00
Stefan Monnier
d23734dc17 (choose-completion-string): Use minibuffer-completion-table. 2008-04-21 20:48:10 +00:00
Stefan Monnier
39a7428bf5 (vc-dir): Use pop-to-buffer, so it can be customized. 2008-04-21 20:40:51 +00:00
Chong Yidong
1b242afeb3 (term-emulate-terminal): Perform redisplay after the process filter
has finished running.
2008-04-21 20:28:45 +00:00
Chong Yidong
c7a547f73c * term.el (term-emulate-terminal): Perform redisplay after the process
filter has finished running.
2008-04-21 20:28:20 +00:00
Stefan Monnier
3911966be9 (completion-try-completion): Change magic symbol
property name.  Rename from minibuffer-try-completion.
(completion-all-completions): Rename from minibuffer-all-completions.
Remove hide-spaces argument.
(completion--do-completion): Rename from minibuffer--do-completion.
(minibuffer-complete-and-exit): Call just try-completion rather than
completion-try-completion to fix up the case.
(completion--try-word-completion): Try to add space or hyphen before
making `string' a prefix of `completion'.
(completion--insert-strings): Rename from minibuffer--insert-strings.
2008-04-21 19:02:54 +00:00
Dan Nicolaescu
47302633b2 (vc-cvs-status-extra-headers): New function. 2008-04-21 16:18:12 +00:00
Miles Bader
d55fe5bb3e Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1118
2008-04-21 07:13:33 +00:00
Dan Nicolaescu
d48c50ae86 *** empty log message *** 2008-04-21 05:17:34 +00:00
Dan Nicolaescu
b54462764d * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
(vc-check-master-templates, vc-file-not-found-hook)
(vc-kill-buffer-hook):
* vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
(vc-find-position-by-context, vc-buffer-context)
(vc-restore-buffer-context, vc-responsible-backend)
(vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
(vc-next-action, vc-register, vc-register-with, vc-steal-lock)
(vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
(vc-version-diff, vc-diff, vc-insert-headers)
(vc-dired-buffers-for-dir, vc-dired-resynch-file)
(vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
(vc-revert, vc-rollback, vc-version-backup-file)
(vc-rename-master, vc-delete-file, vc-rename-file)
(vc-branch-part, vc-default-retrieve-snapshot)
(vc-annotate-display-autoscale, vc-annotate-display-select)
(vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
(vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
(vc-dir-update): Handle directories.
(vc-default-status-printer): Simplify.
2008-04-21 05:11:56 +00:00
Dan Nicolaescu
61acee9902 * progmodes/asm-mode.el (asm-mode-map):
* progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.

* progmodes/m4-mode.el (m4-mode-map): Add menu.
2008-04-21 05:02:06 +00:00
Chong Yidong
569ac23f8a (xselect-convert-to-string): Send a C_STRING only if the polymorphic
target TEXT is requested.
2008-04-21 02:02:01 +00:00
Chong Yidong
9ba76e6b5f * select.el (xselect-convert-to-string): Send a C_STRING only if
the polymorphic target TEXT is requested.
2008-04-21 02:01:44 +00:00
Juanma Barranquero
b95c760067 (completion-table-dynamic): Fix typo, and reflow docstring.
(completion-setup-hook, display-completion-list, completion--file-name-table):
Fix typos in docstrings.
2008-04-21 00:17:56 +00:00
Andreas Schwab
a7ce6c7f5d (server-switch-buffer): Also consider clients in the
selected frame.
2008-04-20 08:32:11 +00:00
Nick Roberts
b06e477e59 (gdb-mouse-set-clear-breakpoint): Select
window clicked on first (regression in 22.2).
(gdb): Display thread number in mode-line.
(gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
(gdb-breakpoints-header): New variable.
(gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2008-04-19 22:49:32 +00:00
Nick Roberts
3a43ea21f7 *** empty log message *** 2008-04-19 22:47:40 +00:00
Stefan Monnier
14b114019e * lisp/vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
(vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
(vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
(vc-sccs-steal-lock, vc-sccs-modify-change-comment)
(vc-sccs-print-log): Use it.
* lisp/vc-hooks.el (vc-path): Remove SCCS-specific hack.
* lib-src/vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2008-04-19 21:53:55 +00:00
Stefan Monnier
e80591ba8d * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
* progmodes/scheme.el (scheme-mode-variables): Don't use it.
2008-04-19 19:35:09 +00:00
Stefan Monnier
ece5f84750 * 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.
2008-04-19 19:30:53 +00:00
Nick Roberts
59ae30492b (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.
2008-04-19 06:41:23 +00:00
Nick Roberts
72fa7ca90d *** empty log message *** 2008-04-19 06:39:48 +00:00