Commit graph

49755 commits

Author SHA1 Message Date
Michael Albinus
fe5facd3c0 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. 2009-12-09 10:23:00 +00:00
Dan Nicolaescu
99999a1d72 Fix short log parsing and fontification.
* vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
Fix fontification for the [merge] label.
2009-12-09 06:04:09 +00:00
Stefan Monnier
2ea1c4aa5e Drop some properties to avoid surprises.
* htmlfontify.el (hfy-ignored-properties): New defcustom.
(hfy-fontify-buffer): Use it.
2009-12-09 05:56:53 +00:00
Stefan Monnier
a0d1aadfca Minor cleanup.
* ffap.el (ffap-symbol-value): Replace ffap-soft-value.  Adjust all callers.
(ffap-locate-file): Remove unused arg `dir-ok' and make other args compulsory.
Adjust callers.
(ffap-gopher-at-point): Remove unused var `name'.
2009-12-09 02:11:29 +00:00
Chong Yidong
a3ff15d6fc Bump version to 23.1.90. 2009-12-09 02:06:16 +00:00
Chong Yidong
13562373d9 ldefs-boot.el: Regenerate. 2009-12-09 02:05:23 +00:00
Stefan Monnier
9840deb6c8 Get rid of the ELCFILES abomination.
* Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
(compile-elcfiles): New phony target.
(compile-main): Compute ELCFILES dynamically.
(compile-clean): New target to remove left-over elc files.
(compile, all): Use it.
2009-12-09 01:53:15 +00:00
Kenichi Handa
0f0ea87e8c Require help-mode instead of help-fns. 2009-12-09 01:02:28 +00:00
Kenichi Handa
7eb3f9a827 *** empty log message *** 2009-12-09 01:02:11 +00:00
Kenichi Handa
ae63e572b3 (ucs-names): Supply a sufficiently fine ranges instead of
pre-calculating accurate ranges.  Iterate with bigger
gc-cons-threshold.
2009-12-09 00:57:02 +00:00
Dan Nicolaescu
e2f3c6923a Add support for stashing a snapshot of the current tree.
* vc-git.el (vc-git-stash-snapshot): New function.
(vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
2009-12-08 15:56:57 +00:00
Juanma Barranquero
cf6d035204 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
instead of `(beginning|end)-of-line'.
2009-12-08 11:27:53 +00:00
Glenn Morris
6e890faa2b (vc-mtn-print-log): Fix typo in previous. 2009-12-08 03:28:22 +00:00
Glenn Morris
48e4acc9a3 (ELCFILES): Regenerate. 2009-12-08 03:27:05 +00:00
Glenn Morris
e4070cdc07 Fix log entries. 2009-12-08 03:26:07 +00:00
Juri Linkov
d2a1dc7bc1 Don't lazy-highlight the comint output in history Isearch mode.
* comint.el (comint-history-isearch-search): Instead of
`comint-line-beginning-position', use `comint-after-pmark-p'
to check if point if before the process mark, and go to
`process-mark' in this case.
2009-12-07 22:36:58 +00:00
Stefan Monnier
fb10ee4af9 (latex-complete, latex-indent-or-complete): Remove.
(latex-mode): Set completion-at-point-functions instead.
2009-12-07 21:15:19 +00:00
Stefan Monnier
51ef56c47f * minibuffer.el (completion-at-point-functions): New var.
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00
Eli Zaretskii
5e7a90229a Prevent save-buffer in Rmail buffers from using the coding-system
of the current message, and from clobbering the encoding mnemonics
in the mode line (Bug#4623).

(rmail-swap-buffers): Swap encoding and modified flag, too.
(rmail-message-encoding): New variable.
(rmail-write-region-annotate): Record the encoding of the current message
in rmail-message-encoding.
(rmail-after-save-hook): New function, restores the encoding of the current
message after the message collection is saved.
2009-12-07 19:21:57 +00:00
Juri Linkov
9136e89523 (grep-read-files): Use `completing-read'
instead of `read-string'.  Set its `collection' arg to
`read-file-name-internal'.  (Bug#4301)
2009-12-07 17:35:47 +00:00
Juri Linkov
406374109c Correctly restore original Isearch point. (Bug#4994)
* isearch.el (isearch-mode): Move `isearch-push-state' after
`(run-hooks 'isearch-mode-hook)'.
(isearch-cancel): When `isearch-push-state-function' is defined,
let-bind `isearch-cmds' to the first state (the last element of
`isearch-cmds') and call `isearch-top-state' (it calls pop-state
function and restores the original point).  Otherwise, move point
to `isearch-opoint'.
2009-12-07 17:30:01 +00:00
Stefan Monnier
e07278736e (ucs-names): Fix last-minute paren-typo. 2009-12-07 16:53:48 +00:00
Chong Yidong
f82b1493b0 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
change.  Suggested by David Kastrup.
2009-12-07 16:18:42 +00:00
Stefan Monnier
da10ce2bb0 (ucs-names): Weed out at compile-time the chars that don't have names, so
the table can be built much faster at run-time.
2009-12-07 16:12:47 +00:00
Chong Yidong
3d68fa99af * simple.el (compose-mail): Check for incompatibilities and warn.
(compose-mail-user-agent-warnings): New option.
2009-12-07 16:09:05 +00:00
Dan Nicolaescu
662c5698fb Support showing a single log entry from vc-annotate.
* vc.el (print-log): Add a new argument: START-REVISION.
(vc-print-log-internal): Add a new optional argument and
pass it to the backend.
(vc-print-log, vc-print-root-log): Adjust callers.
* vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
buffer already displays the requested log entry, use it.
Otherwise display only the log entry in question.
* vc-svn.el (vc-svn-print-log):
* vc-mtn.el (log-view-file-re):
* vc-hg.el (vc-hg-state):
* vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
(vc-git-show-log-entry): Return t on success.
* vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
(vc-bzr-show-log-entry): Return t on success.
* vc-rcs.el (vc-rcs-print-log):
* vc-sccs.el (vc-sccs-print-log):
* vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
2009-12-07 09:02:11 +00:00
Michael Kifer
2de386ca1d 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-init.el (ediff-event-key): use event-to-character instead of
	event-key.

	* ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): add
	menus to the meta mode. (Dan Nicolaescu's <dann@ics.uci.edu> patch.)

	* ediff.el (ediff-buffers-internal): add unwind-protect.
2009-12-07 06:56:40 +00:00
Michael Albinus
dab816a917 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
Berbain <raphael.berbain@gmail.com>.

* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
characters.
(tramp-initial-end-of-output): New defconst.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Use it.
(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
existence of `#' and `$'.

* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-initial-end-of-output'.
2009-12-07 06:38:06 +00:00
Dan Nicolaescu
a91e1f6bf8 Get the background mode from the terminal for xterm, and set
faces accordingly.
* term/xterm.el (xterm-set-background-mode): New function.
(terminal-init-xterm): Use it in case xterm supports background
color queries.  Recompute faces after getting the background
color.
2009-12-07 06:30:30 +00:00
Glenn Morris
5fa9d1ecf4 Ulrich Mueller <ulm at gentoo.org>
(byte-compile-insert-header): Put the version number comment back on
its own line, for easier parsing by external tools.
2009-12-07 06:21:27 +00:00
Stefan Monnier
5e9fde5e59 Make it work for non-file buffers (bug#5102).
* doc-view.el (doc-view-current-cache-dir):
Use doc-view-buffer-file-name rather than buffer-file-name.
(doc-view-mode): Use buffer-name when buffer-file-name is nil.
2009-12-07 02:37:42 +00:00
Chong Yidong
2f2f524224 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
author field is too short.
2009-12-06 23:27:55 +00:00
Dan Nicolaescu
0d3f8a7840 * vc-git.el (vc-git-print-log): Handle a limit argument. Display
the short log in graph form and with labels.
(vc-git-log-view-mode): Handle labels.
2009-12-06 22:18:03 +00:00
Dan Nicolaescu
cebf8ec6d9 Make vc-revert change VC state from 'added to 'unregistered.
* vc-git.el (vc-git-revert): Call git reset first.
2009-12-06 21:25:55 +00:00
Chong Yidong
238a0f3a0d * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too. 2009-12-06 20:25:36 +00:00
Chong Yidong
2c6bb71a57 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
(vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
Update annotation regexp.
2009-12-06 20:22:16 +00:00
Ulf Jasper
8e39154d85 Fixed Bug#5096. 2009-12-06 19:49:04 +00:00
Chong Yidong
ef187c24a3 * simple.el (beginning-of-visual-line): Constrain to field
boundaries (Bug#5106).
2009-12-06 18:48:48 +00:00
Ulf Jasper
571855b631 Fixed Bug#5008. 2009-12-06 18:13:19 +00:00
Chong Yidong
b857059c0a * progmodes/js.el (js--js-not): Add null to the list of values. 2009-12-06 15:34:59 +00:00
Chong Yidong
c2dae51b68 * ansi-color.el (ansi-color-for-comint-mode): Add :version
keyword.
2009-12-06 15:33:09 +00:00
Roland Winkler
ed0f72d260 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry delimiter
if it is at the end of the current line.
(bibtex-generate-url-list): Fix docstring.
2009-12-06 05:05:36 +00:00
Roland Winkler
4106334cac (bibtex-enclosing-field): Exclude entry delimiter if it is at the end
of the current line.
(bibtex-generate-url-list): Fix docstring.
2009-12-06 05:03:26 +00:00
Stefan Monnier
365b9a6296 (minibuffer-complete-and-exit): Don't replace the
minibuffer's content with itself.
Fold the confirm-after-completion case into the `confirm' case.
(completion-pcm-word-delimiters): Add : and / to the delimiters.
2009-12-06 01:25:41 +00:00
Stefan Monnier
3e38b2bd42 (completion-in-region): Improve docstring. 2009-12-06 00:58:40 +00:00
Kevin Ryde
8b5a10dbc6 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
manuals, similar to existing setup for help-mode.  (My bug#3913.)
2009-12-06 00:42:19 +00:00
Kevin Ryde
990a9cb177 * ffap.el (ffap-rfc-path): Make this a defcustom since
`ffap-rfc-directories' is also a defcustom.  (My Bug#4514.)
2009-12-06 00:22:51 +00:00
Juri Linkov
065543e754 Save and restore dired buffer's point positions too. (Bug#4880)
(dired-save-positions): Return in the first element
buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
Doc fix.
(dired-restore-positions): First restore buffer's position.
While restoring window's positions, check if window still displays
the original buffer.
2009-12-05 23:22:03 +00:00
Chong Yidong
9a594ee6ea * bindings.el (complete-symbol): Call semantic-ia-complete-symbol if
possible.

* cedet/semantic/ia.el (semantic-ia-complete-symbol): Make argument
optional.
2009-12-05 22:01:00 +00:00
Glenn Morris
212c5aef95 Add bug ref. 2009-12-05 21:33:48 +00:00