Commit graph

74 commits

Author SHA1 Message Date
Adam Porter
f088b24a29 Change: (ement-taxy-auto-update) Don't refresh when region is active
Thanks to @kushal:locationd.net for reporting.
2022-09-18 11:29:12 -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
9d3c82582c Change: (ement-taxy-next-unread) Go to unread marker
Closes #88.  Thanks to @ericsfraga for suggesting.
2022-09-01 02:58:04 -05:00
Adam Porter
1eeb0a2c33 Comment: Add 2022-07-18 11:15:37 -05:00
Adam Porter
34acb9df1c Change: (ement-taxy-room-avatar-cache) Make buffer-local
On the rare occasion that the ement-taxy buffer is opened before room
avatars have been fetched, the generated avatars would fill the cache,
and the downloaded ones would never be shown.  Now, killing the buffer
will discard the cache (which is a good idea, anyway, otherwise it
becomes almost like a memory leak).
2022-07-01 08:39:54 -05:00
Adam Porter
9cd7b2f192 Change/Fix: (ement-taxy) Bookmark support 2022-07-01 06:34:58 -05:00
Adam Porter
5878361df0 Change: (ement-taxy) Highlight highlight count, not notification
The highlight count should stand out more, and in themes like
doom-solarized and the modus-themes, the mention face doesn't stand
out while the highlight one does, so now we use the highlight face for
highlights (which represent mentions or keywords).
2022-06-29 22:42:55 -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
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