Commit graph

530 commits

Author SHA1 Message Date
Adam Porter
25e202cf15 WIP: It almost works, actually, with the associated changes in taxy
The taxy changes will be in its wip/take-nested branch.
2022-03-30 00:44:53 -05:00
Adam Porter
8c1d58aea0 Comment: Add MAYBE 2022-03-29 23:35:09 -05:00
Adam Porter
09553519a5 Change: (ement-taxy-column-Name) Use push instead of setf
Not sure why it seemed that setf didn't work with map-elt before, but
it does, and it should.
2022-03-29 23:20:28 -05:00
Adam Porter
f2d5674874 Change/Fix: (defface ement-room-list-space) 2022-03-29 23:19:41 -05:00
Adam Porter
01ccce2c64 Fix: (defface ement-room-list-direct) :inherit attribute 2022-03-29 23:17:27 -05:00
Adam Porter
1924d1149b Fix: (cl-defstruct ement-room) Receipts hash table test 2022-03-29 23:16:26 -05:00
Adam Porter
01792a98c1 Fix: (ement-taxy) Require 'button 2022-03-29 23:16:11 -05:00
Adam Porter
5971c9b881 Fix: (ement-defevent "m.space.child") Respect "via" field
This correctly adds and removes rooms from spaces.
2022-03-29 23:16:11 -05:00
Adam Porter
26a3dd3c4d Fix: (ement-taxy-key-space) Improve logic 2022-03-29 11:28:49 -05:00
Adam Porter
5fa7b8fa1d Tidy: (declare-function ement--format-room) 2022-03-29 10:53:09 -05:00
Adam Porter
353d970d6a Add: Basic space support
Handles space-creation events, links children to parents, and displays
and groups spaces specially in ement-taxy-room-list.
2022-03-29 10:51:03 -05:00
Adam Porter
c398f2fa63 Change: Rename room struct's type slot to status
Type is an actual thing in spec v1.2, used for spaces.
2022-03-29 10:49:45 -05:00
Adam Porter
8d50b23a1d Fix: (ement-taxy-key-name) Use name or regexp
It wasn't clear that :name was required.
2022-03-29 10:46:46 -05:00
Adam Porter
789da61000 Fix: (ement-room-leave) Use --format-room 2022-03-29 08:37:19 -05:00
Adam Porter
bd138bd139 Fix: (ement-complete-room) Include ID to avoid ambiguity
e.g. the #emacs:matrix.org room moved, and when leaving the old room,
the completion prompt would show two identical strings (maybe even
selecting and leaving the wrong room).
2022-03-29 08:36:24 -05:00
Adam Porter
f1760cbc31 Add: (ement--format-room) 2022-03-29 08:36:05 -05:00
Adam Porter
62da76173d Change: (room-defevent "m.room.tombstone") Improve message 2022-03-29 08:25:30 -05:00
Adam Porter
b4d9b4fe26 Fix: (ement-room--buffer) Set header/footer before events
e.g. tombstone events would set the header while processing events,
which would then be overridden, leaving tombstoned rooms without a
warning.
2022-03-29 08:24:53 -05:00
Adam Porter
29a165225e Change: ement-taxy default column order 2022-03-29 07:43:52 -05:00
Adam Porter
f5e39aeb47 Tidy: (ement-taxy-room-list, name column) 2022-03-29 07:41:47 -05:00
Adam Porter
b4f01cf2e1 Fix: (ement-taxy) Another eval-and-compile 2022-03-29 07:38:26 -05:00
Adam Porter
5023f604de Fix: (ement-create-room)
Somehow I broke this when merging?
2022-03-29 07:36:50 -05:00
Adam Porter
0a42f4b07b Fix: (ement-event) Receipts slot
Somehow left that out of the branch I merged.
2022-03-29 07:34:51 -05:00
Adam Porter
637c43e811 Tidy: (ement--room-unread-p) 2022-03-29 07:32:23 -05:00
Adam Porter
7035d89b7b Merge: ement-taxy-room-list using taxy.el 2022-03-29 07:27:23 -05:00
Adam Porter
38a528062e WIP: (ement--room-unread-p)
This is so complicated, but roughly equivalent to
doesRoomHaveUnreadMessages() from
<7fa01ffb06/src/Unread.ts (L52)>.
2022-03-29 06:45:25 -05:00
Adam Porter
7f61bf283a WIP: Mention face for unread column (badge) 2022-03-29 06:44:51 -05:00
Adam Porter
d70e3a04b3 WIP: Process read receipts
Not much used yet, except for trying to determine whether a room is
unread.
2022-03-29 06:44:17 -05:00
Adam Porter
073e3397ae WIP: Tidy 2022-03-29 03:38:45 -05:00
Adam Porter
a1b1a4a973 WIP: Unread room faces 2022-03-29 03:38:29 -05:00
Adam Porter
03eea1570f WIP: (ement-room-scroll-up-mark-read) ement-taxy-room-list-mode 2022-03-29 03:38:01 -05:00
Adam Porter
9a0740fc39 WIP: Add highlight face to unread, tidy 2022-03-29 03:07:52 -05:00
Adam Porter
e9a8bf6ceb WIP: Add ement-taxy-next-unread 2022-03-29 03:04:15 -05:00
Adam Porter
2cef12cd86 WIP: Ensure sessions are connected 2022-03-29 03:04:04 -05:00
Adam Porter
b200df5cfb WIP: Preserve place in room list 2022-03-29 03:03:51 -05:00
Adam Porter
6f098e2e6d WIP: Fix function name, display-action 2022-03-29 03:02:51 -05:00
Adam Porter
539cfe570b WIP: Buttonize room names 2022-03-29 03:02:00 -05:00
Adam Porter
324b4c725e Add: (ement, ement-taxy) Unread notifications 2022-03-29 01:52:50 -05:00
Adam Porter
5ee6539df2 Tidy: Docstring 2022-03-29 01:50:52 -05:00
Adam Porter
14a61c052e Fix: Function name 2022-03-29 01:50:40 -05:00
Adam Porter
27916af637 Add: (ement-taxy-auto-update) and depend on taxy, taxy-magit-section 2022-03-29 01:16:24 -05:00
Adam Porter
278d265e92 Comment: Tidy 2022-03-29 01:14:20 -05:00
Adam Porter
5b36ff85a0 Change: (ement-taxy-default-keys) 2022-03-29 01:14:20 -05:00
Adam Porter
270a2e0fc3 Change: (ement-taxy-room-list) Rename function, change buffer display 2022-03-29 01:14:20 -05:00
Adam Porter
103fe71c88 Add: (ement-taxy) Bookmark support 2022-03-29 01:14:19 -05:00
Adam Porter
5c4718a72f Add: (ement-taxy-room-avatar-cache) 2022-03-29 00:58:01 -05:00
Adam Porter
3f03c08ecb Change: (ement-taxy) Sort left rooms last 2022-03-29 00:56:45 -05:00
Adam Porter
5ffcc21761 Add: (ement-taxy) Buffer column 2022-03-29 00:54:46 -05:00
Adam Porter
ac7e1cc81d WIP: Put ungrouped rooms first
Otherwise they tend to be overlooked at the bottom.
2022-03-26 20:59:46 -05:00
Adam Porter
5ffeaed509 WIP: Add more columns 2022-03-26 20:59:39 -05:00