Commit graph

28 commits

Author SHA1 Message Date
Adam Porter
910e8f3168 Tidy: Compiler warning 2022-09-15 16:51:01 -05:00
Adam Porter
fcbf1a55e8 Release: 0.1 2022-09-02 07:44:17 -05:00
Adam Porter
d1fceb149e Tidy: Docstrings, comment 2022-09-01 23:10:28 -05:00
Adam Porter
fd46ea2b8b Change/Fix: Highlight "@room" mentions 2022-07-18 12:52:20 -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
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
7edb0e7883 Fix: (ement-describe-room) Rooms without avatars 2022-06-29 22:44:11 -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
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
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
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
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
30b5dfdc5a Tidy: Typo 2022-05-30 03:43:13 -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
94faf1261b Fix: (ement-send-message) Sending in Org format
Oops, broke that when I used --format-body-mentions here.
2022-05-13 02:15:13 -05:00
Adam Porter
0d95f4ed19 Change/Fix: --get-joined-members, etc. 2022-05-12 18:14:23 -05:00
Adam Porter
4774f4e846 Fix: (ement-list-members) 2022-05-12 18:14:23 -05:00
Adam Porter
df7b9f616c Fix: (ement-list-members) 2022-05-12 18:14:23 -05:00
Adam Porter
aaf2e3905c Tidy: (ement-lib) Commands 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
245d741e25 Change: (ement--format-room) Make topic optional 2022-05-12 17:39:07 -05:00
Adam Porter
284d7ff4b2 Fix: (ement-put-account-data) Variable assignment 2022-05-12 13:47:44 -05:00
Adam Porter
578a0babad Add: (ement--mark-room-direct)
Due to a minor bug in ement-send-direct-message, some rooms I made
recently weren't marked as direct.  This function allows any room to
be marked as direct.  Now that that bug is fixed, it shouldn't be
needed, but it is useful for fixing such rooms, anyway.
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