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
Juanma Barranquero
20db1522fe
Fix typos.
2011-11-24 02:58:14 +01:00
Paul Eggert
ee7683ebb7
Spelling fixes.
2011-11-22 23:03:56 -08:00
Stefan Monnier
7978747fec
* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window.
2011-11-20 15:17:46 -05:00
Juanma Barranquero
fe7a3057a3
Fix typos.
2011-11-20 20:35:27 +01:00
Paul Eggert
40ba43b4b7
Spelling fixes.
2011-11-19 23:30:16 -08:00
Juanma Barranquero
cd1181dbec
Fix typos.
2011-11-20 04:48:53 +01:00
Paul Eggert
e1dbe924b5
Spelling fixes.
2011-11-19 18:29:42 -08:00
Paul Eggert
5396468298
Spelling fixes.
2011-11-19 01:18:31 -08:00
Paul Eggert
4c36be58ca
Spelling fixes.
2011-11-17 01:09:20 -08:00
Paul Eggert
da6062e6ea
Spelling fixes.
2011-11-14 23:55:13 -08:00
Paul Eggert
91af3942e9
Spelling fixes.
2011-11-14 15:59:56 -08:00
Paul Eggert
09e80d9fb9
Spelling fixes.
2011-11-13 22:27:12 -08:00
Glenn Morris
9a4de11022
Always use svn --non-interactive in vc-svn.el (bug#9993)
...
* lisp/vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
Call svn via vc-svn-command rather than vc-do-command.
(vc-svn-command): Add --non-interactive.
(vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2011-11-09 21:36:48 -05:00
Juanma Barranquero
db22a3c27b
Fix typos.
2011-11-02 03:05:53 +01:00
Juanma Barranquero
ebe06da995
Fix bug#9935
...
* lisp/vc/vc-bzr.el: Accept status with more than 9 shelves.
Reported by Colin D Bennett <colin@gibibit.com>.
2011-11-02 02:58:59 +01:00
Chong Yidong
2d197ffbe2
Rename split-window-{above-each-other|split-window-side-by-side}
...
to split-window-below and split-window-right.
* lisp/window.el (split-window-below, split-window-right): Rename from
split-window-above-each-other and split-window-side-by-side
respectively. All callers changed.
(split-window-sensibly, split-window-sensibly): Use them.
(split-window-keep-point): Doc fix.
* lisp/isearch.el: Add isearch-scroll property to split-window-below
and split-window-right.
* lisp/follow.el (follow-mode):
* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
* lisp/progmodes/ada-xref.el (ada-gdb-application):
* lisp/emulation/vip.el (vip-buffer-in-two-windows):
* lisp/image-dired.el (image-dired-dired-with-window-configuration):
* lisp/dired-x.el (dired-do-find-marked-files):
* lisp/dired.el (dired-pop-to-buffer):
* lisp/bs.el (bs--show-with-configuration):
* lisp/vc/emerge.el (emerge-setup-windows):
* lisp/textmodes/two-column.el (2C-two-columns):
* lisp/textmodes/reftex-toc.el (reftex-toc):
* lisp/progmodes/gdb-mi.el (gdb-setup-windows):
* lisp/progmodes/fortran.el (fortran-window-create):
* lisp/net/newst-treeview.el (newsticker--treeview-window-init):
* lisp/emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
* lisp/emulation/tpu-edt.el (tpu-gold-map):
* lisp/emulation/crisp.el (crisp-mode-map):
* lisp/calendar/calendar.el (calendar-basic-setup): Callers changed.
2011-10-30 09:56:03 +08:00
Stefan Monnier
7a6c094174
* lisp/vc/log-edit.el: Fill empty field rather than adding new one.
...
(log-edit-add-field): New function.
(log-edit-insert-changelog): Use it.
2011-10-27 22:50:05 -04:00
Chong Yidong
86c6068184
Make vc-toggle-read-only an alias for toggle-read-only.
...
It hasn't worked in a VC sense since 2008-05-02T07:12:59Z!esr@snark.thyrsus.com, though this was
not documented at the time (grr).
* lisp/vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
for toggle-read-only. Note that this hasn't called vc-next-action
since 2008-05-02, though it wasn't documented at the time.
* lisp/files.el (toggle-read-only): Remove obsolete comment about
version control.
* doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only.
* lisp/cedet/ede.el (ede-maybe-checkout): Function deleted;
vc-toggle-read-only does not do version control now.
* lisp/cedet/ede/project-am.el (project-remove-file, project-add-file)
(project-new-target): Don't call ede-maybe-checkout.
* lisp/cedet/ede/util.el (ede-make-buffer-writable): Don't use
vc-toggle-read-only.
* lisp/vc/ediff-init.el (ediff-toggle-read-only-function): Use
toggle-read-only.
2011-10-23 11:38:23 +08:00
Glenn Morris
516eddb051
* lisp/vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
2011-10-20 17:01:45 -04:00
Chong Yidong
ac6c8639bd
Fix more minor mode docstrings.
...
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
2011-10-19 20:26:14 -04:00
Stefan Monnier
89400f1da2
* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2011-10-19 17:43:41 -04:00
Glenn Morris
13754b5435
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Ignore ignored files.
...
Fixes: debbugs:9726
2011-10-19 09:42:20 -07:00
Stefan Monnier
6978a1514a
* lisp/vc/log-edit.el (log-edit): Add "Author:" header to encourage people
...
to distinguish the author from the committer.
2011-10-18 09:38:09 -04:00
Glenn Morris
80c6d77f2d
Doc fixes related to vc-initial-comment.
...
* doc/emacs/maintaining.texi (Registering): Remove vc-initial-comment.
* lisp/vc/vc.el (vc-initial-comment): Mark as obsolete.
* lisp/ChangeLog.15: Fix old entry.
* etc/NEWS: Mention this.
Fixes: debbugs:9745
2011-10-17 23:52:32 -07:00
Martin Rudalics
366ca7f3da
In vc actions use quit-windows-on instead of delete-windows-on.
...
* window.el (quit-windows-on): New function.
* vc/vc.el (vc-revert, vc-rollback):
* vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
(Bug#6183) (Bug#7074)((Bug#7447)
2011-10-10 19:52:03 +02:00
Juri Linkov
7cc6e15441
Capitalize non-function content words in menu item strings.
...
* lisp/buff-menu.el (Buffer-menu-mode-map):
* lisp/dired.el (dired-mode-map):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
(lisp-interaction-mode-map):
* lisp/emacs-lisp/package.el (package-menu-mode-map):
* lisp/epa.el (epa-key-list-mode-map):
* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu)
(menu-bar-options-menu):
* lisp/outline.el (outline-mode-menu-bar-map):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
* lisp/vc/vc-dir.el (vc-dir-menu-map):
* lisp/vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
Capitalize non-function content words in menu item strings.
* lisp/dired.el (dired-mode-map): Add menu item for
`image-dired-dired-toggle-marked-thumbs'.
2011-09-18 23:43:20 +03:00
Juri Linkov
91ab9c13bf
* lisp/progmodes/compile.el (compilation-start): Let-bind `thisenv' to
...
`compilation-environment'. Set buffer-local
`compilation-environment' to `thisenv' later after (funcall mode).
(Bug#8340)
* lisp/vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
(vc-git-grep): Prepend "PAGER=" to `compilation-environment'
instead of replacing its value. (Bug#8340)
2011-09-07 15:17:54 +03:00
Thierry Volpiatto
81ec0c88f2
Add missing piece of earlier commit.
...
* lisp/vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.
Fixes: debbugs:9391
2011-09-02 00:54:34 -07:00
Wilfred Hughes
793d32bb23
* lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change)
...
Fixes: debbugs:9408
2011-09-01 00:29:56 -07:00