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
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
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
fd96491e82
Fix: (ement-room-goto-event)
2022-05-20 16:18:48 -05:00
Adam Porter
4a6b9e21d3
Change/Fix: Sender names when not in margin
...
Thanks to @Wibjarm:matrix.org for reporting.
2022-05-20 15:43:06 -05:00
Adam Porter
d1e4fc2074
Fix: (ement-room--format-member-event) Avatar/displayname changes
2022-05-14 08:30:31 -05:00
Adam Porter
961d650377
Change: (ement-room-set-topic) Use INITIAL-INPUT for read-string
...
...rather than DEFAULT-VALUE, because using DEFAULT-VALUE disallows
setting an empty topic (and the HISTORY argument seems inappropriate,
so contrary to the docstring, the INITIAL-INPUT argument doesn't seem
superseded in all cases).
2022-05-13 18:16:04 -05:00
Adam Porter
7ae7366488
Change/Fix: (ement-room--format-membership-events) Name and avatar
2022-05-13 02:27:04 -05:00
Adam Porter
0d95f4ed19
Change/Fix: --get-joined-members, etc.
2022-05-12 18:14:23 -05:00
Adam Porter
217fe22505
Add/Change: list-members, et al.
...
Add ement-list-members, along with ement--get-joined-members, and use
it in member completion. Also, add ement-singly macro.
2022-05-12 18:14:23 -05:00
Adam Porter
9839b0ed48
Add: (ement-user-message-color) etc.
...
Desaturate and lighten user color for message bodies to make them seem
less harsh.
2022-05-12 12:56:08 -05:00
Adam Porter
a665d68a5a
Change: Include full name in tooltip when truncating names
...
Adds (ement-room--concat-property).
2022-05-12 12:56:08 -05:00
Adam Porter
e50929d52f
Add: (ement-room-wrap-prefix)
2022-05-12 12:56:08 -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
6af03fb433
Fix: Notifications for rooms that have no buffer
...
These two functions can be called by ement-notify functions for rooms
that have no buffer, but these functions expected the rooms to have
buffers.
Thanks to @benoitj for reporting.
2022-05-12 10:33:48 -05:00
Adam Porter
5e4fe25b71
Change: (formatter ?S) Abbreviate long displaynames
2022-05-11 15:09:23 -05:00
Adam Porter
b98843a82d
Change: (ement-room--format-membership-events) Format event in help-echo
2022-05-09 15:48:02 -05:00
Adam Porter
39751e8d70
Fix: (ement-room--format-power-levels-event) Sender displayname
...
Fixes a wrong-type-argument error that could break a room's buffer and
prevent further syncing.
2022-05-09 15:22:38 -05:00
Adam Porter
7abf04dd0e
Fix: (ement-room--format-body-mentions) Regexp
2022-05-09 10:20:07 -05:00
Adam Porter
f233141d8d
Fix: (ement-room-occur) Set revert-buffer-function buffer-locally
2022-05-09 10:18:50 -05:00
Adam Porter
d216e04992
Tidy: Indentation
2022-05-08 12:49:23 -05:00
Adam Porter
63269197ee
Change: (ement-room-transient) Show favourite/low-priority status
2022-05-08 11:09:26 -05:00
Adam Porter
4504530042
Fix: (ement-room-occur) Timestamp headers
2022-05-08 11:01:13 -05:00
Adam Porter
1aa0530739
Tidy: (ement-room-transient) Grouping
2022-05-08 10:57:26 -05:00
Adam Porter
bff54e009b
Add: (ement-room-set-composition-format)
...
Thanks to @treed for suggesting.
2022-05-08 10:51:51 -05:00
Adam Porter
ee26204197
Change: (ement-room-transient) Group name
2022-05-08 10:51:37 -05:00
Adam Porter
8d713ce4c1
Add: Format m.room.power_levels events
2022-05-08 10:31:59 -05:00
Adam Porter
c7928d399f
Fix: (ement-room--format-body-mentions) Regexp
...
Thanks to @benoitj:matrix.org for reporting.
2022-05-08 09:09:27 -05:00
Adam Porter
4b94c46c5c
Change: Rename ement-invite to ement-invite-user
2022-05-07 09:44:16 -05:00
Adam Porter
9b3756c796
Add/Change: Sync bindings with Transient menu, update readme
2022-05-07 09:44:16 -05:00
Adam Porter
078d9db4ef
Fix: (ement-room--format-membership-events) Typo
2022-05-07 07:36:17 -05:00
Adam Porter
9f72b9bf2a
Add: (ement-room-transient) More bindings
2022-05-07 07:36:00 -05:00
Adam Porter
e0247f0d92
Add: (ement-room-transient)
2022-05-06 20:46:27 -05:00
Simon Pugnet
37f16ec1de
Fix: Calls to ement-room-send-message-filter
...
The new ROOM argument was omitted in ement-room-send-emote and
ement-room-edit-message.
Reported-by: Simon Pugnet <simon@polaris64.net>
Modified-by: Adam Porter <adam@alphapapa.net>
2022-05-06 19:26:31 -05:00
Adam Porter
58c30e8508
Change: (ement-room--format-reactions) Highlight locally sent reactions
2022-05-05 17:48:20 -05:00
Adam Porter
0a3869c021
Change: (ement-room-defevent) Instrument with Edebug
...
Very handy, as usual.
2022-05-05 16:54:29 -05:00
Adam Porter
f1a291a15e
Add: (ement-room--format-reactions) Show reaction name in help-echo
2022-05-05 16:54:11 -05:00
Adam Porter
e99baffacb
Change/Fix: Formatting of redacted messages
2022-05-05 16:53:58 -05:00
Adam Porter
84b61941df
Add: (ement-room-toggle-reaction)
2022-05-05 16:52:08 -05:00
Adam Porter
6f4ef97176
Add: (defface ement-room-redacted)
...
And use in ement-room--event-body-face.
2022-05-05 16:51:08 -05:00
Adam Porter
a4dcda4df2
Add: (ement-room-defevent "m.room-reaction")
2022-05-05 16:50:35 -05:00
Adam Porter
e0004b9202
Add: (ement-redact)
...
And use in ement-room-delete-emssage.
2022-05-05 16:49:54 -05:00
Adam Porter
84739451af
Tidy: Disable expansion of debug forms by default
2022-05-05 13:57:48 -05:00
Adam Porter
28f9697258
Add: Coalesce membership events
...
This also lays some foundation for coalescing other event types in the
future (maybe even grouping by sender, which might replace the awkward
code for inserting sender headers for the "Elemental" message format;
but that would need to be done very carefully, because events can
arrive out of order, which might require splitting coalesced events at
times).
2022-05-05 13:28:15 -05:00
Adam Porter
469b2ae3b4
Add: (ement-room-wrap-prefix)
...
Applied to image messages, and in the next commit, to membership
events.
2022-05-05 12:36:15 -05:00