Adam Porter
4b7d925bab
Fix: (ement-room--format-member-event) Events with empty displayname
2022-07-13 08:15:46 -05:00
Adam Porter
b0580a964d
Tidy: (ement-room--format-member-event)
...
Lispy sometimes makes this unnecessary change.
2022-07-13 08:15:05 -05:00
Adam Porter
6f2162a6f1
Change: (ement--prism-color) Use frame--current-backround-mode
...
Thanks to @tsdh for suggesting.
2022-07-11 11:06:57 -05:00
Adam Porter
acdb429c2c
Comment: Update FIXME
2022-07-11 08:53:32 -05:00
Adam Porter
eae3da5e45
Fix: (ement--prism-color) TTY frames
...
Fixes #80 . Thanks to Tassilo Horn (@tsdh) for reporting.
2022-07-11 08:35:43 -05:00
Adam Porter
02015eacf6
Change: (ement-room-avatars) Default to value from display-images-p
...
Thanks to Tassilo Horn (@tsdh) for suggesting.
2022-07-10 07:45:42 -05:00
Adam Porter
0b587685fb
Fix: (ement-room-list--timestamp-colors) Background on TTYs
...
Fixes #79 . See also 0541916b61
, #34 ,
and #73 .
Thanks to Tassilo Horn (@tsdh) for reporting.
2022-07-09 09:26:18 -05:00
Adam Porter
2b4ee52e67
Change: Make membership event type bold
...
Makes each type of event easier to find in long lists of membership
events.
2022-07-06 10:53:03 -05:00
Adam Porter
918d1d9d43
Fix: (ement-room-flush-colors) Don't refresh notification buffer
2022-07-02 11:26:01 -05:00
Adam Porter
ecea501f2d
Docs: Mention drag-and-drop
2022-07-01 08:57:20 -05:00
Adam Porter
34acb9df1c
Change: (ement-taxy-room-avatar-cache) Make buffer-local
...
On the rare occasion that the ement-taxy buffer is opened before room
avatars have been fetched, the generated avatars would fill the cache,
and the downloaded ones would never be shown. Now, killing the buffer
will discard the cache (which is a good idea, anyway, otherwise it
becomes almost like a memory leak).
2022-07-01 08:39:54 -05:00
Adam Porter
9cd7b2f192
Change/Fix: (ement-taxy) Bookmark support
2022-07-01 06:34:58 -05:00
Adam Porter
978bff1771
Add: (ement-notify) Bookmark support
2022-07-01 06:34:14 -05:00
Visuwesh
1a97b597dc
Add: Upload file by dragging them
...
* ement-room.el (ement-room-dnd-upload-file): Add.
(ement-room-mode): Register dnd function to upload file when dragging
them to an Emacs frame.
2022-07-01 03:25:40 -05:00
Adam Porter
5d03a7dd70
Improve: %W formatting
2022-06-30 11:28:41 -05:00
Adam Porter
6f9bd70b79
Add: %W wrap-prefix message formatter
...
And use it in ement-notify, etc. This seems to strike a nice balance
between readability and efficient use of space, especially in the
notifications buffer.
2022-06-30 11:07:43 -05:00
Adam Porter
7edb0e7883
Fix: (ement-describe-room) Rooms without avatars
2022-06-29 22:44:11 -05:00
Adam Porter
5878361df0
Change: (ement-taxy) Highlight highlight count, not notification
...
The highlight count should stand out more, and in themes like
doom-solarized and the modus-themes, the mention face doesn't stand
out while the highlight one does, so now we use the highlight face for
highlights (which represent mentions or keywords).
2022-06-29 22:42:55 -05:00
Adam Porter
a5c96bd682
Change: (ement-notify--room-background-color) Improve, cache
...
Also update (ement-room-flush-colors) to flush these cached colors.
2022-06-27 16:29:39 -05:00
Adam Porter
c5bb6b02e6
Change: (ement-notify--log-to-buffer) Improve spec and face
2022-06-27 16:29:15 -05:00
Adam Porter
0e9db0f1a5
Fix: (ement-notify--log-to-buffer) Name indentation
2022-06-27 16:10:06 -05:00
Adam Porter
cb3e138299
Fix: (ement-notify--log-to-buffer) Inhibit read only
2022-06-27 15:27:04 -05:00
Adam Porter
cef83470b6
Change: (ement-notify) Derived mode for notifications buffer
2022-06-27 03:01:11 -05:00
Adam Porter
2253e97753
Fix: (ement-room--m.image-callback) Workaround rare bug
...
I'm not sure what can cause this. While I've heard a couple of
reports from users, this is the first time it's happened to me. It
might be caused by an earlier error interrupting sync processing,
leaving a room data or buffer in an inconsistent state. Anyway, this
should prevent it from being a problem, while still leaving a way to
potentially learn the cause so it can be truly solved.
2022-06-27 01:01:30 -05:00
Adam Porter
033e155061
Tidy: (ement-room-list) Remove ts requirement
2022-06-25 08:21:38 -05:00
Adam Porter
b1602c6e1d
Tidy: Docstring
2022-06-24 20:58:58 -05:00
Adam Porter
eaca2ae661
Change/Fix: (ement--format-body-mentions) Rewrite
...
Now includes mentions anywhere in the message body, like:
foo: hi
@foo: hi
@foo:matrix.org: hi
@foo and bar: hi
foo: what about @bar
hey foo: how are you?
2022-06-24 19:44:31 -05:00
Adam Porter
7385b5438b
Comment: Add FIXME
2022-06-24 19:24:28 -05:00
Adam Porter
cf66b9d957
Docs: Remove obsolete plz.el installation instructions
...
Since plz.el is now on ELPA.
2022-06-23 02:10:09 -05:00
Adam Porter
a5ea0827d3
Change: Remove ts dependency
...
...since ts is not (yet?) in ELPA, which would prevent Ement from
going into it. Also, this should be slightly more efficient, since we
won't allocate ts structs for these calculations.
2022-06-23 02:08:17 -05:00
Adam Porter
84ac8f9130
Fix: (ement-room--format-member-event) For unset displayname
...
When the user unsets displayname, we use the calculated one.
2022-06-22 21:05:30 -05:00
Adam Porter
53384f20ff
Comment: Add TODO
2022-06-16 23:55:47 -05:00
Adam Porter
f2084e8459
Change: (defface ement-room-mention) :inherit hl-line
...
This should be a better default, because :inverse-video is too much.
2022-06-15 12:17:56 -05:00
Adam Porter
2fadb3ed22
Fix: (ement-room--event-body-face) Lighten/darken depending on theme
2022-06-15 12:01:10 -05:00
Adam Porter
34d3adbdb8
Add: (ement--user-color)
2022-06-15 11:40:19 -05:00
Adam Porter
d03dfe6bbf
Fix: (ement--prism-color) Increase contrast against white/black
...
For some themes, the foreground color doesn't have enough contrast to
effectively increase the contrast of another color toward.
2022-06-15 11:39:19 -05:00
Adam Porter
0c791810b4
Fix: (defevent "m.room.member") Use membership
...
If the user is joined, add it to the tables; otherwise, remove it.
Previously, users who left the room remained in the tables.
2022-06-13 16:00:12 -05:00
Adam Porter
51b6c3a562
Fix: (ement--get-joined-members) Clear members table
...
Since the response should be comprehensive, we should clear the room's
members table, to remove any members who have left the room.
2022-06-13 16:00:00 -05:00
Adam Porter
ec68977299
Add: (ement-room-flush-colors)
2022-06-01 12:15:29 -05:00
Adam Porter
306c1ecfb0
Tidy: Move --format-user and --prism-color into -lib
2022-05-30 06:14:28 -05:00
Adam Porter
41318e2969
Add: (ement-room-describe)
2022-05-30 06:14:28 -05:00
Adam Porter
039c548fd3
Change: (ement-room--format-user) Add session argument
...
Needed to compare given user with local user.
2022-05-30 05:53:32 -05:00
Adam Porter
5b101206ca
Change: (ement-prism-color) Arguments
...
This change isn't yet visible, but it makes more sense and is more
flexible. Also, the TODO is a good idea.
2022-05-30 04:01:12 -05:00
Adam Porter
30b5dfdc5a
Tidy: Typo
2022-05-30 03:43:13 -05:00
Adam Porter
151f9acc22
Change: (ement-taxy-next-unread) Use ement--room-unread-p
2022-05-30 02:16:39 -05:00
Adam Porter
6fd0d563c2
Add: (ement-taxy-side-window)
2022-05-29 11:18:31 -05:00
Adam Porter
de1e4b8e43
Fix: (ement-taxy-room-list) display-buffer-action
2022-05-29 11:18:10 -05:00
Adam Porter
529cca4d61
Change: Move per-room displaynames into room struct
...
This avoids circular data structures (I think this is the only case of
it), which should prevent the infinite-loop/out-of-memory situations
when Emacs prints one in an error or backtrace and print-circle is
nil.
Fixes #41 .
2022-05-29 10:47:39 -05:00
Adam Porter
a0d97faf28
Fix: (ement--sync)
2022-05-27 20:24:40 -05:00
Adam Porter
212a9c9f41
Change: (ement--sync) Retry for 502 errors
...
e.g. matrix.org's Cloudflare gateway occasionally returns 502, which
should be safe to retry immediately. (Exponential backoff with curl's
retry option could be added to plz in the future.)
2022-05-27 05:34:36 -05:00