1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* 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
This commit is contained in:
Juri Linkov 2013-12-12 02:42:16 +02:00
parent 7204a2e666
commit d5ccb7be02
5 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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.

View File

@ -1,3 +1,11 @@
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):

View File

@ -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)

View File

@ -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)