[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. Customization

If you have an idea about any customization that would be handy but isn't present in this list, please tell me! For info on how to reach me, see See section 9. Bugs (known and unknown).

`cvs-erase-input-buffer'
If set to anything other than nil the edit buffer will be erased before you write the log message (see section 5.6 Committing changes).

`cvs-diff-flags'
A list of strings to pass as arguments to the `cvs diff' and `diff' programs. This is used by `cvs-mode-diff-cvs' and `cvs-mode-diff-backup' (key b, see section 5.13 Viewing differences). If you prefer the Unidiff format you could add this line to your `.emacs' file:

 
(setq cvs-diff-flags '("-u"))

Note: For the above example to take effect, you must make sure that cvs-diff-flags is set before PCL-CVS is loaded.

PCL-CVS gets the values for these flags directly from your `.cvsrc' file, so you wouldn't normally need to set them in your `.emacs' file.

`cvs-default-ignore-marks'
If this variable is non-nil the non-diffing commands will not consider marked files to be selected by default. The command `cvs-mode-toggle-marks' bound to T can be used to toggle the use of marks for the following command.

`cvs-diff-ignore-marks'
If this variable is non-nil the diffing commands will not consider marked files to be selected by default. The command `cvs-mode-toggle-marks' bound to T can be used to toggle the use of marks for the following command.

`cvs-log-flags'
List of strings to send to `cvs log'. Used by `cvs-mode-log' (key l, see section 5.8 Getting info about files).

`cvs-status-flags'
List of strings to send to `cvs status'. Used by `cvs-mode-status' (key s, see section 5.8 Getting info about files).

`cvs-auto-remove-handled'
If this variable is set to any non-nil value `cvs-mode-remove-handled' will be called every time you check in files, after the check-in is ready. See section 5.11 Removing handled entries.

`cvs-auto-remove-handled-directories'
If this variable is set to any non-nil value, directories that do not contain any files to be checked in will not be listed in the `*cvs*' buffer.

`cvs-auto-revert'
If this variable is set to any non-`nil' value any buffers you have that visit a file that is committed will be automatically reverted. This variable defaults to `t'. See section 5.6 Committing changes.

`cvs-update-prog-output-skip-regexp'
The `-u' flag in the `modules' file can be used to run a command whenever a `cvs update' is performed (see cvs(5)). This regexp is used to search for the last line in that output. It is normally set to `"$"'. That setting is only correct if the command outputs nothing. Note that pcl-cvs will get very confused if the command outputs anything to `stderr'.

`cvs-cvsroot'
This variable can be set to override `CVSROOT'. It should be a string. If it is set then every time a cvs command is run it will be called as `cvs -d cvs-cvsroot...' This can be useful if your site has several repositories.

`cvs-commit-buffer-require-final-newline'
When you enter a log message in the `*cvs-commit-message*' buffer pcl-cvs will normally automatically insert a trailing newline, unless there already is one. This behavior can be controlled via `cvs-commit-buffer-require-final-newline'. If it is `t' (the default behavior), a newline will always be appended. If it is `nil', newlines will never be appended. Any other value causes pcl-cvs to ask the user whenever there is no trailing newline in the commit message buffer.

`cvs-changelog-full-paragraphs'
If this variable is non-nil, include full ChangeLog paragraphs in the CVS log created by `cvs-mode-changelog-commit'. This may be set in the local variables section of a ChangeLog, to indicate the policy for that ChangeLog.

A ChangeLog paragraph is a bunch of log text containing no blank lines; a paragraph usually describes a set of changes with a single purpose, but perhaps spanning several functions in several files. Changes in different paragraphs are unrelated.

You could argue that the CVS log entry for a file should contain the full ChangeLog paragraph mentioning the change to the file, even though it may mention other files, because that gives you the full context you need to understand the change. This is the behavior you get when this variable is set to t, the default.

On the other hand, you could argue that the CVS log entry for a change should contain only the text for the changes which occurred in that file, because the CVS log is per-file. This is the behavior you get when this variable is set to nil.

`cvs-sort-ignore-file'
If this variable is set to any non-`nil' value the `.cvsignore' will always be sorted whenever you use `cvs-mode-ignore' to add a file to it. This option is on by default.

`cvs-update-cmd-flags'
List of strings to send to `cvs update'. Used by `cvs-update' and `cvs-examine'.

`cvs-status-cmd-flags'
List of strings to send to `cvs status'. Used by `cvs-status'.

`cvs-checkout-cmd-flags'
List of strings to send to `cvs checkout'. Used by `cvs-checkout'.

`cvs-add-flags'
List of strings to send to `cvs add'. Used by `cvs-mode-add', normally bound to a.

`cvs-commit-flags'
List of strings to send to `cvs commit'. Used by the commands `cvs-mode-commit' and `cvs-mode-changelog-commit', normally bound to c and C, respectively.

`cvs-remove-flags'
List of strings to send to `cvs remove'. Used by `cvs-mode-remove-file', normally bound to r.

`cvs-undo-flags'
List of strings to send to `cvs update' after removing a locally modified file. Used by `cvs-mode-undo-local-changes', normally bound to U.

`cvs-update-flags'
List of strings to send to `cvs update'. Used by `cvs-mode-update', normally bound to O and used to update a file after using `cvs-status'.

`cvs-tag-flags'
List of strings to send to `cvs tag'. Used by `cvs-mode-tag', normally bound to t.

`cvs-rtag-flags'
List of strings to send to `cvs rtag'. Used by `cvs-mode-rtag', normally bound to M-t.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs shared group account on December, 19 2009 using texi2html 1.65.