Go to the first, previous, next, last section, table of contents.


7. Customization

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

`cvs-erase-input-buffer'
If set to anything else than nil the edit buffer will be erased before you write the log message (see section 6.4 Committing changes).
`cvs-inhibit-copyright-message'
The copyright message that is displayed on startup can be annoying after a while. Set this variable to `t' if you want to get rid of it. (But don't set this to `t' in the system defaults file - new users should see this message at least once).
`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 6.11 Viewing differences). If you prefer the Unidiff format you could add this line to your `.emacs' file:
(setq cvs-diff-flags '("-u"))
`cvs-diff-ignore-marks'
If this variable is non-nil or if a prefix argument is given (but not both) to `cvs-mode-diff-cvs' or `cvs-mode-diff-backup' marked files are not considered selected.
`cvs-log-flags'
List of strings to send to `cvs log'. Used by `cvs-mode-log' (key l, see section 6.6 Getting info about files).
`cvs-status-flags'
List of strings to send to `cvs status'. Used by `cvs-mode-status' (key s, see section 6.6 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 6.9 Removing handled entries.
`cvs-auto-revert-after-commit'
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 is default `t'. See section 6.4 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 everytime a cvs command is run it will be called as `cvs -d cvs-cvsroot...' This can be useful if your site has several repositories.
`TMPDIR'
Pcl-cvs uses this environment variable to decide where to put the temporary files it needs. It defaults to `/tmp' if it is not set.
`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-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.


Go to the first, previous, next, last section, table of contents.