Adam Porter
e91ebf1789
Change: (ement-room-view-event) Include local slot
2022-04-09 13:15:01 -05:00
Adam Porter
e941816bc7
Add/Change: --events-equal-p and --event-replaces-p, and use
...
In (ement-room-defevent "m.reaction") and (ement-room-defevent "m.typing").
2022-04-09 12:36:04 -05:00
Adam Porter
5ca29de7ba
Fix: (ement-room--format-message) Edited message bodies
2022-04-09 12:36:04 -05:00
Adam Porter
1481714f9e
Fix: (ement-room-mark-read) Interactive spec
2022-04-07 10:59:25 -05:00
Adam Porter
f778c4cbc7
Change/Fix: (ement--process-event, ement-room--handle-events) Demote errors
...
It seems that various types of events may be accepted and forwarded by
servers despite being malformed. We don't want any malformed event to
prevent other events from being processed, or to prevent further
syncing. So we demote all errors encountered while running event
handlers. Ement's users seem attentive, so it's likely that they will
still report any that they encounter regularly, even though they'll
only be reported as messages.
Closes #61 . Thanks to @jfmcbrayer for reporting.
2022-04-07 10:57:29 -05:00
Adam Porter
95262e8571
Change: (ement-room-mark-read) Ensure proper major mode
...
See #59 .
2022-04-04 04:22:55 -05:00
Adam Porter
5fa7b8fa1d
Tidy: (declare-function ement--format-room)
2022-03-29 10:53:09 -05:00
Adam Porter
789da61000
Fix: (ement-room-leave) Use --format-room
2022-03-29 08:37:19 -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
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
03eea1570f
WIP: (ement-room-scroll-up-mark-read) ement-taxy-room-list-mode
2022-03-29 03:38:01 -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
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
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
4815852067
Add: Handle left rooms
2022-03-24 17:21:53 -05:00
Adam Porter
c951737dc8
Fix: (ement-room--format-member-event) displayname for kick events
2021-10-07 11:07:06 -05:00
Adam Porter
1f499bed6b
Change/Fix: Include timestamp in transaction IDs
...
Fixes #36 .
2021-10-05 08:55:30 -05:00
Adam Porter
4751455be8
Tidy: Comment
2021-09-28 02:43:16 -05:00
Adam Porter
3c14f6c4c1
Change/Fix: (ement-room-goto-prev/next)
2021-09-24 10:51:52 +00:00
Adam Porter
3d1ba813e1
Add: (ement-room-mode) Warn in mode line when not syncing
2021-09-24 10:24:23 +00:00
Adam Porter
72dd3e5556
Tidy: ement-room.el
2021-09-20 05:13:50 +00:00
Adam Porter
5e5a37fa29
Tidy: ement-room.el
2021-09-20 04:42:02 +00:00
Adam Porter
6d772ec704
Merge: Fill timeline gaps
...
Up to 1,000 events. Beyond that, a gap will remain, but maybe we can
improve that later.
2021-09-18 17:19:10 -05:00
Adam Porter
f8473134de
Comment: FIXMEs
2021-09-18 17:18:52 -05:00
Adam Porter
5561c5659f
Add: (ement-room-join) Verify room ID/alias format
2021-09-16 14:18:53 +00:00
Adam Porter
f97728e8ab
WIP: Compare chunk size against batch-size
...
This seems like the most reliable way to determine whether we are
finished filling (if the chunk is smaller than the batch-size, there
must be no more events). It seems like comparing the tokens ought to
work, but it doesn't seem to (maybe something in the spec I don't
grok).
2021-09-14 17:09:54 +00:00
Adam Porter
ad8766ef10
WIP: Fill timeline gaps
2021-09-14 14:59:41 +00:00
Adam Porter
b3ea51ad24
Comment: Add TODO
2021-09-14 14:55:32 +00:00
Adam Porter
11fa18b36e
Comment: Add FIXME
2021-09-14 12:16:01 +00:00
Adam Porter
468aa9b052
Fix: (ement-room-read-string) Set completion-at-point-functions
...
These must be explicitly set in the minibuffer, and only locally,
because the minibuffer is not inheriting them from the buffer that was
current when read-from-minibuffer was called.
2021-09-08 05:36:05 -05:00
Adam Porter
12cba70ff1
Fix: (ement-room--add-member-face)
2021-09-04 00:40:44 -05:00
Adam Porter
0a01ccebd7
Fix: (ement-room--format-member-event) kick/ban messages
2021-09-03 23:59:13 -05:00
Adam Porter
b18a121a79
Fix: (ement-room-send-event-callback) Update warning message
...
Fixes #36 . Thanks to @polaris64 for reporting.
2021-09-01 19:21:20 -05:00
Adam Porter
8b56a0ddf0
Change: Swap read/fully-read faces
...
The fully-read one should be more prominent by default.
2021-08-28 18:55:23 -05:00
Adam Porter
4d1aae80e0
Add: Send read receipts
...
Optionally, of course, but enabled by default, since most users
probably expect that.
2021-08-28 18:39:06 -05:00
Adam Porter
da6b222c1c
Change: (ement-room-go-to-read-marker) Set window-start
2021-08-28 17:37:13 -05:00
Adam Porter
2d77516276
Tidy: (ement-room-go-to-read-marker)
2021-08-28 17:37:06 -05:00
Adam Porter
19abf8363a
Fix: (ement-room--buffer) Set room's buffer slot before returning
...
Fixes #34 . Thanks to @akater for reporting.
2021-08-26 20:58:47 -05:00
Adam Porter
e989a449b6
Fix: (ement-room-mode) Set completion-at-point-functions locally
...
Thanks to @akagi:matrix.org for reporting.
2021-08-26 12:15:31 -05:00
Adam Porter
c4fff828a5
Change: (defface ement-room-membership) Smaller by default
...
This way, e.g. in IRC rooms with many membership messages, it's easier
to focus on non-membership events.
2021-08-24 23:21:41 -05:00
Adam Porter
35de360618
Fix: (ement-room--format-member-event) Leave events w/o old state
...
It seems that leave events may not always have previous membership
state.
2021-08-24 21:44:32 -05:00
Adam Porter
e7bc73e84a
Change: (ement-room--format-member-event) Improve name change events
...
Show old and new names, etc.
2021-08-24 21:43:04 -05:00
Adam Porter
c3c1387ec8
Fix: (ement-room--direct-p) Invited rooms
2021-08-24 19:25:28 -05:00
Adam Porter
6a53c2a3d2
Tidy: (ement-room--m.image-callback)
2021-08-24 00:50:41 -05:00
Adam Porter
4c609c2ef3
Tidy: (ement-room--format-member-event)
2021-08-24 00:37:34 -05:00
Adam Porter
bac2a306fd
Tidy: (ement-room--format-member-event) Use pcase more
2021-08-24 00:27:47 -05:00