aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* flycheck, autoloads, docstringsmousebot2021-10-221-1/+2
|
* improvements to toot mentions completionmousebot2021-10-211-3/+5
| | | | | | | | | - 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 '@'
* first go at company completion for mentions in new tootsmousebot2021-10-201-0/+19
|
* flycheck: docstrings, autoloads, declarationsmousebot2021-10-021-2/+1
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|
* add request and seq as dependencies, flycheck cleanups, andmousebot2021-05-271-32/+2
| | | | move http search funs into http.el
* flychecks and autoloadsmousebot2021-05-261-0/+2
|
* enable live, propertized handle links and tags in searchmousebot2021-05-181-33/+37
|
* message for notifs load, tiny search.el cleanupmousebot2021-05-171-11/+13
|
* clean-up edits after flycheck/bytecompile.mousebot2021-05-161-11/+36
|
* change search results order: statuses, users, hashtagsmousebot2021-05-121-6/+6
|
* add basic search functionsmousebot2021-05-111-0/+145