Stefan Monnier
0d42eb3e96
* lisp/vc/vc-mtn.el:
...
* lisp/vc/vc-hg.el:
* lisp/vc/vc-git.el:
* lisp/vc/vc-dir.el:
* lisp/vc/vc-cvs.el:
* lisp/vc/vc-bzr.el:
* lisp/vc/vc-arch.el:
* lisp/vc/vc.el: Replace lexical-let by lexical-binding.
* lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
* lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
* lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2012-04-25 23:18:47 -04:00
Chong Yidong
f08ae1c9b5
Adapt ediff window handling to multi-tty.
...
* vc/ediff-init.el: Always define ediff-pixel-width/height.
* vc/ediff-wind.el (ediff-setup-windows-default): New function.
(ediff-window-setup-function): Use it as the default, to set up
windows based on whether the current frame is graphical.
(ediff-choose-window-setup-function-automatically): Make obsolete.
Fixes: debbugs:2138
2012-04-26 11:04:36 +08:00
Chong Yidong
07875ee72b
Fix whitespace highlighting of context diffs.
...
* lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
(diff-mode): Use it.
* lisp/vc/diff.el (diff-sentinel):
* lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
Whitespace mode variables based on diff style.
Fixes: debbugs:8612
2012-04-25 23:06:51 +08:00
Chong Yidong
cf20dee024
Tweaks to Customize interface. Set custom-reset-button-menu to t.
...
* cus-edit.el (custom-commands, custom-reset-menu)
(Custom-reset-standard): Tweak labels.
(custom-reset-button-menu): Change default to t.
(custom-buffer-create-internal): For the custom-reset-button-menu
case, put the revert button first.
(custom-group-subtitle): New face.
(custom-group-value-create): Align docstring to a specific column.
* wid-edit.el (widget-documentation-link-add): Don't handle
indentation in this function.
(widget-documentation-string-indent-to): New function.
(widget-documentation-string-value-create): Use it.
* autorevert.el (auto-revert):
* epg-config.el (epg):
* ibuffer.el (ibuffer):
* mpc.el (mpc):
* ses.el (ses):
* eshell/eshell.el (eshell):
* net/ange-ftp.el (ange-ftp):
* progmodes/ebnf2ps.el (postscript):
* progmodes/flymake.el (flymake):
* progmodes/prolog.el (prolog):
* progmodes/verilog-mode.el (verilog-mode):
* progmodes/which-func.el (which-func):
* textmodes/picture.el (picture):
* textmodes/tildify.el (tildify):
* vc/ediff.el (ediff): Tweak defgroups to improve presentation in
customization buffers.
2012-04-22 21:58:00 +08:00
Glenn Morris
121b8917ec
Replace independent implementations of string-prefix-p
...
* vc/vc.el (vc-string-prefix-p):
* vc/pcvs-util.el (cvs-string-prefix-p):
* textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
* mpc.el (mpc-string-prefix-p):
Make all of these into obsolete aliases for string-prefix-p.
Update callers.
* vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2012-04-16 19:57:09 -04:00
Glenn Morris
5934c3782f
Set lisp/vc/vc-hg.el maintainer to FSF.
...
Ref: http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-03/msg00325.html
2012-04-16 14:48:46 -04:00
Leo Liu
d65c95210d
* lisp/vc/diff-mode.el (diff-file-prev/next): Fix typo.
2012-04-14 14:28:57 +08:00
Glenn Morris
ab7ce8c155
Add another vc-bzr test
...
* lisp/vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
* test/automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test.
2012-04-10 20:24:26 -07:00
Glenn Morris
effed0c27e
* lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
...
Ref: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00145.html
2012-04-10 22:06:59 -04:00
Glenn Morris
a38c310cdd
Use internal sha1 in vc-bzr
...
* lisp/vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
These were only added in 24.1 when sha1.el was removed in favor of an
internal sha1 implementation. Frankly, I can't see why the internal
sha1 wasn't immediately used here.
(vc-bzr-sha1): Use internal sha1.
(Comments): Remove reference to abandoned upstream bug report that
contains no extra information.
2012-04-10 21:16:48 -04:00
Stefan Monnier
1930bf5dc3
* lisp/vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
...
Use derived-mode-p. Run the diff asynchronously.
2012-04-10 16:08:43 -04:00
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08:00
Andreas Schwab
38de3354b7
Fixes: debbugs:11109
...
* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
contents.
2012-03-28 12:12:02 +02:00
Ami Fischman
c0bf77531e
* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2012-03-26 11:08:15 +08:00
Simon Leinen
6e7e90fa24
* vc/vc.el (vc-merge): Fix a prompt.
2012-03-24 21:23:23 +08:00
Glenn Morris
9e1a1109f7
Tweak previous vz-bzr change yet again
2012-03-22 15:57:43 -04:00
Glenn Morris
b4715d2a08
Tweak previous vc-bzr change
2012-03-22 15:17:43 -04:00
Glenn Morris
335aff3569
Use bzr status --no-classify when supported (bug#6724)
...
* lisp/vc/vc-bzr.el (vc-bzr-status-switches): New option.
(vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2012-03-22 15:06:03 -04:00
Leo Liu
9e345a01ba
* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
...
directory and file as argument.
Fixes: debbugs:10822
2012-03-13 18:40:29 +08:00
Michael Albinus
99a54f2128
* net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
...
Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
* vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
Add "PAGER=" to `process-environment'.
2012-03-01 10:01:08 +01:00
Glenn Morris
44e97401cd
Standardize possessive apostrophe usage in manuals, docs, and comments
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Chong Yidong
67b0de1147
Add custom groups for VC backends, for consistency with vc-bzr.
...
Callers changed.
* vc/vc-arch.el (vc-arch):
* vc/vc-cvs.el (vc-cvs):
* vc/vc-git.el (vc-git):
* vc/vc-hg.el (vc-hg):
* vc/vc-mtn.el (vc-mtn):
* vc/vc-rcs.el (vc-rcs):
* vc/vc-sccs.el (vc-sccs):
* vc/vc-svn.el (vc-svn): New customization group.
Fixes: debbugs:10871
2012-02-25 12:29:09 +08:00
Glenn Morris
6ff86ec481
Tiny emerge-defvar-local fix
...
* lisp/vc/emerge.el (emerge-defvar-local):
Set `permanent-local' property rather than unused `preserved'.
2012-02-21 17:23:51 -05:00
Chong Yidong
20af23949d
Fix mode-line-format handling bug in Ediff.
...
* lisp/vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
mode-line formats.
Fixes: debbugs:10839
2012-02-19 16:14:30 +08:00
Glenn Morris
5de0e3c3d0
Header fix
2012-02-11 17:49:51 -08:00
Glenn Morris
6d216d7f11
* log-view.el (vc-diff-internal): Remove unneeded (and incorrect) declaration.
2012-02-11 15:02:29 -08:00
Leo Liu
1be3ca5ad7
Rename condition-case-no-debug to condition-case-unless-debug
2012-02-10 23:59:29 +08:00
Glenn Morris
dab3703d9b
Small VC doc fixes
...
* lisp/vc/log-view.el (log-view-toggle-entry-display):
* lisp/vc/vc.el (vc-merge, vc-pull): Doc fixes.
* etc/NEWS: Condense a few VC entries.
2012-02-08 22:25:18 -08:00
Glenn Morris
e1ac4066d1
Minor-mode doc fixes for ARG behavior
...
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).
* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Glenn Morris
e43273eff0
Use ctl-x-map in place of C-x (bug#10566)
...
For an example of the problems NOT doing this might cause, see eg
http://lists.gnu.org/archive/html/bug-gnu-emacs/2006-07/msg00000.html
Eg after:
(global-set-key (kbd "C-u") ctl-x-map)
(global-set-key (kbd "C-x") 'universal-argument)
just loading dired-x.el or term.el would give an error.
* lisp/dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
* lisp/term.el (term-raw-escape-map): Use Control-X-prefix.
* lisp/vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.
2012-01-25 21:32:56 -05:00
Glenn Morris
5ae1a6c8a2
* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2012-01-24 19:07:04 -05:00
Glenn Morris
70df4bbe29
Fix rcs and sccs create-tag commands.
...
* lisp/vc/vc-rcs.el (vc-rcs-create-tag):
* lisp/vc/vc-sccs.el (vc-sccs-create-tag):
Fix argument spec to be what vc-create-tag expects.
Fixes: debbugs:10515
2012-01-24 00:22:50 -08:00
Glenn Morris
cb5850f27c
Replace vc-dired references in comments with vc-dir.
2012-01-23 00:45:59 -08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
22bcf20469
Spelling fixes.
2011-12-30 17:27:15 -08:00
Paul Eggert
9858f6c326
Spelling fixes.
2011-12-29 18:52:49 -08:00
Chong Yidong
d031f2c7b7
* vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2011-12-22 18:16:45 +08:00
Chong Yidong
bc86f573ee
* vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg.
2011-12-21 15:46:49 +08:00
Chong Yidong
a6198c9097
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.
...
* lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
Don't signal an error in a predicate function; return non-nil.
(vc-dir-mark-file): Move the error here.
(vc-dir-mark-unmark): If acting on the region, keep going if one
of the entries cannot be marked/unmarked.
(vc-dir-mark-all-files): If current entry is a directory, mark
only child files, as documented.
2011-12-19 15:00:16 +08:00
Paul Eggert
99d990817c
Spelling fixes.
2011-12-18 22:21:24 -08:00
Chong Yidong
9cff91f800
More updates for VC documentation.
...
* doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
less CVS-specific.
(VC With A Merging VCS, VC With A Locking VCS): Add xref to
Registering node.
(Secondary VC Commands): Deleted. Promote subnodes.
(Log Buffer): Add command name for C-c C-c. Fix the name of the
log buffer. Add index entries.
(VCS Changesets, Types of Log File, VC With A Merging VCS): Use
"commit" terminology.
(Old Revisions): Move it to just before VC Change Log. "Tag" here
doesn't refer to tags tables. Note other possible forms of the
revision ID. C-x v = does not save.
(Registering): Note similarity to C-x v v action. Fix description
of how backends are chosen. De-document vc-default-init-revision.
(VC Change Log): Document C-x v l in VC-Dir buffer. Document RET
in root log buffers.
* lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.
2011-12-17 15:50:08 +08:00
Paul Eggert
301b181a14
Spelling fixes.
2011-12-16 22:51:13 -08:00
Chong Yidong
99a289d98d
* lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2011-12-16 23:55:00 +08:00
Paul Eggert
fac916bfd7
Spelling fixes.
2011-12-14 13:05:20 -08:00
Paul Eggert
c80e3b4aed
Spelling fixes.
2011-12-04 00:02:42 -08:00
Michael Albinus
f3af92b794
* vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
...
aware of remote file names. (Bug#10124)
2011-11-29 15:59:24 +01:00
Eli Zaretskii
c60c3703ac
Prevent Diff Mode from stealing M-z binding.
...
lisp/vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
special-mode-map.
2011-11-28 20:03:11 +02:00
Paul Eggert
e47695319f
Spelling fixes.
2011-11-26 20:43:11 -08:00
Paul Eggert
e4920bc99d
Spelling fixes.
2011-11-24 23:14:48 -08:00
Glenn Morris
3adbe22462
Give some autoloaded things doc-strings.
...
* lisp/lpr.el (lpr-windows-system, lpr-lp-system):
* lisp/mail/binhex.el (binhex-begin-line):
* lisp/progmodes/grep.el (grep-history, grep-find-history):
* lisp/textmodes/flyspell.el:
* lisp/vc/pcvs-defs.el (cvs-global-menu):
* lisp/vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
* lisp/vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
* lisp/vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2011-11-24 00:21:03 -08:00