Commit graph

54 commits

Author SHA1 Message Date
Adam Porter
bdc69bb20b Fix: (ement-room-list--entry)
Oops.
2022-09-21 13:52:03 -05:00
Adam Porter
e046f66ba2 Fix: (ement-room-list--entry) When room avatar image fails to load
Thanks to @trevdev:matrix.org for reporting.
2022-09-21 13:18:20 -05:00
Adam Porter
7f3756359b Fix: (ement-room-list-avatars) Use display-images-p
This is more correct than checking display-graphic-p.
2022-09-08 10:31:31 -05:00
Adam Porter
fcbf1a55e8 Release: 0.1 2022-09-02 07:44:17 -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
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
033e155061 Tidy: (ement-room-list) Remove ts requirement 2022-06-25 08:21:38 -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
0541916b61 Fix: (ement-room-list--timestamp-colors) Workaround for TTY sessions
See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55623>.

Closes #34.  Closes #73.
2022-05-27 01:12:03 -05:00
Adam Porter
bc439ec2c9 Refactor: Move much code into new ement-lib.el file
This simplifies relations between files and avoids circular
dependencies.  package-lint may complain about symbol names in the new
file, but that's okay.
2022-05-12 12:56:08 -05:00
Adam Porter
85ee94cbf3 Add/Change: (defface ement-room-list-very-recent) et al. 2022-04-20 13:00:23 -05:00
Adam Porter
167f1030d4 Add: Favorite/low-priority room faces and sorting 2022-04-09 17:19:58 -05:00
Adam Porter
01ccce2c64 Fix: (defface ement-room-list-direct) :inherit attribute 2022-03-29 23:17:27 -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
4815852067 Add: Handle left rooms 2022-03-24 17:21:53 -05:00
Adam Porter
ce8ee9b5b4 Fix: (defface ement-room-list-direct) Normal weight 2022-03-17 07:33:03 -05:00
Adam Porter
951f17a3cd Fix: (ement-room-list--set-entries) Use 0 if room has no latest ts 2021-09-30 06:26:53 -05:00
Adam Porter
291048be93 Change: (ement-room-list) Right-align timestamps 2021-09-30 04:28:54 -05:00
Adam Porter
d04c894bf9 Change: (ement-room-list--set-entries) Pre-sort by latest event 2021-09-29 05:38:42 -05:00
Adam Porter
03ccbed817 Add: (ement-room-list-simplify-timestamps) 2021-09-24 10:24:23 +00:00
Adam Porter
8e32a2c425 Comment: Removed fixed FIXME 2021-09-06 03:24:21 -05:00
Adam Porter
c2352cb339 Add: (room-list) Recency faces for timestamps 2021-08-24 23:00:30 -05:00
Adam Porter
b8045c997f Add/Change: Room list faces 2021-08-24 22:08:24 -05:00
Adam Porter
b94a52ddc2 Fix: (room-list) Sort invited rooms first (in Latest column)
Also remove obsolete warning about ts library (should be good now),
which was giving false warnings about invited rooms.
2021-08-24 19:54:53 -05:00
Adam Porter
eb4197244b Add: Multi-session support 2021-08-23 19:16:59 -05:00
Adam Porter
7903c807fe Add: Invited rooms
i.e. rooms to which the user has been invited, not sending
invitations (a separate feature).
2021-08-23 19:08:53 -05:00
Adam Porter
b361fcccc0 Change: (ement-room-list) Downcase "Direct" column 2021-08-23 16:43:11 -05:00
Adam Porter
836d8a222b Add: (ement-room-list) Bold face for unread rooms 2021-08-10 22:00:35 -05:00
Adam Porter
7a89dcdeb4 Add: Commands and bindings to switch to special buffers 2021-08-10 18:18:25 -05:00
Adam Porter
6965e7cf3a Tidy: Mode name strings 2021-08-06 11:24:58 -05:00
Adam Porter
33cb19fe7a Tidy: (ement-room-list-mode) Name string 2021-08-06 10:54:58 -05:00
Adam Porter
4d184ecbac Change: (ement-room-list-next-unread) Message if no unread rooms 2021-08-05 07:21:48 -05:00
Adam Porter
d699de7666 Add: Room avatars 2021-08-05 06:18:05 -05:00
Adam Porter
0072a855c4 Fix: (ement-room-list-action) Use ement-view-room 2021-08-01 01:05:14 -05:00
Adam Porter
dbcf7576e1 Fix: (ement-room-list-action) Use opened buffers
Thanks to @treed for reporting.
2021-08-01 00:47:40 -05:00
Adam Porter
ba9eb3f0e5 Fix: (ement-room-list-auto-update) Autoload
Since it's in ement-sync-callback-hook.
2021-07-30 01:30:30 -05:00
Adam Porter
06f962b587 Add: (ement-room-list--entry) help-echo for U and B columns 2021-07-29 21:04:15 -05:00
Adam Porter
2703f5c0ef Fix: (ement-room-list--entry) Workaround bug in ts
ts-human-format-duration returned empty string for durations <1
second.  ts-0.2.1 contains the fix, and 0.3-pre does too, but users
will need to upgrade the library, so we tell them.
2021-07-29 21:02:48 -05:00
Adam Porter
1574ddf915 Add: (defevent "m.room.topic")
Updates room topic for event.
2021-07-29 05:47:07 -05:00
Adam Porter
b50ce53106 Change: (ement-room-list--entry) Message instead of warning
It's happening more than I realized, but it seems like a transient
error, because the formatted timestamp seems to appear with the next
sync.  So let's not pop up a warning; a message is enough.
2021-07-29 05:27:41 -05:00
Adam Porter
a5f2d08e41 Add: (ement-room-list) Buffer column 2021-07-29 04:44:40 -05:00
Adam Porter
d56c1bb4ec Add: Auto-update room list buffer 2021-07-29 04:35:21 -05:00
Adam Porter
fd1cd6f26b Add: Cycle and scroll through unread buffers with SPC 2021-07-29 04:13:57 -05:00
Adam Porter
200e38df36 Change: Use new-events list in room local slot
And push new events directly to timeline slot.  This makes more sense.
2021-07-29 02:07:58 -05:00
Adam Porter
41140995b7 Change: Move room-display-name function to ement-room
Seems to make sense.
2021-07-29 01:01:40 -05:00
Adam Porter
1b851add7b Change: (ement-room-list--entry) Warn for invalid timestamp
Try to detect and workaround a weird problem that @akater has been
encountering.
2021-07-29 00:22:12 -05:00
Adam Porter
1bebb8f02f Add: (ement-room-list) Direct column 2021-07-29 00:22:04 -05:00
Adam Porter
fc3579a21b Add: (ement-room-list) Member count 2021-07-28 20:12:12 -05:00
Adam Porter
6f2a2f2e45 Tidy: Headers for package-lint
Even though these aren't packages, the way we call package-lint on
each file causes warnings for missing keywords.
2021-07-27 21:50:05 -05:00
Adam Porter
c5e83b76d7 Add: Emacs bookmark support
Room buffers and the room list buffer can be bookmarked.

Especially useful with Burly: <https://github.com/alphapapa/burly.el>.
2021-07-25 23:21:54 -05:00