[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use vtable for eww-bookmarks
From: |
Sebastián Monía |
Subject: |
Re: [PATCH] Use vtable for eww-bookmarks |
Date: |
Wed, 06 Nov 2024 08:36:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Sebastián Monía <sebastian@sebasmonia.com>
>> Cc: Jim Porter <jporterbugs@gmail.com>
>> Date: Tue, 05 Nov 2024 17:53:44 -0500
>>
>> The attached patch is a first attempt at bringing eww-bookmarks in line
>> with the previous switch of eww-buffer-list to vtable.
>>
>> There are features of eww-bookmarks I had no idea about, like the
>> ability to re-arrange them by killing and yaking. Or navigating to the
>> next bookmark from an eww buffer or invoking the command via M-x.
>
> I didn't try that, but if it changes the UI and UX, we need to think
> hard whether we want to surprise users with such changes. What's the
> rationale and the motivation for this?
We decided a few weeks ago that to support reverting, the existing
'eww-list-buffers' command could be implemented using a "proper table"
mode. The old code worked by inserting text and adding some properties.
After some conversation we picked vtable for this. The code was marged
recently.
During that work I noticed 'eww-list-bookmarks' also used this artisanal
approach to building the table, and suggested it would be nice to
convert it to vtable, and make it consistent with the new buffer list.
This is the patch that follows on that suggestion.
Regarding UI/UX changes, there isn't much of a difference on how the
table looks. The new one supports sorting though. Although I had to add
a binding to "undo sorting", to support an exising feature of
eww-bookmarks that lets you re-order the list.
eww-bookmarks-old.png
Description: old listing
eww-bookmarks-new.png
Description: new listing
eww-bookmarks-new-sorted.png
Description: new listing, sorted
--
Sebastián Monía
https://site.sebasmonia.com/
- [PATCH] Use vtable for eww-bookmarks, Sebastián Monía, 2024/11/05
- Re: [PATCH] Use vtable for eww-bookmarks, Eli Zaretskii, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks,
Sebastián Monía <=
- Re: [PATCH] Use vtable for eww-bookmarks, Eli Zaretskii, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Visuwesh, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Sebastián Monía, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Sebastián Monía, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Visuwesh, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Visuwesh, 2024/11/06
- Re: [PATCH] Use vtable for eww-bookmarks, Sebastián Monía, 2024/11/20
- Re: [PATCH] Use vtable for eww-bookmarks, Jim Porter, 2024/11/11
Re: [PATCH] Use vtable for eww-bookmarks, Jim Porter, 2024/11/23