bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39293: [PATCH] Base bookmark-bmenu-mode on 'tabulated-list-mode'


From: Matthias Meulien
Subject: bug#39293: [PATCH] Base bookmark-bmenu-mode on 'tabulated-list-mode'
Date: Sat, 23 May 2020 22:31:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefan@marxist.se> writes:

The attached patch changes bookmark-bmenu-mode to be based on tabulated-list-mode instead of special-mode. This allows us to simplify the code in several cases. In addition, we get many features for free, such as sorting columns by clicking on the column headers, changing size of columns.

Both features looks interesting to me. Thanks for working on that!

In the future, this will obviously include any new feature added to 'tabulated-list-mode'. The only functional step backwards is that we no longer support the optional "inline" header line -- a bookmark.el-specific hack to have a header without using 'header-line-format'. I don't believe this feature is very useful since the lack of such support for anything similar in e.g. 'package-menu-mode' has not caused any problems. It seems to have been added together with 'header-line-format' as a fire escape if the latter caused any problems.

I am the one who introduced `header-line-format` in bookmark.el (7a78e19f24) and I confirm that I kept the legacy header "just in case". The new behavior has been enabled by default since 2013, and I've not heard any complaint.
--
Matthias Meulien





reply via email to

[Prev in Thread] Current Thread [Next in Thread]