Commit d5ccb7be authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/uniquify.el (uniquify-buffer-name-style): Change default to `post-forward-angle-brackets'.

* lisp/menu-bar.el (menu-bar-options-menu): Don't require preloaded `uniquify'.
Change default to `post-forward-angle-brackets'.

http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00317.html
parent 7204a2e6
......@@ -614,8 +614,7 @@ names (all but one of them).
@vindex uniquify-buffer-name-style
Other methods work by adding parts of each file's directory to the
buffer name. To select one, load the library @file{uniquify} (e.g.,
using @code{(require 'uniquify)}), and customize the variable
buffer name. To select one, customize the variable
@code{uniquify-buffer-name-style} (@pxref{Easy Customization}).
To begin with, the @code{forward} naming method includes part of the
......
......@@ -205,7 +205,7 @@ Czech typography rules. To globally enable this feature, evaluate:
** `electric-indent-mode' is enabled by default.
** Uniquify is enabled by default.
** Uniquify is enabled by default with post-forward-angle-brackets style.
** Command `rectangle-mark-mode' bound to C-x SPC makes a rectangular region.
Most commands are still unaware of it, but kill/yank do work on the rectangle.
......
2013-12-12 Juri Linkov <juri@jurta.org>
* uniquify.el (uniquify-buffer-name-style): Change default to
`post-forward-angle-brackets'.
* menu-bar.el (menu-bar-options-menu): Don't require preloaded
`uniquify'. Change default to `post-forward-angle-brackets'.
2013-12-11 Glenn Morris <rgm@gnu.org>
* emacs-lisp/package.el (finder-list-matches):
......
......@@ -1223,10 +1223,9 @@ mail status in mode line"))
"Use Directory Names in Buffer Names"
"Directory name in buffer names (uniquify) %s"
"Uniquify buffer names by adding parent directory names"
(require 'uniquify)
(setq uniquify-buffer-name-style
(if (not uniquify-buffer-name-style)
'forward))))
'post-forward-angle-brackets))))
(bindings--define-key menu [edit-options-separator]
menu-bar-separator)
......
......@@ -93,7 +93,7 @@
:group 'files)
(defcustom uniquify-buffer-name-style 'post-forward
(defcustom uniquify-buffer-name-style 'post-forward-angle-brackets
"If non-nil, buffer names are uniquified with parts of directory name.
The value determines the buffer name style and is one of `forward',
`reverse', `post-forward', or `post-forward-angle-brackets'.
......@@ -111,6 +111,7 @@ of `uniquify-strip-common-suffix'."
(const post-forward)
(const post-forward-angle-brackets)
(const :tag "standard Emacs behavior (nil)" nil))
:version "24.4"
:require 'uniquify
:group 'uniquify)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment