aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
Commit message (Collapse)AuthorAgeFilesLines
* manually(!) apply stephan monnier's patch, save the ts workmarty hiatt2023-03-211-2/+2
| | | | thanks stephan!
* FIX #412. give render-text account data to work withmarty hiatt2023-03-201-1/+1
|
* remove unused codemarty hiatt2023-03-201-2/+0
|
* sort all autoloadsmarty hiatt2023-03-191-6/+6
| | | | sort autoloads in profile.el
* fix set buffer spec buffer name for trending tagsmarty hiatt2023-01-151-1/+1
|
* remove first empty line in docstringsmarty hiatt2023-01-091-2/+0
|
* remove stray company funs in search.elmarty hiatt2022-11-261-11/+3
|
* always use --set-buffer-spec, not setq --buffer-specmarty hiatt2022-11-261-11/+8
|
* comment remove company mentionmarty hiatt2022-11-251-1/+1
|
* Merge branch 'develop' into capf-completionmarty hiatt2022-11-251-2/+1
|\
| * docstrings and autoloadsmarty hiatt2022-11-241-2/+1
| |
* | Merge branch 'develop' into capf-completionmarty hiatt2022-11-241-5/+6
|\|
| * remove redundant --get-search(-json) funs, use new params --get-jsonmarty hiatt2022-11-221-5/+7
| |
| * params always in http.el, only ever send alists from elsewhere.marty hiatt2022-11-211-2/+2
| | | | | | | | probably incomplete but mostly done.
* | silence the tags/handles searche queriesmarty hiatt2022-11-221-3/+3
| |
* | a first go at capf completion backends for mentions and tagsmarty hiatt2022-11-221-2/+10
|/ | | | | the regex searches still fail sometimes, and completions don't show urls or usernames like the old company backends.
* refactor search--propertize-usermarty hiatt2022-11-191-21/+25
|
* docstrings and commentsmarty hiatt2022-11-161-1/+1
|
* use seq-empty-p and string-empty-p callsmarty hiatt2022-09-051-1/+1
|
* tl--url-lookup command, FIX #240marty hiatt2022-09-031-21/+0
|
* search--url-lookupmarty hiatt2022-09-031-0/+20
|
* fix trending tags fun name + autoload in mastodon.elmarty hiatt2022-09-021-1/+1
|
* implement trending tagsmarty hiatt2022-09-021-10/+47
|
* buffer-spec for search buffers (so following works)marty hiatt2022-08-311-0/+5
|
* bump version in boilerplatemarty hiatt2022-08-271-1/+1
|
* autoloads, flycheckmarty hiatt2022-08-271-1/+1
|
* completion customizes edit for handling tags completionmarty hiatt2022-08-261-1/+1
|
* implement tags company completionmarty hiatt2022-08-231-3/+13
|
* docstring insert-users-propmousebot2022-02-181-3/+4
|
* search: use toot-json propertize not user-json, for compatmousebot2022-02-181-1/+1
|
* handle empty display_name in search--get-user-infomousebot2022-02-181-1/+3
| | | | ensures we hever have an empty author name slot
* cleanup indentation in tl.elmousebot2022-02-171-23/+23
| | | | cleanup indents
* remove unused let binding user-idsmousebot2022-02-171-2/+3
|
* re-factor follow-user functions for various viewsmousebot2022-02-171-20/+28
| | | | | | | | | | | | | | - 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.
* Revert "replace all calls to mastodon-search--insert-users-propertized"mousebot2022-02-171-2/+22
| | | | This reverts commit 787f18dcff2ee7a4c5a5cbf331f4e2d26997e1cc.
* replace all calls to mastodon-search--insert-users-propertizedmousebot2022-02-151-22/+2
| | | | with calls to mastodon-profile--add-author-bylines.
* autoload http--api in search.elmousebot2022-02-131-0/+1
|
* --search-accounts-query use http--apimousebot2022-02-071-1/+1
|
* implement follow suggestions.mousebot2022-02-071-15/+25
| | | | | | | | | | | 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.
* update homepage and copyright boilerplatemousebot2022-02-051-4/+3
|
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-1/+3
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-171-1/+1
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.
* bump version, change homepage link, readmemousebot2021-12-171-2/+2
|
* Convert most uses of `(cdr (assoc <some-symbol> <a-list>))` to `(alist-get ↵Holger Dürer2021-11-061-13/+13
| | | | | | | <some-symbol> <a-list>)` This is more readable and actually more efficient (maybe) since it uses `eq` rather than `equal` as a test.
* Reformat all code.Holger Dürer2021-11-061-39/+39
| | | | | | | | | | | 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.
* fix broken completion, restore search--get-user-info{-@}mousebot2021-11-031-1/+7
| | | | | we need this modified version of -get-user-info because it adds the @ prefix to the account handle, which our completion prefix also contains
* Fix compilation warnings.Holger Dürer2021-11-011-7/+2
| | | | | | | | | | | | 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.
* include user's profile URL in company mentions completion.mousebot2021-11-011-4/+5
| | | | | also rename company mentions completion default value to "following" not "followers", which is what the actual search is called and what it returns.
* docstringsmousebot2021-10-291-1/+1
|