Commit graph

750 commits

Author SHA1 Message Date
Adam Porter
54c9b0a89b Meta: Add .elpaignore 2022-09-02 07:44:17 -05:00
Adam Porter
d1fceb149e Tidy: Docstrings, comment 2022-09-01 23:10:28 -05:00
Adam Porter
74a8be013d Fix: (ement-room-list-avatars) Default to (display-graphic-p)
Fixes #85.  Thanks to @jfmcbrayer for reporting.
2022-09-01 03:57:41 -05:00
Adam Porter
d36f70671c Change: (ement-room-sync) Also update room list buffers 2022-09-01 03:49:48 -05:00
Adam Porter
4ec2107e6a Change: (ement-room-retro) More idiomatic prefix usage, message 2022-09-01 02:58:19 -05:00
Adam Porter
9d3c82582c Change: (ement-taxy-next-unread) Go to unread marker
Closes #88.  Thanks to @ericsfraga for suggesting.
2022-09-01 02:58:04 -05:00
Adam Porter
f361abebc1 Add: (ement-view-room-display-buffer-action) etc.
i.e. (ement-auto-view-room-display-buffer-action), and use
in (ement-room-view).
2022-09-01 02:40:09 -05:00
Adam Porter
c402ee4931 Add: (ement-disconnect-hook, ement-kill-buffers) 2022-09-01 02:37:47 -05:00
Adam Porter
2626e37b82 Comment: Add TODO 2022-08-15 12:05:25 -05:00
Adam Porter
c3a56284b5 Fix: (ement-room--format-reactions) Composed Unicode variations 2022-08-05 15:48:08 -05:00
Adam Porter
df2110da6f Fix: (ement-room--buffer) Sender headers
Oops, they were being inserted unconditionally in new room buffers.
2022-08-05 13:32:53 -05:00
Adam Porter
4fef240e85 Comment: Add FIXME 2022-07-29 13:29:01 -05:00
Adam Porter
95dcf9d56e Fix: (ement-room--insert-sender-headers) Use ewoc-prev
This should be correct, and omitting it must have been an oversight...
2022-07-28 21:08:58 -05:00
Adam Porter
cbdba7b234 Fix: "kicked and banned" event coalescing 2022-07-28 21:08:09 -05:00
Adam Porter
481f571a2f Change/Fix: Improve "Elemental" display format
This still isn't quite perfect, but it seems to be about 99% so, and a
significant improvement.
2022-07-21 10:38:06 -05:00
Adam Porter
aaba533c95 Fix: (ement-room) browse-url-handlers in Emacs < 28.1
Thanks to @gearoid1:matrix.org for reporting.
2022-07-19 08:09:37 -05:00
Adam Porter
fd46ea2b8b Change/Fix: Highlight "@room" mentions 2022-07-18 12:52:20 -05:00
Adam Porter
919991acef Tidy: Compilation warning 2022-07-18 12:50:16 -05:00
Adam Porter
1eeb0a2c33 Comment: Add 2022-07-18 11:15:37 -05:00
Adam Porter
c54c86b4ff Add: Queue image downloads 2022-07-15 15:13:59 -05:00
Adam Porter
018591e1a2 Change: (ement-api) Add :queue 2022-07-15 15:13:59 -05:00
Adam Porter
5c02bc0876 Fix: (ement-room--buffer) Header for encrypted rooms
Need to check both state and invite-state.
2022-07-15 13:38:06 -05:00
Adam Porter
0eec00733b Fix: (ement-room--format-message)
Fixes #81 (which only happens on an unreleased Emacs version).  Thanks
to Tassilo Horn (@tsdh) for reporting and debugging.
2022-07-13 10:05:55 -05:00
Adam Porter
5e66aa244d Tidy: (ement-room--format-message)
Also improve error message.
2022-07-13 09:06:28 -05:00
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