Commit graph

716 commits

Author SHA1 Message Date
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
Adam Porter
440f4d6957 Fix: Use eval-and-compile for taxy-define-key-definer
I guess this is always needed; should document that in taxy.el.
2022-03-26 20:58:48 -05:00
Adam Porter
eab18ae575 WIP: Updates, additions 2022-03-26 20:23:31 -05:00
Adam Porter
46a2ecfe5f WIP: It works! 2022-03-26 20:23:31 -05:00
Adam Porter
ad2cf10ad6 WIP: ement-taxy.el 2022-03-26 20:23:31 -05:00
Adam Porter
0c0be3a934 Fix: (ement-create-room) Don't set direct flag here
Only do it in -send-direct-message.  (Also the code here was old and
wrong.)
2022-03-26 03:12:56 -05:00
Adam Porter
15b8f68ccc Tidy: (ement-send-direct-message) Use cl-find
According to benchmarking, it's actually slightly faster (though it
doesn't matter here).
2022-03-26 02:56:28 -05:00
Adam Porter
96a2331a1d Fix: (ement-room-list--entry) Face for left direct rooms 2022-03-26 01:24:32 -05:00
Adam Porter
dcc500af73 Add: (ement-complete-user-id) Suggest user at point 2022-03-26 01:22:05 -05:00
Adam Porter
8a889aa7f6 Change/Fix: (ement-complete-room, ement-view-room) Suggesting room
Don't suggest the current room when switching between room buffers, as
that requires the user to clear the input before completing another
room.
2022-03-25 23:35:25 -05:00
Adam Porter
713efc0d59 Fix: (ement-room-mark-read)
Fixes #59.  Thanks to @fleimgruber for reporting.
2022-03-25 23:33:02 -05:00
Adam Porter
7246d03d24 Add: (ement-send-direct-message) 2022-03-25 23:04:01 -05:00
Adam Porter
44e64a0ac8 Fix: (ement--direct-room-for-user)
This seems more complicated than it ought to be.
2022-03-25 23:01:29 -05:00
Adam Porter
8c7030a95d Change: Remove debug message
This shouldn't be needed anymore, and it can interfere with feedback
from the new send-direct-message command.
2022-03-25 22:59:19 -05:00
Adam Porter
d5bca9e00d Fix: (ement-put-account-data) PUT request
Silly mistake.
2022-03-25 22:13:12 -05:00