Adam Porter
baabfeb61b
Change: (defface ement-room-timestamp-header) :height 1.1
2021-07-04 16:34:17 -05:00
Adam Porter
41d45b93b5
Change: (defface ement-room-self) Inherit ement-room-user
2021-07-04 16:24:26 -05:00
Adam Porter
f1a35869ff
Add/Change: (define-widget ement-room-membership) Event as value
...
The Widget library is still mysterious to me, but some trial-and-error
helps. This makes the ement-room-membership widget's value the Matrix
event struct, and it uses a :value-create function to insert the
string.
This pattern can probably be used for other widgets in the future,
e.g. for event type-specific widgets.
2021-07-04 14:57:10 -05:00
Adam Porter
3dd0c7c7af
Add: (ement-room--format-event) Tooltip for unhandled event types
2021-07-04 14:56:34 -05:00
Adam Porter
50b9492715
Change: (ement-room--format-message) Handle empty specs better
...
Rather than erroring, insert a message into the buffer, with a tooltip
showing the raw event.
2021-07-04 14:56:10 -05:00
Adam Porter
2e14c1c9f2
Add: Show date in timestamp header where it changes between messages
2021-07-04 14:56:10 -05:00
Adam Porter
86221bda9d
Fix: (ement-room--insert-ts-headers) Don't skip events
...
It was only comparing pairs of events, stepping by two instead of one.
2021-07-04 14:56:10 -05:00
Adam Porter
3c52ee0412
Debug: (ement-room--insert-ts-headers) Add debug function
2021-07-04 14:56:10 -05:00
Adam Porter
e862ea3dca
Tidy: (ement-room--insert-ts-headers)
2021-07-04 13:47:35 -05:00
Adam Porter
3ec21db7b6
Tidy: (ement-room--format-user)
2021-07-04 12:38:28 -05:00
Adam Porter
d0fd9c2bda
Change: (defface ement-room-user) Add overline and extend
...
Helps to distinguish where senders change, especially when not using
prism mode.
2021-07-04 12:37:29 -05:00
Adam Porter
96a6fd4415
Fix: (ement-room--user-color)
2020-12-19 11:41:23 -06:00
Adam Porter
e9ccdfa85d
Change: Use color functions from modus-themes
...
Thanks to Protesilaos Stavrou (@protesilaos) for this elegant
implementation.
2020-12-11 20:05:08 -06:00
Adam Porter
c302b4ece3
Change: (ement-room-prism) Name-only by default
2020-12-05 16:24:51 -06:00
Adam Porter
1f392c78be
Add: ement-room-prism
...
Squashed commit of the following:
commit 34ad5b4810
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Dec 5 16:23:51 2020 -0600
WIP: Seems to work decently
commit e5edcfc908
Author: Adam Porter <adam@alphapapa.net>
Date: Sat Dec 5 04:18:09 2020 -0600
WIP
2020-12-05 16:24:21 -06:00
Adam Porter
cde2c64815
Comment: Add FIXME
2020-12-04 23:11:53 -06:00
Adam Porter
981dc8b3a8
Add: User ID tooltip on user displaynames
2020-12-04 22:48:39 -06:00
Adam Porter
e8f9f91c61
Tidy: Docstring, args
2020-12-04 19:25:48 -06:00
Adam Porter
8b90f05265
Add: help-echo with full timestamp on message timestamps
2020-12-04 19:16:57 -06:00
Adam Porter
cb3e16143b
Add: -room-retro-messages-number
2020-12-04 19:16:44 -06:00
Adam Porter
c7d19f38a5
Change: Call ement-list-rooms after login
...
Users can disable this by customizing ement-after-login-hook.
2020-12-04 03:26:50 -06:00
Adam Porter
8df425710a
Change: Improve room-switching commands and binds
2020-12-04 03:08:09 -06:00
Adam Porter
062b362066
Add: Timestamp headers
2020-12-04 02:50:08 -06:00
Adam Porter
85840221ce
Fix: Format unknown event types
2020-12-03 20:46:23 -06:00
Adam Porter
267cf40fb8
Change: Remove brackets from timestamp format
2020-12-03 14:46:58 -06:00
Adam Porter
9ebfdc52e3
WIP: More flexible formatting
2020-12-02 22:30:19 -06:00
Adam Porter
95c7d26e05
Fix: Variable names
...
Somehow I changed them in one place but not the other.
2020-12-02 13:09:26 -06:00
Adam Porter
ac3d854b6a
Tidy, rename debug-warn macro
2020-12-01 16:45:40 -06:00
Adam Porter
2315d9cc78
Fix: Scroll commands
2020-12-01 16:45:06 -06:00
Adam Porter
b8a15847d4
Improvements
2020-12-01 05:16:39 -06:00
Adam Porter
c675ede327
Wheel loading
2020-12-01 04:13:21 -06:00
Adam Porter
ab4d16689c
Set debug levels in all files
2020-12-01 03:57:44 -06:00
Adam Porter
9b49bd82a2
Login seems to work
2020-12-01 03:32:54 -06:00
Adam Porter
e6f2f4076e
Tidy, etc.
2020-12-01 02:09:20 -06:00
Adam Porter
ab96fc799d
Tidy
2020-12-01 02:03:32 -06:00
Adam Porter
0f3b098fb6
Improvements
2020-12-01 01:41:14 -06:00
Adam Porter
9b0ab78cee
Render HTML messages
2020-12-01 01:24:18 -06:00
Adam Porter
e3d1429308
Own faces
2020-12-01 00:42:29 -06:00
Adam Porter
73d37fcc97
Next/prev message
2020-12-01 00:34:00 -06:00
Adam Porter
da436bf39e
Loading earlier messages, etc.
2020-12-01 00:28:13 -06:00
Adam Porter
180f3337d5
Nice
2020-11-30 20:17:55 -06:00
Adam Porter
6ad51df206
Things
2020-11-30 20:00:50 -06:00
Adam Porter
c49464ee7b
Things
2020-11-30 19:42:00 -06:00
Adam Porter
13d6af1bf9
Fixes
2020-11-30 19:36:04 -06:00
Adam Porter
aeb96f482a
Send messages!
2020-11-30 18:19:23 -06:00
Adam Porter
9d5073b534
Things
2020-11-30 16:24:41 -06:00
Adam Porter
13a0522240
Fixes and stuff
2020-11-30 16:07:20 -06:00
Adam Porter
ad210b70b6
WIP: Updating rooms
2020-11-30 15:42:58 -06:00
Adam Porter
2d492fd839
Fixes
2020-11-30 13:45:57 -06:00
Adam Porter
7b234d039c
Fix option
2020-11-30 13:28:55 -06:00