| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
cleanup indents
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- revert profile--extract-users-handles
- rewrite search--insert-users-propertized to handle raw account JSON, and to
call search--get-user-info itself, so we can add full acct JSON to each user
displayed and use it for follow-user etc.
- and to choose how we want to follow users, we edit
tl--interactive-user-handles-get to work differently depending on context:
- poss contexts are "follow suggestions" view, search results, and profiles
displaying a user's followers/followed users.
|
|
|
|
| |
This reverts commit 787f18dcff2ee7a4c5a5cbf331f4e2d26997e1cc.
|
|
|
|
| |
with calls to mastodon-profile--add-author-bylines.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
this factors out display of accounts from mastodon-search--search-query into
mastodon-search--insert-users-propertized.
mastodon-tl--get-follow-suggestions is the fun to view suggestions.
seeing as this allows easy display of profile note under the account handle, i
also added this display to --search-query, but it cd be easily disabled by
calling --insert-users-propertized without its second arg.
|
| |
|
| |
|
| |
|
|
|
|
| |
strictly, the 27.1 dependency is only for proper-list-p in -http.el.
|
| |
|
|
|
|
|
|
|
| |
<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.
|
|
|
|
|
| |
we need this modified version of -get-user-info because it adds the @ prefix
to the account handle, which our completion prefix also contains
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is mostly reflowing / reworkding docstrings to keep within 80
characters limit and adding autoloads.
There are two warning remaining that I don't understand:
- mastodon-async.el:359:16: Warning: reference to free variable
‘url-http-end-of-headers’
- mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused
When adding autoloads this sorts them for better readability.
|
|
|
|
|
| |
also rename company mentions completion default value to "following" not
"followers", which is what the actual search is called and what it returns.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- customize option for completion off, following-only, or all.
- 'following=true' is forwarded to http--get-search accordingly.
- use company-grab-symbol-cons + regex, prepend "@" to it
- also prepend '@' to the list in get-user-info-no-url
- this makes company display user handles prepended with '@', and to match and
- enter a handle without duplicating the '@'
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
move http search funs into http.el
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|