diff options
author | Karl Fogel <kfogel@red-bean.com> | 2022-04-24 14:07:21 -0500 |
---|---|---|
committer | Karl Fogel <kfogel@red-bean.com> | 2022-04-24 14:07:21 -0500 |
commit | 8b071c77b0d7200fcc6659d395113ac4d9d778a5 (patch) | |
tree | fa2f01efdb92ec33505966259d503f7f84ec55e2 /lisp/emacs-lisp/syntax.el | |
parent | b3e009ba9834c187160ecb99d34fb1f8bd222eed (diff) | |
download | emacs-8b071c77b0d7200fcc6659d395113ac4d9d778a5.tar.gz emacs-8b071c77b0d7200fcc6659d395113ac4d9d778a5.tar.bz2 emacs-8b071c77b0d7200fcc6659d395113ac4d9d778a5.zip |
Improve sorting in the bookmark list buffer
- Ensure that the bookmark bmenu buffer sorts when it should.
- Sort case-insensitively and by locale-dependent collation order.
- Rename "Bookmark" column to "Bookmark Name".
- Coordinate that column's sort toggle and `bookmark-sort-flag'.
- Document the new behavior.
* lisp/bookmark.el (bookmark-bmenu--name-predicate,
bookmark-bmenu--type-predicate, bookmark-bmenu--file-predicate): Use
`string-collate-lessp' with IGNORE-CASE argument, instead of plain
`string<'.
(bookmark-bmenu--revert): Sort based on `bookmark-sort-flag'.
(bookmark-bmenu-mode): Document the new behavior. Rename the
"Bookmark" column to "Bookmark Name" for clarity & documentabilty.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions