[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : [emacs bookmark.el] Sorting by last set
From: |
Manuel Giraud |
Subject: |
Re: [External] : [emacs bookmark.el] Sorting by last set |
Date: |
Thu, 26 May 2022 21:41:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) |
Drew Adams <drew.adams@oracle.com> writes:
[...]
> IMHO, it was a mistake for `bookmark.el' to have
> moved its `*Bookmark List*' display to depend on
> the straitjacket that is `tabulated-list-mode'.
>
> That limits things quite a bit, including sorting.
> Far better to have `bookmark-bmenu-list' display
> the listing itself, as was the case in the past,
> and as is still the case for Bookmark+.
>
> In particular, without `tabulated-list-mode'
> there are no limits on sorting or on users
> defining their own sort functions. It makes
> little sense for sorting to be essentially
> limited to sorting by columns.
>From my limited experience on this patch, I agree with you. For
instance, in one version of the patch I thought it would be a good idea
to put the modified timestamp in a column. As my timestamps came from
(current-time) it was not human readable so I had to format-time-string
those. But then I have to be able to sort on this formatted string. So I
choose to format those timestamps with "%F %T" to be able to sort
lexicographically (or maybe I could have parse them back)… and at this
point, it feels like your fighting the system.
--
Manuel Giraud
- Re: [External] : [emacs bookmark.el] Sorting by last set, (continued)
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/24
- Re: [External] : [emacs bookmark.el] Sorting by last set, Lars Ingebrigtsen, 2022/05/24
- Re: [External] : [emacs bookmark.el] Sorting by last set, Karl Fogel, 2022/05/24
- RE: [External] : [emacs bookmark.el] Sorting by last set, Drew Adams, 2022/05/25
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/25
- RE: [External] : [emacs bookmark.el] Sorting by last set, Drew Adams, 2022/05/25
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/25
- RE: [External] : [emacs bookmark.el] Sorting by last set, Drew Adams, 2022/05/25
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/25
- RE: [External] : [emacs bookmark.el] Sorting by last set, Drew Adams, 2022/05/25
- Re: [External] : [emacs bookmark.el] Sorting by last set,
Manuel Giraud <=
- Re: [External] : [emacs bookmark.el] Sorting by last set, Karl Fogel, 2022/05/26
- Re: [External] : [emacs bookmark.el] Sorting by last set, Lars Ingebrigtsen, 2022/05/26
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/26
- Re: [External] : [emacs bookmark.el] Sorting by last set, Stefan Monnier, 2022/05/26
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/26
- Re: [External] : [emacs bookmark.el] Sorting by last set, Lars Ingebrigtsen, 2022/05/27
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/27
- Re: [External] : [emacs bookmark.el] Sorting by last set, Lars Ingebrigtsen, 2022/05/27
- Re: [External] : [emacs bookmark.el] Sorting by last set, Manuel Giraud, 2022/05/27
- Re: [External] : [emacs bookmark.el] Sorting by last set, Lars Ingebrigtsen, 2022/05/28