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
306c1ecfb0
Tidy: Move --format-user and --prism-color into -lib
2022-05-30 06:14:28 -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
151f9acc22
Change: (ement-taxy-next-unread) Use ement--room-unread-p
2022-05-30 02:16:39 -05:00
Adam Porter
6fd0d563c2
Add: (ement-taxy-side-window)
2022-05-29 11:18:31 -05:00
Adam Porter
de1e4b8e43
Fix: (ement-taxy-room-list) display-buffer-action
2022-05-29 11:18:10 -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
65ead54698
Add/Change: (ement-taxy-define-key space-p)
...
Group spaces separately, for clarity. The UI isn't ideal yet, but
it's an improvement.
2022-04-28 15:59:02 -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
97ad5fe226
Add: (ement-taxy) Generated avatars using svg-lib
...
Thanks to @rougier for his great work on svg-lib.el!
2022-04-14 16:08:21 -05:00
Adam Porter
cf55d472f2
Fix: (ement-taxy-default-keys) Invited rooms
...
These need to be in a "chain" of Taxys so they are in an exclusive,
top-level group for proper group sorting.
2022-04-14 15:36:21 -05:00
Adam Porter
18a4550bd1
Fix: (ement-taxy-room-list) Sorting of left and invited room groups
2022-04-14 03:04:03 -05:00
Adam Porter
4692961c64
Add/Change: (ement-taxy) Various additions and improvements
2022-04-13 11:03:21 -05:00
Adam Porter
812efe8cf6
Change: (ement-taxy) Faces for group headers
...
To match the faces of the rooms they match.
2022-04-13 10:53:02 -05:00
Adam Porter
daa4ab8c1d
Tidy: (ement-taxy) Prefix key functions with "key"
...
For clarity, and to avoid conflict with upcoming commands.
2022-04-11 06:14:32 -05:00
Adam Porter
816591cc77
Change: (ement-taxy-default-keys) Group invited rooms first
2022-04-11 06:14:20 -05:00
Adam Porter
5ce88056e8
Tidy: (ement-taxy-room-list) Macrolet for taxy-sort* calls
2022-04-11 06:13:37 -05:00
Adam Porter
8c9d440f0c
Fix: (ement-taxy-room-list) Go to previous section by ident
...
Not sure if this will work correctly as-is; might need to use
magit-section-ident-value.
2022-04-11 06:12:46 -05:00
Adam Porter
f4ecf1b4aa
Fix: (ement-taxy-define-column "Topic") Remove newlines
...
Newlines in topics (some rooms have them, and there's an MSC about
expanding topics further) should not be displayed in the room list.
2022-04-10 08:09:03 -05:00
Adam Porter
61e6fc4584
Fix: (ement-taxy-define-column "Name") Use status, and face for left rooms
2022-04-09 18:05:11 -05:00
Adam Porter
167f1030d4
Add: Favorite/low-priority room faces and sorting
2022-04-09 17:19:58 -05:00
Adam Porter
411a9ea83d
Fix: (ement-taxy-define-column "Topic") Invited rooms
2022-04-09 10:25:51 -05:00
Adam Porter
9fb01ea55c
Change: (ement-taxy-room-list) Sort invited rooms first
2022-04-09 10:25:51 -05:00
Adam Porter
c82d3bdddd
Fix: (ement-taxy-room-list) Invited rooms have no latest timestamp
2022-04-09 10:25:51 -05:00
Adam Porter
5a8d689ff5
Fix: (ement-taxy-room-list) window-start
2022-04-07 10:57:29 -05:00
Adam Porter
cd571c5f42
Add/Fix: (ement--button-buttonize)
...
button-buttonize is being added in Emacs 28.
2022-04-01 09:34:09 -05:00
Adam Porter
196929b01f
Fix: (ement-taxy-column-Unread) Typo in help-echo
2022-03-30 09:43:27 -05:00
Adam Porter
a6e935a3b7
Change: (ement-taxy-column-Latest) Show only largest unit
...
But the full duration is in the help-echo mouseover.
2022-03-30 08:25:57 -05:00
Adam Porter
d19c19d371
Tidy: (ement-taxy-define-key space)
2022-03-30 02:09:22 -05:00
Adam Porter
09553519a5
Change: (ement-taxy-column-Name) Use push instead of setf
...
Not sure why it seemed that setf didn't work with map-elt before, but
it does, and it should.
2022-03-29 23:20:28 -05:00
Adam Porter
f2d5674874
Change/Fix: (defface ement-room-list-space)
2022-03-29 23:19:41 -05:00
Adam Porter
01792a98c1
Fix: (ement-taxy) Require 'button
2022-03-29 23:16:11 -05:00
Adam Porter
26a3dd3c4d
Fix: (ement-taxy-key-space) Improve logic
2022-03-29 11:28:49 -05:00
Adam Porter
353d970d6a
Add: Basic space support
...
Handles space-creation events, links children to parents, and displays
and groups spaces specially in ement-taxy-room-list.
2022-03-29 10:51:03 -05:00
Adam Porter
c398f2fa63
Change: Rename room struct's type slot to status
...
Type is an actual thing in spec v1.2, used for spaces.
2022-03-29 10:49:45 -05:00
Adam Porter
8d50b23a1d
Fix: (ement-taxy-key-name) Use name or regexp
...
It wasn't clear that :name was required.
2022-03-29 10:46:46 -05:00
Adam Porter
29a165225e
Change: ement-taxy default column order
2022-03-29 07:43:52 -05:00
Adam Porter
f5e39aeb47
Tidy: (ement-taxy-room-list, name column)
2022-03-29 07:41:47 -05:00
Adam Porter
b4f01cf2e1
Fix: (ement-taxy) Another eval-and-compile
2022-03-29 07:38:26 -05:00
Adam Porter
38a528062e
WIP: (ement--room-unread-p)
...
This is so complicated, but roughly equivalent to
doesRoomHaveUnreadMessages() from
<7fa01ffb06/src/Unread.ts (L52)
>.
2022-03-29 06:45:25 -05:00
Adam Porter
7f61bf283a
WIP: Mention face for unread column (badge)
2022-03-29 06:44:51 -05:00
Adam Porter
073e3397ae
WIP: Tidy
2022-03-29 03:38:45 -05:00
Adam Porter
a1b1a4a973
WIP: Unread room faces
2022-03-29 03:38:29 -05:00
Adam Porter
9a0740fc39
WIP: Add highlight face to unread, tidy
2022-03-29 03:07:52 -05:00
Adam Porter
e9a8bf6ceb
WIP: Add ement-taxy-next-unread
2022-03-29 03:04:15 -05:00
Adam Porter
2cef12cd86
WIP: Ensure sessions are connected
2022-03-29 03:04:04 -05:00
Adam Porter
b200df5cfb
WIP: Preserve place in room list
2022-03-29 03:03:51 -05:00
Adam Porter
6f098e2e6d
WIP: Fix function name, display-action
2022-03-29 03:02:51 -05:00
Adam Porter
539cfe570b
WIP: Buttonize room names
2022-03-29 03:02:00 -05:00
Adam Porter
324b4c725e
Add: (ement, ement-taxy) Unread notifications
2022-03-29 01:52:50 -05:00