Adam Porter
a4cfe9225e
WIP: Adding rooms to spaces
...
A lot of code has to be written to determine rooms' "routing"
according to the spec.
2022-04-15 16:54:21 -05:00
Adam Porter
2e36b51a2c
WIP: (ement-taxy) Add and bind commands
...
NOTE: This requires taxy-magit-section 0.10 (not yet released).
2022-04-15 16:54:11 -05:00
Adam Porter
45b7882c8a
Add: (ement-notify--notifications-notify) Show room avatars
2022-04-15 16:25:58 -05:00
Adam Porter
4ad7e03112
Fix: (ement-room-mwheel-scroll) Use window-start
...
It seems that `mwheel-scroll' no longer signals an error at
beginning-of-buffer, so to detect whether that is the case, we'll have
to compare window-start.
2022-04-15 16:25:53 -05:00
Adam Porter
8e9031b368
Change: Require Emacs 27.1+
...
I'm not even testing it on Emacs 26.3 anymore, and this will let me
eliminate the last byte-compilation warning.
2022-04-15 10:33:15 -05:00
Adam Porter
2e072efd5c
Tidy: (ement-put-account-data)
2022-04-15 10:30:13 -05:00
Adam Porter
8430e1c813
Add/Change: (ement-complete-room) Complete in room list buffers
...
And use keyword args.
2022-04-15 10:30:13 -05:00
Adam Porter
163d26243e
Fix: (ement-room--buffer) Invited rooms
...
Changed the slot used to track status.
2022-04-15 09:43:01 -05:00
Adam Porter
97ad5fe226
Add: (ement-taxy) Generated avatars using svg-lib
...
Thanks to @rougier for his great work on svg-lib.el!
2022-04-14 16:08:21 -05:00
Adam Porter
cf55d472f2
Fix: (ement-taxy-default-keys) Invited rooms
...
These need to be in a "chain" of Taxys so they are in an exclusive,
top-level group for proper group sorting.
2022-04-14 15:36:21 -05:00
Adam Porter
18a4550bd1
Fix: (ement-taxy-room-list) Sorting of left and invited room groups
2022-04-14 03:04:03 -05:00
Adam Porter
f46f4a222e
Fix: (ement-room--format-message-body) Format of m.replace messages
2022-04-14 02:56:22 -05:00
Adam Porter
4692961c64
Add/Change: (ement-taxy) Various additions and improvements
2022-04-13 11:03:21 -05:00
Adam Porter
812efe8cf6
Change: (ement-taxy) Faces for group headers
...
To match the faces of the rooms they match.
2022-04-13 10:53:02 -05:00
Adam Porter
f39cf31d21
Change: (ement-room-scroll-up-mark-read) Keep rooms window visible
...
...when it's already visible. This is useful when the rooms list is
in a side window.
2022-04-13 10:50:41 -05:00
Adam Porter
b956d368ff
Add: (ement-ignore-user)
2022-04-12 09:37:15 -05:00
Adam Porter
0711a12abf
Change: (ement-put-account-data) Add THEN argument
2022-04-12 09:35:30 -05:00
Adam Porter
be412426e4
Fix: (ement-room-images) Only warn on image-capable display
2022-04-11 06:59:21 -05:00
Adam Porter
3519799199
Meta: Upgrade makem.sh
2022-04-11 06:51:47 -05:00
Adam Porter
2a63e83192
Tidy: (ement-room--org-html-src-block) Use string-trim
...
Instead of org-trim.
2022-04-11 06:51:30 -05:00
Adam Porter
2fda057516
Tidy: Rename ement-room--handle-event(s) to --process-event(s)
2022-04-11 06:20:09 -05:00
Adam Porter
daa4ab8c1d
Tidy: (ement-taxy) Prefix key functions with "key"
...
For clarity, and to avoid conflict with upcoming commands.
2022-04-11 06:14:32 -05:00
Adam Porter
816591cc77
Change: (ement-taxy-default-keys) Group invited rooms first
2022-04-11 06:14:20 -05:00
Adam Porter
5ce88056e8
Tidy: (ement-taxy-room-list) Macrolet for taxy-sort* calls
2022-04-11 06:13:37 -05:00
Adam Porter
8c9d440f0c
Fix: (ement-taxy-room-list) Go to previous section by ident
...
Not sure if this will work correctly as-is; might need to use
magit-section-ident-value.
2022-04-11 06:12:46 -05:00
Adam Porter
f4ecf1b4aa
Fix: (ement-taxy-define-column "Topic") Remove newlines
...
Newlines in topics (some rooms have them, and there's an MSC about
expanding topics further) should not be displayed in the room list.
2022-04-10 08:09:03 -05:00
Adam Porter
61e6fc4584
Fix: (ement-taxy-define-column "Name") Use status, and face for left rooms
2022-04-09 18:05:11 -05:00
Adam Porter
2c5bf38d79
Tidy: declare-function
2022-04-09 17:19:58 -05:00
Adam Porter
2b191be1c1
Add: (ement-tag-room) command
2022-04-09 17:19:58 -05:00
Adam Porter
30dcb1ec25
Change: (ement-api) Allow version to be specified
...
Apparently the endpoints in the spec can have different versions.
2022-04-09 17:19:58 -05:00
Adam Porter
167f1030d4
Add: Favorite/low-priority room faces and sorting
2022-04-09 17:19:58 -05:00
Adam Porter
b5950af856
Change/Fix: (ement--push-joined-room-events) Save all types of account-data events
2022-04-09 14:01:18 -05:00
Adam Porter
c7c7d98d16
Change/Fix: (ement-room--buffer) Process state/timeline events chronologically
2022-04-09 13:17:09 -05:00
Adam Porter
755e62db11
Fix: (ement-room-defevent "m.reaction") Find correct event
2022-04-09 13:15:32 -05:00
Adam Porter
e91ebf1789
Change: (ement-room-view-event) Include local slot
2022-04-09 13:15:01 -05:00
Adam Porter
2c543f72fd
Comment: Add FIXME
2022-04-09 12:36:04 -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
b41ed9234f
Change/Fix: (ement--push-invite-room-events) Process like joined rooms
2022-04-09 10:38:46 -05:00
Adam Porter
411a9ea83d
Fix: (ement-taxy-define-column "Topic") Invited rooms
2022-04-09 10:25:51 -05:00
Adam Porter
9fb01ea55c
Change: (ement-taxy-room-list) Sort invited rooms first
2022-04-09 10:25:51 -05:00
Adam Porter
c82d3bdddd
Fix: (ement-taxy-room-list) Invited rooms have no latest timestamp
2022-04-09 10:25:51 -05:00
Adam Porter
0a4e1f45ae
Change/Fix: (ement--push-invite-room-events) Set room status also
2022-04-09 10:25:51 -05:00
Adam Porter
d33c757de5
Change: (ement--format-room) Add topic
...
Helps to distinguish, especially for rooms without canonical aliases.
2022-04-08 11:59:02 -05:00
Adam Porter
e189c3e7cd
Add/Fix: (ement--link-children) Link child rooms on initial sync
...
When processing an m.space.child event on initial sync, the child room
may not have been processed yet, so we do this again after initial
sync.
2022-04-08 11:46:33 -05:00
Adam Porter
b561a29b49
Fix: (ement-defevent "m.space.child") Use cl-pushnew
2022-04-08 11:12:40 -05:00
Adam Porter
1481714f9e
Fix: (ement-room-mark-read) Interactive spec
2022-04-07 10:59:25 -05:00
Adam Porter
5a8d689ff5
Fix: (ement-taxy-room-list) window-start
2022-04-07 10:57:29 -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
b582852b73
Fix: (ement--room-unread-p) Rooms with nil timelines
...
Thanks to @edgar.vincent:matrix.org for reporting.
2022-04-07 08:34:29 -05:00