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