Juri Linkov [Sun, 22 Jul 2007 22:33:48 +0000 (22:33 +0000)]
(isearch-edit-string): Save old point and
isearch-other-end to old-point and old-other-end before reading
the search string from minibuffer. After exiting minibuffer set
point to old-other-end if point and the search direction is the
same as before reading the search string.
(isearch-del-char): Don't set isearch-yank-flag to t. Put point
to isearch-other-end. Instead of isearch-search-and-update call
three functions isearch-search, isearch-push-state and isearch-update.
Stefan Monnier [Sun, 22 Jul 2007 22:02:49 +0000 (22:02 +0000)]
(diff-refine-ignore-spaces-hunk): Rename from
diff-refine-hunk. Adjust users.
(diff-unified-hunk-p, diff-splittable-p): New functions.
(diff-mode-menu): Use it to disable Split when it doesn't work.
Stefan Monnier [Sun, 22 Jul 2007 21:26:34 +0000 (21:26 +0000)]
(diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.
Dan Nicolaescu [Sun, 22 Jul 2007 21:16:34 +0000 (21:16 +0000)]
(vc-git-revision-granularity,vc-git-root),
(vc-git-command,vc-git-dir-state,vc-git-dired-state-info),
(vc-git-create-repo): New functions.
(vc-git-registered): New autoloaded function definition.
(vc-git-registered): Use vc-git-root.
(vc-git-responsible-p): New defalias.
(vc-git-annotate-extract-revision-at-line): Uncomment.
(vc-git-print-log): Add the file name to the log.
(vc-git-log-view-mode): New derived mode.
(vc-git-diff,vc-git-annotate-command): Use vc-git-command.
Martin Rudalics [Sun, 22 Jul 2007 08:32:16 +0000 (08:32 +0000)]
(change-log-fill-parenthesized-list): New function.
(change-log-indent): Call change-log-fill-parenthesized-list.
(change-log-fill-paragraph): Bind fill-indent-according-to-mode to
t. Have lines with leading asterisk start a paragraph.
Jay Belanger [Sun, 22 Jul 2007 03:34:39 +0000 (03:34 +0000)]
(math-emacs-precision, math-largest-emacs-expt)
(math-smallest-emacs-expt): New variables.
(math-use-emacs-fn): New function.
(math-exp-raw): Evaluate with `math-use-emacs-fn', when appropriate.
Stefan Monnier [Fri, 20 Jul 2007 18:54:57 +0000 (18:54 +0000)]
(compilation-start): Remember the original directory in a buffer-local
compilation-directory.
(compile): Set the global value of compilation-directory.
(recompile): Use compilation-directory even if run from the compilation buffer.
Eric S. Raymond [Wed, 18 Jul 2007 16:32:40 +0000 (16:32 +0000)]
Put the lower half (the back-end) of NewVC in place. This commit
makes only the minimum changes needed to get the old vc.el logic
working with the new back ends.
Eric S. Raymond [Wed, 18 Jul 2007 16:12:16 +0000 (16:12 +0000)]
Put the lower half (the back-end) of NewVC in place. This commit
makes only the minimum changes needed to get the old vc.el logic
working with the new back ends.
Michael Albinus [Tue, 17 Jul 2007 21:16:36 +0000 (21:16 +0000)]
* tramp.texi: Move @setfilename ../info/tramp up, outside the header
section. Reported by <poti@potis.org>.
(Remote processes): Arguments of the program to be debugged are taken
literally.
(Frequently Asked Questions): Simplify recentf example.
Michael Albinus [Tue, 17 Jul 2007 21:10:07 +0000 (21:10 +0000)]
* net/tramp.el (tramp-handle-file-remote-p): Handle optional
parameter IDENTIFICATION.
(tramp-handle-set-file-times): New defun. Replaces `tramp-touch'.
(tramp-file-name-handler-alist, tramp-file-name-for-operation):
Add entry for `set-file-times'.
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
(tramp-handle-unhandled-file-name-directory): Rewrite.
(tramp-convert-file-attributes): Add error handling when inode is
extraordinary big.
(tramp-get-inode): Change parameter from FILE to VEC.
(tramp-handle-start-file-process ): Use (current-buffer) if BUFFER
is NIL. This is according to the specification. Goto (point-max)
when ready.
(tramp-handle-shell-command): Rewrite completely, using
`process-file' and `start-file-process'.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
var. Reported by Steve Youngs <steve@sxemacs.org>.
* net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
entry for `set-file-times'. Rename `start-process' into
`start-file-process'. Remove `call-process' entry.
(tramp-fish-handle-set-file-times): New defun.
(tramp-fish-handle-executable-find): Use `process-file'.
(tramp-fish-handle-process-file): New defun. Replaces
`tramp-fish-handle-call-process'.
(tramp-fish-do-copy-or-rename-file-directly): Use
`set-file-times'.
(tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
* etags.c (C_entries): Reset the fvdef machine when out of function.
(PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
(print_help): Use it in if() rather than #if.
(print_help): Conditionally print help about --no-line-directive.
Martin Rudalics [Tue, 17 Jul 2007 07:27:27 +0000 (07:27 +0000)]
(Fdisplay_buffer): If largest or LRU window is the
only window, split it even if it is not eligible for splitting.
This restores the original behavior broken by the 2007-07-15
change.
(abbrev_check_chars): New function.
(Fdefine_global_abbrev, Fdefine_mode_abbrev): Call abbrev_check_chars
to check abbrev characters are word constituents. Doc fix.