File: uniquify.el.html
Emacs's traditional method for making buffer names unique adds <2>, <3>,
etc. to the end of (all but one of) the buffers. This file replaces
that behavior, for buffers visiting files and Dired buffers, with a
uniquification that adds parts of the file name until the buffer names
are unique. For instance, buffers visiting /u/mernst/tmp/Makefile and
/usr/projects/zaphod/Makefile would be named Makefile|tmp and
Makefile|zaphod, respectively (instead of Makefile and Makefile<2>).
Other buffer name styles are also available.
To use this file, do (require 'uniquify) and set uniquify-buffer-name-style to one of its non-nil alternative values.
For other options, see "User-visible variables", below.
Defined variables (10)
uniquify-after-kill-buffer-p | If non-nil, rerationalize buffer names after a buffer has been killed. |
uniquify-buffer-name-style | How to construct unique buffer names for files with the same base name. |
uniquify-dirname-transform | Function to transform buffer’s directory name when uniquifying buffer’s name. |
uniquify-ignore-buffers-re | Regular expression matching buffer names that should not be uniquified. |
uniquify-list-buffers-directory-modes | List of modes for which uniquify should obey ‘list-buffers-directory’. |
uniquify-managed | Non-nil if the name of this buffer is managed by uniquify. |
uniquify-min-dir-content | Minimum number of directory name components included in buffer name. |
uniquify-separator | String separator for buffer name components. |
uniquify-strip-common-suffix | If non-nil, strip common directory suffixes of conflicting files. |
uniquify-trailing-separator-p | If non-nil, add a file name separator to Dired buffer names. |