Commit graph

14 commits

Author SHA1 Message Date
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