| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
<some-symbol> <a-list>)`
This is more readable and actually more efficient (maybe) since it
uses `eq` rather than `equal` as a test.
|
|
|
|
|
|
|
|
|
|
|
| |
Basically, in Emacs for each file: select all text and
`indent-region`.
- This also removes one redundant comment, and
- fixes an error with json decoding where the `json-read-from-string`
was actually not within the intended `unless` clause (which explains
the warning about "result of (string-equal "" json-string) will be
ignored" which I never understood.
|
|
|
|
|
| |
This is much cleaner than first using `defvar` immediately followed by
`make-variable-buffer-local`.
|
|
|
|
|
|
|
|
|
|
|
|
| |
These needed a bit of tender love and care to get back into passing
state.
- Move the auth tests to the `test` directory. No idea what it was
doing in `lisp`.
- Image tests are mostly broken because with later Emacsen we no
longer need the `imagemagic` option on create-image.
- Some method signatures have changed and mocking calls needed to
follow suit.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and put point at point-min on profile load
|
|
|
|
|
|
|
| |
- new bindings for f-req accept/reject (in both notifs and in f-req views)
- check if we are at an f-req before accept/rejecting
- flycheck / docstrings
- fix notifs byline formatting for f-reqs
|
|
|
|
| |
this prevented the 'account-id from being attached to mentions
|
| |
|
|
|
|
|
| |
uses a tiny minor mode 'profile-update', with bindings.
U is a general binding for it.
|
| |
|
| |
|
|
|
|
|
|
|
| |
and bindings.
view-follow-requests makes mastodon-tl--init run in mastodon-profile-mode
just so that its bindings can be restricted to that minor mode.
|
| |
|
|
|
|
| |
move http search funs into http.el
|
| |
|
|
|
|
| |
better pinned toots formatting
|
| |
|
|
|
|
|
| |
this is to prevent pinned toots appearing as such when this function is used elsewhere
than for a profile. e.g. the tag search.
|
| |
|
|
|
|
|
|
|
| |
also: profile--relationships-get no longer interactive.
and docstrings for fields insert.
indent "pinned" for pinned toots display
|
|
|
|
| |
clean up fields mastodon-profile--fields-format
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- view profile (using make-profile-buffer-for).
- user confirm to delete toot.
- better follow/mute/block/profile prompts
|
| |
|
| |
|
|
|
|
| |
- this way you can favorite posts when viewing a profile
|
| |
|
|
|
|
|
|
|
| |
(Favouriting itself is still hard since we have clobbered the 'f' keybinding, but if you bind it to something else or invoke it via `M-x mastodon-toot--toggle-favourite` then at least it works.)
This also changes the regular boosting/favoriting behavior. Before we would boost/fav a boost or fav instead of the actual toot that was boosted/faved. With this change we always boost/fav the base toot.
To do this we now keep a second toot id (with the base toot) in the byline's properities. (For regular statuses 'toot-id and 'base-toot-id will be identical.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add an alternative approach to user profile opening.
This way asks the user in the minibuffer for the handle and offering completion for all user handles in the current status but allowing the user to also enter any other handle to browse whichever account they wish.
This also cleans up some compiler warnings about profile code.
* Create a new minor mode for mastodon profile pages. There we override the 'f' and 'F' keys to show following and followers respectively.
Those pages now look very similar to the regular profile page (with a header).
|
|
|
|
|
|
|
|
| |
Instead of making it search the whole buffer every time to find images to load, give it a range where this work should be done.
We then call this immediately after inserting a single status, notification, ...
There should be no big noticible difference - images might load a tiny bit sooner although I doubt you can see that.
This should be more efficient on large buffers although Alex didn't notice any problems when testing streamed buffers.
We should still do it as it make things easier to understand. I was always worried about these global operations.
|
|
|
|
|
|
| |
* Adjusted mastodon-tl.el to open user profiles in emacs.
This also fixes an issue in user profiles where new statuses were insert at the above rather than below the user profile header.
|
|
* Add user profiles
- added keybinding U for opening user profiles
- (also added vimish keybindings 'h' and 'l' as aliased for tab and stab in mastodon-mode to compliment jk nav)
- autoloads 'mastodon-profile--get-next-author
|