Commit graph

505 commits

Author SHA1 Message Date
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
Adam Porter
b9ee9ce948 Fix: (ement-put-account-data) Save echoed-back event 2022-03-25 22:01:18 -05:00
Adam Porter
cab45dd912 Tidy: Docstrings, unused variable 2022-03-25 21:34:24 -05:00
Adam Porter
7eac2306d5 Add: Indicate edited messages 2022-03-25 21:30:09 -05:00
Adam Porter
44580a8a25 Fix: (ement-room--format-m.image) Handle missing URLs
Not sure why this can happen, but occasionally it does (maybe only
while debugging or when other bugs cause incomplete event insertion).
2022-03-25 21:10:20 -05:00
Adam Porter
9d1baf6670 Add: Replace edited events with new content
Previously, edited events were shown as new events.
2022-03-25 20:36:22 -05:00
Adam Porter
62a5d4a2d1 Add: (ement-forget-room) 2022-03-24 17:24:06 -05:00
Adam Porter
4815852067 Add: Handle left rooms 2022-03-24 17:21:53 -05:00
Adam Porter
cd8ce41bfe Fix: (ement-complete-room) 2022-03-24 17:20:49 -05:00
Adam Porter
faea87f7ab Comment: Add TODO 2022-03-24 15:59:12 -05:00
Adam Porter
f20d420b70 Change: (ement-complete-session) Suggest current buffer's room 2022-03-22 18:15:33 -05:00
Adam Porter
b09e8ca95e Add: (ement-invite, ement-create-room, ement-put-account-data) 2022-03-22 18:15:33 -05:00