Fix single-quoting style in PDF manuals
[emacs.git] / doc / misc / pcl-cvs.texi
blobdd2ba388348751a1021963f1ef85b8b7ad8bed0a
1 \input texinfo  @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename ../../info/pcl-cvs.info
4 @settitle PCL-CVS---Emacs Front-End to CVS
5 @include docstyle.texi
6 @syncodeindex vr fn
7 @c %**end of header
9 @copying
10 Copyright @copyright{} 1991--2015 Free Software Foundation, Inc.
12 @quotation
13 Permission is granted to copy, distribute and/or modify this document
14 under the terms of the GNU Free Documentation License, Version 1.3 or
15 any later version published by the Free Software Foundation; with no
16 Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
17 and with the Back-Cover Texts as in (a) below.  A copy of the license
18 is included in the section entitled ``GNU Free Documentation License''.
20 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
21 modify this GNU manual.''
22 @end quotation
23 @end copying
25 @dircategory Emacs misc features
26 @direntry
27 * PCL-CVS: (pcl-cvs).           Emacs front-end to CVS.
28 @end direntry
30 @c The titlepage section does not appear in the Info file.
31 @titlepage
32 @sp 4
33 @c The title is printed in a large font.
34 @center @titlefont{User's Guide}
35 @sp 1
36 @center @titlefont{to}
37 @sp 1
38 @center @titlefont{PCL-CVS---The Emacs Front-End to CVS}
39 @ignore
40 @sp 2
41 @center release 2.9
42 @c -release-
43 @end ignore
44 @sp 3
45 @center Per Cederqvist
46 @center Stefan Monnier
47 @c -date-
49 @c  The following two commands start the copyright page
50 @c  for the printed manual.  This will not appear in the Info file.
51 @page
52 @vskip 0pt plus 1filll
53 @insertcopying
54 @end titlepage
56 @contents
58 @c ================================================================
59 @c                   The real text starts here
60 @c ================================================================
62 @ifnottex
63 @node Top
64 @top PCL-CVS
66 This manual describes PCL-CVS, the GNU Emacs front-end to CVS@.  It
67 is nowhere near complete, so you are advised to use @kbd{M-x
68 customize-group RET pcl-cvs @key{RET}} and to look at the documentation strings
69 of the various commands and major modes for further information.
70 @c This manual is updated to release 2.5 of PCL-CVS.
72 @insertcopying
74 @end ifnottex
76 @menu
77 * About PCL-CVS::               Credits, history, @dots{}
79 * Getting started::             An introduction with a walk-through example.
80 * Buffer contents::             An explanation of the buffer contents.
81 * Selected files::              To which files are commands applied.
82 * Commands::                    All commands, grouped by type.
84 * Log Edit Mode::               Major mode to edit log messages.
85 * Log View Mode::               Major mode to browse log changes.
86 @c * CVS Status Mode::             Major mode to view CVS' status output.
87 * Customization::               How you can tailor PCL-CVS to suit your needs.
88 * Bugs::                        Bugs (known and unknown).
90 * GNU Free Documentation License:: The license for this documentation.
91 * Function and Variable Index::  List of functions and variables.
92 * Concept Index::               List of concepts.
93 * Key Index::                   List of keystrokes.
95 @detailmenu
96  --- The Detailed Node Listing ---
98 About PCL-CVS
100 * Contributors::                Contributors to PCL-CVS.
102 Commands
104 * Entering PCL-CVS::            Commands to invoke PCL-CVS
105 * Setting flags::               Setting flags for CVS commands
106 * Updating the buffer::
107 * Movement commands::           How to move up and down in the buffer
108 * Marking files::               How to mark files that other commands
109                                 will later operate on.
110 * Committing changes::          Checking in your modifications to the
111                                 CVS repository.
112 * Editing files::               Loading files into Emacs.
113 * Getting info about files::    Display the log and status of files.
114 * Adding and removing files::   Adding and removing files
115 * Undoing changes::             Undoing changes
116 * Removing handled entries::    Uninteresting lines can easily be removed.
117 * Ignoring files::              Telling CVS to ignore generated files.
118 * Viewing differences::         Commands to @samp{diff} different versions.
119 * Invoking Ediff::              Running @samp{ediff} from @file{*cvs*} buffer.
120 * Updating files::              Updating files that Need-update.
121 * Tagging files::               Tagging files.
122 * Miscellaneous commands::      Miscellaneous commands.
124 Customization
126 * Customizing Faces::
128 @end detailmenu
129 @end menu
131 @node     About PCL-CVS
132 @chapter About PCL-CVS
133 @cindex About PCL-CVS
135 PCL-CVS is a front-end to CVS versions 1.9 and later.
136 It concisely shows the present status of a checked out module in an
137 Emacs buffer and provides single-key access to the most frequently used CVS
138 commands.  Note that the @code{vc-dir} command (@pxref{VC Directory
139 Mode, , , emacs, The GNU Emacs Manual}) provides similar
140 functionality, but for several version control systems, including CVS.
142 PCL-CVS was originally written many years ago by Per Cederqvist who
143 proudly maintained it until January 1996, at which point he released the
144 beta version 2.0b2 and passed on the maintainership to Greg A Woods.
145 Development stayed mostly dormant for a few years during which
146 version 2.0 never seemed to be able to leave the ``beta'' stage while a
147 separate XEmacs version was slowly splitting away.  In late 1998,
148 Stefan Monnier picked up development again, adding some major new
149 functionality and taking over the maintenance.
151 @menu
152 * Contributors::                Contributors to PCL-CVS.
153 @end menu
155 @node     Contributors
156 @section Contributors to PCL-CVS
157 @cindex Contributors
158 @cindex Authors
160 Contributions to the package are welcome.  I have limited time to work
161 on this project, but I will gladly add any code that you contribute to
162 me to this package (@pxref{Bugs}).
164 The following persons have made contributions to PCL-CVS.
166 @itemize @bullet
167 @item
168 Brian Berliner wrote CVS, together with some other contributors.
169 Without his work on CVS this package would be useless@dots{}
171 @item
172 Per Cederqvist wrote most of the otherwise unattributed functions in
173 PCL-CVS as well as all the documentation.
175 @item
176 @c inge@@lysator.liu.se
177 Inge Wallin wrote the skeleton of
178 @file{pcl-cvs.texi}, and gave useful comments on it.  He also wrote
179 the files @file{elib-node.el} and @file{compile-all.el}.  The file
180 @file{cookie.el} was inspired by Inge.
182 @item
183 @c linus@@lysator.liu.se
184 Linus Tolke contributed useful comments
185 on both the functionality and the documentation.
187 @item
188 @c jwz@@jwz.com
189 Jamie Zawinski contributed
190 @file{pcl-cvs-lucid.el}, which was later renamed to
191 @file{pcl-cvs-xemacs.el}.
193 @item
194 Leif Lonnblad contributed RCVS support (since superseded by the new
195 remote CVS support).
197 @item
198 @c jimb@@cyclic.com
199 Jim Blandy contributed hooks to automatically
200 guess CVS log entries from @file{ChangeLog} contents, and initial support of
201 the new Cygnus / Cyclic remote CVS, as well as various sundry bug fixes
202 and cleanups.
204 @item
205 @c kingdon@@cyclic.com
206 Jim Kingdon contributed lots of fixes to
207 the build and installation procedure.
209 @item
210 @c woods@@weird.com
211 Greg A. Woods contributed code to implement
212 the use of per-file diff buffers, and vendor join diffs with emerge and
213 ediff, as well as various and sundry bug fixes and cleanups.
215 @item
216 @c greg.klanderman@@alum.mit.edu
217 Greg Klanderman implemented
218 toggling of marked files, setting of CVS command flags via prefix
219 arguments, updated the XEmacs support, updated the manual, and fixed
220 numerous bugs.
222 @item
223 @c monnier@@gnu.org
224 Stefan Monnier added a slew of other
225 features and introduced even more new bugs.  If there's any bug left,
226 you can be sure it's his.
228 @item
229 @c wordy to avoid an underfull hbox
230 @c masata-y@@is.aist-nara.ac.jp
231 Masatake YAMATO made a gracious
232 contribution of his cvstree code to display a tree of tags which was later
233 superseded by the new @code{cvs-status-mode}.
234 @end itemize
236 Apart from these, a lot of people have sent us suggestions, ideas,
237 requests, bug reports and encouragement.  Thanks a lot!  Without you
238 there would be no new releases of PCL-CVS.
241 @node Getting started
242 @chapter Getting started
243 @cindex Introduction
244 @cindex Example run
245 @cindex Sample session
247 This document assumes that you know what CVS is, and that you at least
248 know the fundamental concepts of CVS@.  If that is not the case, you
249 should read the CVS documentation.  Type @kbd{info -f cvs} or @kbd{man
250 cvs}.
252 PCL-CVS is only useful once you have checked out a module.  So before
253 you invoke it, you must have a copy of a module somewhere in the file
254 system.
256 You can invoke PCL-CVS by typing @kbd{M-x cvs-examine @key{RET}}.
257 You can also invoke it via the menu bar, under @samp{Tools}.
258 Or, if you prefer, you can also invoke PCL-CVS by simply visiting the
259 CVS administrative subdirectory of your module, with a prefix argument.
260 For example, to invoke PCL-CVS in a separate frame, type @kbd{C-u C-x 5
261 f ~/my/project/CVS @key{RET}}.
263 The function @code{cvs-examine} will ask for a directory.  The command
264 @samp{cvs -n update} will be run in that directory.  (It should contain
265 files that have been checked out from a CVS archive.)  The output from
266 @code{cvs} will be parsed and presented in a table in a buffer called
267 @file{*cvs*}.  It might look something like this:
269 @example
270 Repository : /usr/CVSroot
271 Module     : test
272 Working dir: /users/ceder/FOO/test
275 In directory .:
276            Need-Update            bar
277            Need-Update            file.txt
278            Modified               namechange
279            Need-Update            newer
280 In directory sub:
281            Modified               ChangeLog
283 --------------------- End ---------------------
284 -- last cmd: cvs -f -z6 -n update -d -P --
285 @end example
287 In this example, your repository is in @file{/usr/CVSroot} and CVS has
288 been run in the directory @file{/users/ceder/FOO/test}.  The three files
289 (@file{bar}, @file{file.txt} and
290 @file{newer}) that are marked with @samp{Need-Update} have been changed
291 by someone else in the CVS repository.  Two files (@file{namechange}
292 and @file{sub/ChangeLog}) have been modified locally, and need to be
293 checked in.
295 You can move the cursor up and down in the buffer with @kbd{C-n} and
296 @kbd{C-p} or @kbd{n} and @kbd{p}.  If you press @kbd{c} on one of the
297 @samp{Modified} files, that file will be checked in to the CVS
298 repository. @xref{Committing changes}.  You can also press @kbd{O} to
299 update any of the files that are marked @samp{Need-Update}.  You can
300 also run @kbd{M-x cvs-update @key{RET}} (bound to @kbd{M-u} in the
301 @file{*cvs*} buffer) to update all the files.
303 You can then press @kbd{=} to easily get a @samp{diff} between your
304 modified file and the base version that you started from, or you can
305 press @kbd{l} to get the output from @samp{cvs log}.  Many more such
306 commands are available simply by pressing a key (@pxref{Getting info
307 about files}).
309 @node Buffer contents
310 @chapter Buffer contents
311 @cindex Buffer contents
312 @cindex @file{*cvs*} buffer contents
314 The display contains several columns, some of which are optional.
315 These columns are, from left to right:
317 @itemize @bullet
319 @item
320 Optionally, the head revision of the file.  This is the latest version
321 found in the repository.  It might also contain (instead of the head
322 revision) a sub status which typically gives further information about
323 how we got to the current state, for example @samp{patched},
324 @samp{merged}, @dots{}
326 @item
327 An asterisk when the file is @dfn{marked} (@pxref{Selected
328 files}).
330 @item
331 The actual status of the file wrt the repository.  See below.
333 @item
334 Optionally, the base revision of the file.  This is the version
335 which the copy in your working directory is based upon.
337 @item
338 The file name.
340 @end itemize
342 The @samp{file status} field can have the following values:
344 @table @samp
345 @item Modified
346 The file is modified in your working directory, and there was no
347 modification to the same file in the repository.  This status can have
348 the following substatus:
350 @table @samp
351 @item merged
352 The file was modified in your working directory, and there were
353 modifications in the repository as well, but they were merged
354 successfully, without conflict, in your working directory.
355 @end table
357 @item Conflict
358 A conflict was detected while trying to merge your changes to @var{file}
359 with changes from the repository.  @var{file} (the copy in your
360 working directory) is now the output of the @code{rcsmerge} command on
361 the two versions; an unmodified copy of your file is also in your
362 working directory, with the name @file{.#@var{file}.@var{version}},
363 where @var{version} is the RCS revision that your modified file started
364 from.  @xref{Viewing differences}, for more details.
366 A conflict can also come from a disagreement on the existence of the file
367 rather than on its content.  This case is indicated by the following
368 possible substatus:
370 @table @samp
371 @item removed
372 The file is locally removed but a new revision has been committed to
373 the repository by someone else.
375 @item added
376 The file is locally added and has also been added to the repository
377 by someone else.
379 @item modified
380 The file is locally modified but someone else has removed it from the
381 repository.
382 @end table
384 @item Added
385 The file has been added by you, but it still needs to be checked in to
386 the repository.
388 @item Removed
389 The file has been removed by you, but it still needs to be checked in to
390 the repository.  You can resurrect it by typing @kbd{a} (@pxref{Adding
391 and removing files}).
393 @item Unknown
394 A file that was detected in your directory, but that neither appears in
395 the repository, nor is present on the list of files that CVS should
396 ignore.
398 @item Up-to-date
399 The file is up to date with respect to the version in the repository.
400 This status can have a substatus of:
402 @table @samp
403 @item added
404 You have just added the file to the repository.
406 @item updated
407 The file was brought up to date with respect to the repository.  This is
408 done for any file that exists in the repository but not in your source,
409 and for files that you haven't changed but are not the most recent
410 versions available in the repository.
412 @item patched
413 The file was brought up to date with respect to the remote repository by
414 way of fetching and applying a patch to the file in your source.  This
415 is equivalent to @samp{updated} except that CVS decided to use a hopefully
416 more efficient method.
418 @item committed
419 You just committed the file.
420 @end table
422 @item Need-Update
423 Either a newer version than the one in your source is available in the
424 repository and you have not modified your checked out version, or the
425 file exists in the repository but not in your source.  Use
426 @samp{cvs-mode-update} bound to @kbd{O} to update the file.
428 @item Need-Merge
429 You have modified the checked out version of the file, and a newer
430 version is available in the repository.  A merge will take place when
431 you run a @samp{cvs-update}.
433 @item Missing
434 The file has been unexpectedly removed from your working directory
435 although it has not been @samp{cvs remove}d.
436 @end table
438 @node Selected files
439 @chapter Selected files
440 @cindex Selected files
441 @cindex Marked files
442 @cindex File selection
443 @cindex Active files
444 @cindex Applicable
446 Many of the commands work on the current set of @dfn{selected} files
447 which can be either the set of marked files (if any file is marked and
448 marks are not ignored) or whichever file or directory the cursor is on.
450 If a directory is selected but the command cannot be applied to a
451 directory, then it will be applied to the set of files under this
452 directory which are in the @file{*cvs*} buffer.
454 @findex cvs-mode-force-command
455 @findex cvs-allow-dir-commit
456 Furthermore, each command only operates on a subset of the selected
457 files, depending on whether or not the command is @dfn{applicable} to
458 each file (based on the file's status).  For example,
459 @code{cvs-mode-commit} is not applicable to a file whose status is
460 @samp{Need-Update}.  If it should happen that PCL-CVS guesses the
461 applicability wrong, you can override it with the special prefix
462 @code{cvs-mode-force-command} normally bound to @kbd{M-f} (and file a
463 bug report).  The applicability rule can be slightly changed with
464 @code{cvs-allow-dir-commit} and @code{cvs-force-dir-tag}.
466 By default, marks are always in effect (you may change this, however, by
467 setting the variable @code{cvs-default-ignore-marks}) except for the
468 commands that @samp{tag} or @samp{diff} a file (which can be changed
469 with the variable @code{cvs-invert-ignore-marks}).
471 In addition, you may use the special prefix @code{cvs-mode-toggle-marks}
472 normally bound to @key{T} to toggle the use of marks for the following
473 command.
475 This scheme might seem a little complicated, but once one gets used to
476 it, it is quite powerful.
478 For commands to mark and unmark files, see @ref{Marking files}.
480 @node Commands
481 @chapter Commands
483 @iftex
484 This chapter describes all the commands that you can use in PCL-CVS.
485 @end iftex
486 @ifnottex
487 The nodes in this menu contains explanations about all the commands that
488 you can use in PCL-CVS@.  They are grouped together by type.
489 @end ifnottex
491 @menu
492 * Entering PCL-CVS::            Commands to invoke PCL-CVS
493 * Setting flags::               Setting flags for CVS commands
494 * Updating the buffer::
495 * Movement commands::           How to move up and down in the buffer
496 * Marking files::               How to mark files that other commands
497                                 will later operate on.
498 * Committing changes::          Checking in your modifications to the
499                                 CVS repository.
500 * Editing files::               Loading files into Emacs.
501 * Getting info about files::    Display the log and status of files.
502 * Adding and removing files::   Adding and removing files
503 * Undoing changes::             Undoing changes
504 * Removing handled entries::    Uninteresting lines can easily be removed.
505 * Ignoring files::              Telling CVS to ignore generated files.
506 * Viewing differences::         Commands to @samp{diff} different versions.
507 * Invoking Ediff::              Running @samp{ediff} from @file{*cvs*} buffer.
508 * Updating files::              Updating files that Need-update.
509 * Tagging files::               Tagging files.
510 * Miscellaneous commands::      Miscellaneous commands.
511 @end menu
514 @node Entering PCL-CVS
515 @section Entering PCL-CVS
516 @findex cvs-update
517 @findex cvs-examine
518 @findex cvs-status
519 @findex cvs-checkout
520 @findex cvs-quickdir
521 @cindex Creating the *cvs* buffer
523 Most commands in PCL-CVS require that you have a @file{*cvs*}
524 buffer.  The commands that you use to get one are listed below.
525 For each, a @samp{cvs} process will be run, the output will be parsed by
526 PCL-CVS, and the result will be printed in the @file{*cvs*} buffer (see
527 @ref{Buffer contents}, for a description of the buffer's contents).
529 @table @kbd
530 @item M-x cvs-update
531 Run a @samp{cvs update} command.  You will be asked for the directory
532 in which the @samp{cvs update} will be run.
534 @item M-x cvs-examine
535 Run a @samp{cvs -n update} command.  This is identical to the previous
536 command, except that it will only check what needs to be done but will
537 not change anything.  You will be asked for the directory in
538 which the @samp{cvs -n update} will be run.
540 @item M-x cvs-status
541 Run a @samp{cvs status} command.  You will be asked for the directory
542 in which the @samp{cvs status} will be run.
544 @item M-x cvs-checkout
545 Run a @samp{cvs checkout} command.  You will be asked for the directory
546 in which the @samp{cvs update} will be run and the module to be checked
547 out.
549 @item M-x cvs-quickdir
550 Populate the @file{*cvs*} buffer by just looking at the @file{CVS/Entries}
551 files.  This is very much like @code{cvs-examine} except that it does
552 not access the CVS repository, which is a major advantage when the
553 repository is far away.  But of course, it will not be able to detect
554 when a file needs to be updated or merged.
555 @end table
557 @findex cvs-dired-action
558 @findex cvs-dired-use-hook
559 The first four of
560 those commands are also reachable from the menu bar
561 under @samp{Tools->PCL-CVS}.  Finally, an alternative way is to visit
562 the CVS administrative subdirectory in your work area with a simple
563 prefix argument.  For example @kbd{C-u C-x C-f ~/my/work/CVS @key{RET}}.  This
564 by default runs @code{cvs-quickdir} but the specific behavior can be
565 changed with @code{cvs-dired-action} and @code{cvs-dired-use-hook}.
567 By default, the commands above will descend recursively into
568 subdirectories.  You can avoid that behavior by including @samp{-l} in
569 the flags for the command.  These flags can be set by giving a prefix
570 argument to the command (e.g., by typing
571 @kbd{C-u M-x cvs-update @key{RET} -l @key{RET}}).
574 @node Setting flags
575 @section Setting flags for CVS commands
576 @cindex Optional switches to CVS
577 @cindex Command-line options to CVS
579 This section describes the convention used by nearly all PCL-CVS
580 commands for setting optional flags sent to CVS@.  A single @kbd{C-u}
581 prefix argument is used to cause the command to prompt for flags to be
582 used for the current invocation of the command only.  Two @kbd{C-u} prefix
583 arguments are used to prompt for flags which will be set permanently, for the
584 current invocation and all that follow, until the flags are changed, or
585 unless temporary flags are set which override them.
587 Perhaps an example or two is in order.  Say you are about to add a
588 binary file to the repository, and want to specify the flags @samp{-kb}
589 to @samp{cvs add}.  You can type @kbd{C-u a -kb @key{RET}},
590 and the file will be added.  Subsequent @samp{cvs add}
591 commands will use the previously prevailing flags.
593 As a second example, say you are about to perform a diff and want to see
594 the result in unified diff format, i.e., you'd like to pass the flag
595 @samp{-u} to both @samp{cvs diff} and @samp{diff}.  You'd also like all
596 subsequent diffs to use this flag.  You can type @kbd{C-u C-u = -u @key{RET}}
597 and the diff will be performed, and the default flags will be set to
598 @code{("-u")}.  You can of course override this flag for a single diff
599 by using a single @kbd{C-u} prefix argument.
601 @cindex Special prefix
602 In addition to this, some commands can take @dfn{special prefix} arguments.
603 These work as follows: When called with a @kbd{C-u} prefix, the user is
604 prompted for a new value of the special prefix and the special prefix is
605 activated for the next command.  When called without the @kbd{C-u}
606 prefix, the special prefix is re-activated (with the same value as last
607 time) for the next command.  Calling the prefix command again when it's
608 already activated deactivates it.  Calling it with the @kbd{C-u C-u}
609 prefix activates it for all subsequent commands until you deactivate it
610 explicitly.  The special prefixes are:
612 @table @kbd
613 @item T
614 Toggles whether or not marks will be active in the next command.
616 @item b
617 Provide the next command with a branch (can be any version
618 specifier) to work on.
620 @item B
621 Secondary branch argument.  Only meaningful if @kbd{b} is also used.
622 It can be used to provide a second branch argument to
623 @code{cvs-mode-diff} or to @code{cvs-mode-update}.
625 @item M-f
626 Forces the next command to apply to every selected file rather than only
627 to the ones PCL-CVS thinks are relevant.
628 @end table
630 @node Updating the buffer
631 @section Updating the @file{*cvs*} buffer
632 @findex cvs-update
633 @findex cvs-examine
634 @findex cvs-status
635 @findex cvs-mode-update
636 @findex cvs-mode-examine
637 @findex cvs-mode-status
639 The following commands can be used from within the @file{*cvs*} buffer
640 to update the display:
642 @table @kbd
643 @item M-u
644 Runs the command @samp{cvs-update}.
646 @item M-e
647 Runs the command @samp{cvs-examine}.
649 @item M-s
650 Runs the command @samp{cvs-status}.
651 @end table
653 In addition to the above commands which operate on the whole module,
654 you can run the equivalent CVS command on just a subset of the
655 files/directories with these keys:
657 @table @kbd
658 @item O
659 Runs @code{cvs-mode-update} on the selected files.  When run on the
660 top-level directory, this is equivalent to @kbd{M-u}.
662 @item e
663 Runs @code{cvs-mode-examine} on the selected files.  When run on the
664 top-level directory, this is equivalent to @kbd{M-e}.
666 @findex cvs-status-mode
667 @item s
668 Runs @code{cvs-mode-status} on the selected files.  When run on the
669 top-level directory, this is equivalent to @kbd{M-s}, except that
670 CVS output will be shown in a @file{*cvs-info*} buffer that will be
671 put in @samp{cvs-status-mode}.
672 @end table
675 @node Movement commands
676 @section Movement Commands
677 @cindex Movement Commands
678 @findex cvs-mode-next-line
679 @findex cvs-mode-previous-line
680 @kindex SPC@r{--Move down one file}
681 @kindex n@r{--Move down one file}
682 @kindex p@r{--Move up one file}
684 You can use most normal Emacs commands to move forward and backward in
685 the buffer.  Some keys are rebound to functions that take advantage of
686 the fact that the buffer is a PCL-CVS buffer:
689 @table @kbd
690 @item @key{SPC}
691 @itemx n
692 These keys move the cursor one file forward, towards the end of the
693 buffer (@code{cvs-mode-next-line}).
695 @item p
696 This key moves one file backward, towards the beginning of the buffer
697 (@code{cvs-mode-previous-line}).
698 @end table
701 @node Marking files
702 @section Marking files
703 @cindex Selecting files (commands to mark files)
704 @cindex Marking files
705 @kindex m@r{--marking a file}
706 @kindex M@r{--marking all files}
707 @kindex u@r{--unmark a file}
708 @kindex ESC DEL@r{--unmark all files}
709 @kindex DEL@r{--unmark previous file}
710 @kindex %@r{--mark files matching regexp}
711 @kindex S@r{--mark files in a particular state}
712 @kindex T@r{--toggle marks}
713 @findex cvs-mode-mark
714 @findex cvs-mode-unmark
715 @findex cvs-mode-mark-all-files
716 @findex cvs-mode-unmark-all-files
717 @findex cvs-mode-unmark-up
718 @findex cvs-mode-mark-matching-files
719 @findex cvs-mode-mark-on-state
720 @findex cvs-mode-toggle-marks
722 PCL-CVS works on a set of @dfn{selected files} (@pxref{Selected files}).
723 You can mark and unmark files with these commands:
725 @table @kbd
726 @item m
727 This marks the file that the cursor is positioned on.  If the cursor is
728 positioned on a directory all files in that directory are marked
729 (@code{cvs-mode-mark}).
731 @item u
732 Unmark the file that the cursor is positioned on. If the cursor is on a
733 directory, all files in that directory are unmarked
734 (@code{cvs-mode-unmark}).
736 @item M
737 Mark @emph{all} files in the buffer (@code{cvs-mode-mark-all-files}).
739 @item M-@key{DEL}
740 Unmark @emph{all} files (@code{cvs-mode-unmark-all-files}).
742 @item @key{DEL}
743 Unmark the file on the previous line, and move point to that line
744 (@code{cvs-mode-unmark-up}).
746 @item %
747 Mark all files matching a regular expression
748 (@code{cvs-mode-mark-matching-files}).
750 @item S
751 Mark all files in a particular state, such as ``Modified'' or
752 ``Removed'' (@code{cvs-mode-mark-on-state}).
754 @item T
755 Toggle use of marks for the next command (@code{cvs-mode-toggle-marks}).
756 @end table
759 @node Committing changes
760 @section Committing changes
761 @cindex Committing changes
762 @findex cvs-mode-commit
763 @findex cvs-mode-commit-setup
764 @kindex c@r{--commit files}
765 @kindex C@r{--commit files with @file{ChangeLog} message}
766 @vindex cvs-auto-revert@r{ (variable)}
767 @cindex Commit buffer
768 @cindex Edit buffer
769 @cindex Erasing commit message
770 @cindex Reverting buffers after commit
772 Committing changes basically works as follows:
774 @enumerate
775 @item
776 After having selected the files you want to commit, you type either
777 @kbd{c} or @kbd{C} which brings up a special buffer
778 @file{*cvs-commit*}.
780 @item
781 You type in the log message describing the changes you're about to
782 commit (@pxref{Log Edit Mode}).
784 @item
785 When you're happy with it, you type @kbd{C-c C-c} to do the actual
786 commit.
787 @end enumerate
789 There's no hidden state, so you can abort the process or pick it up
790 again at any time.
792 @vindex log-edit-confirm@r{ (variable)}
793 The set of files actually committed is really decided only during the
794 very last step, which is a mixed blessing.  It allows you to go back and
795 change your mind about which files to commit, but it also means that you
796 might inadvertently change the set of selected files.  To reduce the
797 risk of error, @kbd{C-c C-c} will ask for confirmation if the set of
798 selected files has changed between the first step and the last.  You can
799 change this last detail with @code{log-edit-confirm}.
801 As for the difference between @kbd{c} (i.e., @code{cvs-mode-commit}) and
802 @kbd{C} (i.e., @code{cvs-mode-commit-setup}) is that the first gets you
803 straight to @file{*cvs-commit*} without erasing it or changing anything
804 to its content, while the second first erases @file{*cvs-commit*}
805 and tries to initialize it with a sane default (it does that by either
806 using a template provided by the CVS administrator or by extracting a
807 relevant log message from a @file{ChangeLog} file).
809 If you are editing the files in your Emacs, an automatic
810 @samp{revert-buffer} will be performed.  (If the file contains
811 @samp{$@asis{Id}$} keywords, @samp{cvs commit} will write a new file with
812 the new values substituted.  The auto-revert makes sure that you get
813 them into your buffer.)  The revert will not occur if you have modified
814 your buffer, or if @samp{cvs-auto-revert} is set to
815 @samp{nil}.
818 @node Editing files
819 @section Editing files
820 @cindex Editing files
821 @cindex Finding files
822 @cindex Loading files
823 @cindex Dired
824 @cindex Invoking dired
825 @findex cvs-mode-find-file
826 @findex cvs-mode-find-file-other-window
827 @findex cvs-mode-add-change-log-entry-other-window
828 @kindex f@r{--find file or directory}
829 @kindex o@r{--find file in other window}
830 @kindex A@r{--add @file{ChangeLog} entry}
832 There are currently three commands that can be used to find a file (that
833 is, load it into a buffer and start editing it there).  These commands
834 work on the line that the cursor is situated at.  They always ignore any marked
835 files.
837 @table @kbd
838 @item f
839 Find the file that the cursor points to (@code{cvs-mode-find-file}).  If
840 the cursor points to a directory, run @code{dired} on that directory;
841 @inforef{Dired, , emacs}.
843 @item o
844 Like @kbd{f}, but use another window
845 (@code{cvs-mode-find-file-other-window}).
847 @item A
848 Invoke @samp{add-change-log-entry-other-window} to edit a
849 @file{ChangeLog} file.  The @file{ChangeLog} file will be found in the
850 directory of the file the cursor points to, or in a parent of that
851 directory (@code{cvs-mode-add-change-log-entry-other-window}).
852 @end table
855 @node Getting info about files
856 @section Getting info about files
857 @cindex Status (cvs command)
858 @cindex Log (RCS/cvs command)
859 @cindex Getting status
860 @kindex l@r{--run @samp{cvs log}}
861 @kindex s@r{--run @samp{cvs status}}
862 @findex cvs-mode-log
863 @findex cvs-mode-status
865 @table @kbd
866 @item l
867 Call the command @code{cvs-mode-log} which runs @samp{cvs log} on all
868 selected files, and show the result in a temporary buffer
869 @file{*cvs-info*} (@pxref{Log View Mode}).
871 @item s
872 Call the command @code{cvs-mode-status} which runs @samp{cvs status} on
873 all selected files, and show the result in a temporary buffer
874 @file{*cvs-info*}.
875 @c Fixme: reinstate when node is written:
876 @c (@pxref{CVS Status Mode}).
877 @end table
880 @node Adding and removing files
881 @section Adding and removing files
882 @cindex Adding files
883 @cindex Removing files
884 @cindex Resurrecting files
885 @cindex Deleting files
886 @cindex Putting files under CVS control
887 @kindex a@r{--add a file}
888 @kindex r@r{--remove a file}
889 @findex cvs-mode-add
890 @findex cvs-mode-remove-file
892 The following commands are available to make it easy to add files to
893 and remove them from the CVS repository.
895 @table @kbd
896 @item a
897 Add all selected files.  This command can be used on @samp{Unknown}
898 files (@pxref{Buffer contents}).  The status of the file will change to
899 @samp{Added}, and you will have to use @kbd{c} (@samp{cvs-mode-commit}
900 @pxref{Committing changes}), to really add the file to the
901 repository.
903 This command can also be used on @samp{Removed} files (before you commit
904 them) to resurrect them.
906 The command that is run is @code{cvs-mode-add}.
908 @item r
909 This command removes the selected files (after prompting for
910 confirmation).  The files are deleted from your directory and
911 (unless the status was @samp{Unknown}; @pxref{Buffer contents}) they will
912 also be @samp{cvs remove}d.  If the files' status was @samp{Unknown}
913 they will disappear from the buffer.  Otherwise their status will change to
914 @samp{Removed}, and you must use @kbd{c} (@samp{cvs-mode-commit},
915 @pxref{Committing changes}) to commit the removal.
917 The command that is run is @code{cvs-mode-remove-file}.
918 @end table
921 @node Undoing changes
922 @section Undoing changes
923 @cindex Undo changes
924 @cindex Flush changes
925 @kindex U@r{--undo changes}
926 @findex cvs-mode-undo-local-changes
928 @table @kbd
929 @item U
930 If you have modified a file, and for some reason decide that you don't
931 want to keep the changes, you can undo them with this command.  It works
932 by removing your working copy of the file and then getting the latest
933 version from the repository (@code{cvs-mode-undo-local-changes}).
934 @end table
937 @node Removing handled entries
938 @section Removing handled entries
939 @cindex Expunging uninteresting entries
940 @cindex Uninteresting entries, getting rid of them
941 @cindex Getting rid of uninteresting lines
942 @cindex Removing uninteresting (processed) lines
943 @cindex Handled lines, removing them
944 @kindex x@r{--remove processed entries}
945 @kindex C-k@r{--remove selected entries}
946 @findex cvs-mode-remove-handled
947 @findex cvs-mode-acknowledge
948 @findex cvs-mode-ignore
950 @table @kbd
951 @item x
952 This command allows you to remove all entries that you have processed.
953 More specifically, the lines for @samp{Up-to-date} files (@pxref{Buffer
954 contents}) are removed from the buffer.  If a directory becomes empty
955 the heading for that directory is also removed.  This makes it easier to
956 get an overview of what needs to be done.
958 @vindex cvs-mode-remove-handled@r{ (variable)}
959 @kbd{x} invokes @code{cvs-mode-remove-handled}.  If
960 @samp{cvs-auto-remove-handled} is set to non-@code{nil}, this will
961 automatically be performed after every commit.
963 @item C-k
964 This command can be used for lines that @samp{cvs-mode-remove-handled} would
965 not delete, but that you want to delete (@code{cvs-mode-acknowledge}).
966 @end table
969 @node Ignoring files
970 @section Ignoring files
971 @cindex Ignoring files
972 @kindex i@r{--ignoring files}
973 @findex cvs-mode-ignore
975 @table @kbd
976 @item i
977 Arrange so that CVS will ignore the selected files.  The file names are
978 added to the @file{.cvsignore} file in the corresponding directory.  If
979 the @file{.cvsignore} file doesn't exist, it will be created.
981 The @file{.cvsignore} file should normally be added to the repository,
982 but you could ignore it as well, if you like it better that way.
984 This runs @code{cvs-mode-ignore}.
985 @end table
987 @node Viewing differences
988 @section Viewing differences
989 @cindex Diff
990 @cindex Invoking @code{diff}
991 @cindex Conflicts, how to resolve them
992 @cindex Viewing differences
993 @kindex d=@r{--run @samp{cvs diff}}
994 @kindex =@r{--run @samp{cvs diff}}
995 @kindex db@r{--diff against base version}
996 @kindex dh@r{--diff against head of repository}
997 @kindex dr@r{--diff between base and head of repository}
998 @kindex dv@r{--diff against vendor branch}
999 @kindex dy@r{--diff against yesterday's head}
1000 @findex cvs-mode-diff
1001 @findex cvs-mode-diff-backup
1002 @findex cvs-mode-diff-head
1003 @findex cvs-mode-diff-repository
1004 @findex cvs-mode-diff-vendor
1005 @findex cvs-mode-diff-yesterday
1006 @vindex cvs-invert-ignore-marks@r{ (variable)}
1008 @table @kbd
1009 @item =
1010 @itemx d =
1011 Display a @samp{cvs diff} between the selected files and the version
1012 that they are based on (@code{cvs-mode-diff}).
1014 @item d b
1015 If CVS finds a conflict while merging two versions of a file (during a
1016 @samp{cvs update}, @pxref{Updating the buffer}) it will save the
1017 original file in a file called @file{.#@var{file}.@var{version}} where
1018 @var{file} is the name of the file, and @var{version} is the revision
1019 number that @var{file} was based on.
1021 With the @kbd{d b} command you can run a @samp{diff} on the files
1022 @file{.#@var{file}.@var{version}} and @file{@var{file}}.
1024 @item d h
1025 Display a @samp{cvs diff} between the selected files and the head
1026 revision (the most recent version on the current
1027 branch) in the repository (@code{cvs-mode-diff-head}).
1029 @item d r
1030 Display a @samp{cvs diff} between the base revision of the selected
1031 files and the head revision in the repository.  This displays the
1032 changes anyone has committed to the repository since you last executed
1033 a checkout, update or commit operation
1034 (@code{cvs-mode-diff-repository}).
1036 @item d v
1037 Display a @samp{cvs diff} between the selected files and the head
1038 revision of the vendor branch in the repository
1039 (@code{cvs-mode-diff-vendor}).
1041 @item d y
1042 Display a @samp{cvs diff} between the selected files and yesterday's
1043 head revision in the repository
1044 (@code{cvs-mode-diff-yesterday}).
1045 @end table
1047 By default, @samp{diff} commands ignore the marks.  This can be changed
1048 with @code{cvs-invert-ignore-marks}.
1050 @node Invoking Ediff
1051 @section Running ediff
1052 @cindex Ediff
1053 @cindex Invoking ediff
1054 @cindex Viewing differences
1055 @cindex Conflicts, how to resolve them
1056 @cindex Resolving conflicts
1057 @kindex e@r{--invoke @samp{ediff}}
1058 @findex cvs-mode-idiff
1059 @findex cvs-mode-imerge
1061 @table @kbd
1062 @vindex cvs-idiff-imerge-handlers@r{ (variable)}
1063 @item d e
1064 This uses @code{ediff} (or @code{emerge}, depending on
1065 @samp{cvs-idiff-imerge-handlers}) to allow you to view diffs.
1066 If a prefix argument is given, PCL-CVS will prompt for a revision against
1067 which the diff should be made, else the default will be to use the BASE
1068 revision.
1070 @cindex Merging with @code{ediff} and @code{emerge}
1071 @item d E
1072 This command use @code{ediff} (or @code{emerge}, see above) to allow you
1073 to do an interactive 3-way merge.
1075 @strong{Please note:}  when the file status is @samp{Conflict},
1076 CVS has already performed a merge.  The resulting file is not used in
1077 any way if you use this command.  If you use the @kbd{q} command inside
1078 @samp{ediff} (to successfully terminate a merge) the file that CVS
1079 created will be overwritten.
1080 @end table
1082 @node Updating files
1083 @section Updating files
1084 @findex cvs-mode-update
1085 @cindex Updating files
1086 @kindex O@r{--update files}
1088 @table @kbd
1089 @item O
1090 Update all selected files with status @samp{Need-update} by running
1091 @samp{cvs update} on them (@code{cvs-mode-update}).
1092 @end table
1095 @node Tagging files
1096 @section Tagging files
1097 @findex cvs-mode-tag
1098 @findex cvs-mode-untag
1099 @findex cvs-rtag
1100 @cindex Tagging files
1101 @kindex M-t@r{--repository tag files}
1102 @kindex t@r{--tag files}
1103 @vindex cvs-invert-ignore-marks@r{ (variable)}
1104 @vindex cvs-force-dir-tag@r{ (variable)}
1106 @table @kbd
1107 @item t
1108 Tag all selected files by running @samp{cvs tag} on
1109 them (@code{cvs-mode-tag}).  It's usually preferable to tag a directory
1110 at a time.  Rather than selecting all files (which too often doesn't
1111 select all files but only the few that are displayed), clear the
1112 selection with @kbd{M-DEL} (@code{cvs-mode-unmark-all-files}), position
1113 the cursor on the directory you want to tag and hit @kbd{t}.
1114 @end table
1116 By default, @samp{tag} commands ignore the marks.  This can be changed
1117 with @code{cvs-invert-ignore-marks}.  Also, by default @samp{tag} can
1118 only be applied to directories, see @code{cvs-force-dir-tag} if you want
1119 to change this behavior.
1122 @node Miscellaneous commands
1123 @section Miscellaneous commands
1124 @findex cvs-mode-byte-compile-files
1125 @cindex Recompiling elisp files
1126 @cindex Byte compilation
1127 @findex cvs-mode-delete-lock
1128 @cindex Getting rid of lock files
1129 @cindex Lock files
1130 @kindex q@r{--bury the PCL-CVS buffer}
1131 @findex cvs-bury-buffer
1132 @findex cvs-mode-quit
1133 @cindex Quitting
1134 @kindex h@r{--help}
1135 @kindex ?@r{--help}
1136 @findex cvs-help
1137 @cindex Help
1139 @table @kbd
1140 @item M-x cvs-mode-byte-compile-files
1141 Byte compile all selected files that end in @file{.el}.
1143 @item M-x cvs-mode-delete-lock
1144 This command deletes the lock files that
1145 the @file{*cvs*} buffer informs you about.  You should normally never have to
1146 use this command, since CVS tries very carefully to always remove the
1147 lock files itself.
1149 You can only use this command when a message in the @file{*cvs*} buffer tells
1150 you so.  You should wait a while before using this command in case
1151 someone else is running a @code{cvs} command.
1153 Also note that this only works if the repository is local.
1155 @item ?
1156 @itemx h
1157 Show a summary of common command key bindings in the echo
1158 area (@code{cvs-help}).
1160 @item q
1161 Bury the PCL-CVS buffer (@code{cvs-bury-buffer}).
1163 @item M-x cvs-mode-quit
1164 Quit PCL-CVS, killing the @file{*cvs*} buffer.
1165 @end table
1167 @node Log Edit Mode
1168 @chapter Editing a Log Message
1170 @cindex Log Edit mode
1171 @cindex mode, Log Edit
1172 Buffers for entering/editing log messages for changes which are about
1173 to be committed are put into Log Edit mode.
1175 Sometimes the log buffer contains default text when you enter it,
1176 typically the last log message entered.  If it does, mark and point
1177 are set around the entire contents of the buffer so that it is easy to
1178 kill the contents of the buffer with @kbd{C-w}.
1180 @findex log-edit-insert-changelog
1181 If you work by writing entries in the @file{ChangeLog}
1182 (@pxref{Change Log,,, emacs, The GNU Emacs Manual}) and then commit the change under revision
1183 control, you can generate the Log Edit text from the ChangeLog using
1184 @kbd{C-c C-a} (@kbd{log-edit-insert-changelog}).  This looks for
1185 entries for the file(s) concerned in the top entry in the ChangeLog
1186 and uses those paragraphs as the log text.  This text is only inserted
1187 if the top entry was made under your user name on the current date.
1188 @xref{Change Logs and VC,,, emacs, The GNU Emacs Manual}, for the opposite way of
1189 working---generating ChangeLog entries from the revision control log.
1191 In the Log Edit buffer, @kbd{C-c C-f} (@kbd{M-x log-edit-show-files})
1192 shows the list of files to be committed in case you need to check
1193 that.
1195 When you have finished editing the log message, type @kbd{C-c C-c} to
1196 exit the buffer and commit the change.
1198 @c Fixme: customization variables
1200 @node Log View Mode
1201 @chapter Browsing a Log of Changes
1203 @cindex Log View mode
1204 @cindex mode, Log View
1205 @cindex output, logs
1207 @findex cvs-mode-log
1208 @findex vc-print-log
1209 Log View mode provides a few useful commands for navigating revision
1210 control log output.  It is used for the output buffers of both
1211 @code{cvs-mode-log} and @code{vc-print-log}.
1213 In this mode, @kbd{n} goes to the next message and @kbd{p} goes to the
1214 previous message and @kbd{N} and @kbd{P} go to the next and previous
1215 files, respectively, in multi-file output.  With a numeric prefix
1216 argument, these commands move that many messages of files.
1218 @c @node CVS Status Mode
1219 @c @chapter Viewing CVS' Status output
1221 @node Customization
1222 @chapter Customization
1223 @vindex log-edit-changelog-full-paragraphs@r{ (variable)}
1224 @vindex cvs-auto-remove-handled@r{ (variable)}
1225 @vindex cvs-auto-remove-directories@r{ (variable)}
1226 @vindex cvs-update-prog-output-skip-regexp@r{ (variable)}
1227 @vindex cvs-cvsroot@r{ (variable)}
1228 @vindex cvs-auto-revert@r{ (variable)}
1229 @vindex log-edit-require-final-newline@r{ (variable)}
1230 @vindex cvs-sort-ignore-file@r{ (variable)}
1231 @cindex Customization
1232 @cindex Variables, list of all
1233 @cindex Erasing input buffer
1234 @cindex Context diff, how to get
1235 @cindex Unidiff, how to get
1236 @cindex Automatically remove handled files
1237 @cindex @samp{-u} option in modules file
1238 @cindex Modules file (@samp{-u} option)
1239 @cindex Update program (@samp{-u} option in modules file)
1240 @cindex Reverting buffers after commit
1241 @cindex Require final newline
1242 @cindex Automatically inserting newline
1243 @cindex Commit message, inserting newline
1244 @cindex Sorting @file{.cvsignore} file
1245 @cindex @file{.cvsignore} file, sorting
1246 @cindex Automatically sorting @file{.cvsignore}
1247 @cindex @samp{CVSROOT}, overriding
1249 If you have an idea about any customization that would be handy but
1250 isn't present in this list, please tell us!
1251 For info on how to reach us, see @ref{Bugs}.
1253 @table @samp
1254 @item cvs-auto-remove-handled
1255 If this variable is set to any non-@code{nil} value,
1256 @samp{cvs-mode-remove-handled} will be called every time you check in
1257 files, after the check-in is ready.  @xref{Removing handled
1258 entries}.
1260 @item cvs-auto-remove-directories
1261 If this variable is set to any non-@code{nil} value, directories that do
1262 not contain any files to be checked in will not be listed in the
1263 @file{*cvs*} buffer.
1265 @item cvs-auto-revert
1266 If this variable is set to any non-@samp{nil} value any buffers you have
1267 that visit a file that is committed will be automatically reverted.
1268 This variable defaults to @samp{t}. @xref{Committing changes}.
1270 @item cvs-update-prog-output-skip-regexp
1271 The @samp{-u} flag in the @file{modules} file can be used to run a command
1272 whenever a @samp{cvs update} is performed (see @code{cvs(5)}).  This regexp
1273 is used to search for the last line in that output.  It is normally set
1274 to @samp{$}.  That setting is only correct if the command outputs
1275 nothing.  Note that PCL-CVS will get very confused if the command
1276 outputs @emph{anything} to @code{stderr}.
1278 @item cvs-cvsroot
1279 This variable can be set to override @samp{CVSROOT}.  It should be a
1280 string.  If it is set, then every time a @code{cvs} command is run, it
1281 will be called as @samp{cvs -d @var{cvs-cvsroot}@dots{}}.  This can be
1282 useful if your site has several repositories.
1284 @item log-edit-require-final-newline
1285 @c wordy to avoid underfull hbox
1286 When you enter a log message by typing into the
1287 @file{*cvs-commit-message*} buffer, PCL-CVS normally automatically
1288 inserts a trailing newline, unless there already is one.  This behavior
1289 can be controlled via @samp{cvs-commit-buffer-require-final-newline}.
1290 If it is @samp{t} (the default behavior), a newline will always be
1291 appended.  If it is @samp{nil}, newlines will never be appended.  Any
1292 other value causes PCL-CVS to ask the user whenever there is no trailing
1293 newline in the commit message buffer.
1295 @findex cvs-mode-changelog-commit
1296 @item log-edit-changelog-full-paragraphs
1297 If this variable is non-@code{nil}, include full @file{ChangeLog}
1298 paragraphs in the CVS log created by @samp{cvs-mode-changelog-commit}.
1299 This may be set in the local variables section of a @file{ChangeLog}
1300 file, to indicate the policy for that @file{ChangeLog}.
1302 @cindex @file{ChangeLog} paragraphs
1303 A @dfn{@file{ChangeLog} paragraph} is a bunch of log text containing no
1304 blank lines; a paragraph usually describes a set of changes with a
1305 single purpose, but perhaps spanning several functions in several files.
1306 Changes in different paragraphs are unrelated.
1308 You could argue that the CVS log entry for a file should contain the
1309 full @file{ChangeLog} paragraph mentioning the change to the file, even though
1310 it may mention other files, because that gives you the full context you
1311 need to understand the change.  This is the behavior you get when this
1312 variable is set to @code{t}, the default.
1314 On the other hand, you could argue that the CVS log entry for a change
1315 should contain only the text for the changes which occurred in that
1316 file, because the CVS log is per-file.  This is the behavior you get
1317 when this variable is set to @code{nil}.
1319 @findex cvs-mode-ignore@r{, and @file{.cvsignore} sorting}
1320 @item cvs-sort-ignore-file
1321 If this variable is set to any non-@samp{nil} value, the
1322 @file{.cvsignore} file will always be sorted whenever you use
1323 @samp{cvs-mode-ignore} to add a file to it.  This option is on by
1324 default.
1325 @end table
1328 @menu
1329 * Customizing Faces::
1330 @end menu
1332 @node Customizing Faces
1333 @section Customizing Faces
1334 @vindex cvs-header (face)
1335 @vindex cvs-filename (face)
1336 @vindex cvs-unknown (face)
1337 @vindex cvs-handled (face)
1338 @vindex cvs-need-action (face)
1339 @vindex cvs-marked (face)
1340 @vindex cvs-msg (face)
1342 PCL-CVS adds a few extra features, including menus, mouse bindings, and
1343 fontification of the @file{*cvs*} buffer.  The faces defined for
1344 fontification are listed below:
1346 @table @samp
1347 @item cvs-header
1348 used to highlight directory changes.
1350 @item cvs-filename
1351 Used to highlight file names.
1353 @item cvs-unknown
1354 Used to highlight the status of files which are @samp{Unknown}.
1356 @item cvs-handled
1357 Used to highlight the status of files which are handled and
1358 need no further action.
1360 @item cvs-need-action
1361 Used to highlight the status of files which still need action.
1363 @item cvs-marked
1364 Used to highlight the marked file indicator (@samp{*}).
1366 @item cvs-msg
1367 Used to highlight CVS messages.
1368 @end table
1371 @node   Bugs
1372 @chapter Bugs (known and unknown)
1373 @cindex Reporting bugs and ideas
1374 @cindex Bugs, how to report them
1375 @cindex Author, how to reach
1376 @cindex Email to the author
1377 @cindex Known bugs
1378 @cindex Bugs, known
1379 @cindex FAQ
1380 @cindex Problems, list of common
1382 If you find a bug or misfeature, don't hesitate to tell us!
1383 Use @kbd{M-x report-emacs-bug} to send us a report.
1384 You can follow the same process for feature requests.
1385 We prefer discussing one thing at a time.  If you find several unrelated
1386 bugs, please report them separately.  If you are running PCL-CVS under
1387 XEmacs, you should also send a copy of bug reports to
1388 the @url{http://lists.xemacs.org/mailman/listinfo/xemacs-beta,
1389 XEmacs mailing list}.
1391 If you have problems using PCL-CVS or other questions, send them to
1392 the @url{http://lists.gnu.org/mailman/listinfo/help-gnu-emacs,
1393 help-gnu-emacs mailing list}.  This is a good place to get help, as is
1394 the @url{http://lists.nongnu.org/mailman/listinfo/info-cvs, info-cvs list}.
1396 If you have ideas for improvements, or if you have written some
1397 extensions to this package, we would like to hear from you.  We hope that
1398 you find this package useful!
1400 Below is a partial list of currently known problems with PCL-CVS.
1402 @table @asis
1403 @item Unexpected output from CVS
1404 Unexpected output from CVS may confuse PCL-CVS@.  It will create
1405 warning messages in the @file{*cvs*} buffer alerting you to any parse errors.
1406 If you get these messages, please send a bug report to the email
1407 addresses listed above.  Include the contents of the @file{*cvs*} buffer, the
1408 output of the CVS process (which should be found in the @file{ *cvs-tmp*}
1409 buffer), and the versions of Emacs, PCL-CVS and CVS you are using.
1410 @end table
1412 @node GNU Free Documentation License
1413 @appendix GNU Free Documentation License
1414 @include doclicense.texi
1418 @node Function and Variable Index
1419 @unnumbered Function and Variable Index
1421 This is an index of all the functions and variables documented in this
1422 manual.
1424 @printindex fn
1426 @node     Concept Index
1427 @unnumbered Concept Index
1429 This is an index of concepts discussed in this manual.
1431 @printindex cp
1433 @node     Key Index
1434 @unnumbered Key Index
1436 This index includes an entry for each PCL-CVS key sequence documented in
1437 this manual.
1439 @printindex ky
1441 @bye