aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
Commit message (Collapse)AuthorAgeFilesLines
...
* (mastodon-tl--relative-time-details): Use `mastodon-tl--human-duration`Stefan Monnier2023-09-211-54/+38
| | | | | | | | * lisp/mastodon-tl.el (mastodon-tl--human-duration): Cap the finest resolution and return a pair to include the resolution used. (mastodon-tl--format-poll-expiry): Adjust accordingly. (mastodon-tl--relative-time-details): Rewrite using `mastodon-tl--human-duration`.
* Misc minor cosmetic changesStefan Monnier2023-08-291-4/+4
| | | | | | | Prefer # to quote function names. Remove some redundant `:group` arguments. Properly newline-terminate text files. Fix some ' warnings in docstrings.
* Don't refer to obsolete font-lock face variablesStefan Monnier2023-08-291-6/+6
| | | | | | | * lisp/mastodon-profile.el (mastodon-profile--update-user-profile-note): * lisp/mastodon-tl.el (mastodon-tl--byline, mastodon-tl--toot-stats): * lisp/mastodon-toot.el (mastodon-toot--view-toot-edits): * lisp/mastodon-views.el (mastodon-views--minor-view): Quote face names.
* Simplify calls to `alist-get`Stefan Monnier2023-08-291-1/+1
| | | | | | | | | | * lisp/mastodon-toot.el (mastodon-toot--set-toot-language): * lisp/mastodon-tl.el (mastodon-tl--read-rules-ids): * lisp/mastodon-profile.el (mastodon-profile--remove-from-followers-list): * lisp/mastodon-auth.el (mastodon-auth--access-token): * lisp/mastodon-views.el (mastodon-views--add-account-to-list) (mastodon-views--remove-account-from-list): Remove redundant optional arg to `alist-get` (`equal` is already the default).
* * lisp/mastodon.el: Remove `ts` from `Package-Requires:`Stefan Monnier2023-08-291-18/+34
| | | | | | | | | | | | | This is/was the main hurdle to be able to include `mastodon.el` into (Non)GNU ELPA since `ts` is/was not in (Non)GNU ELPA. Also I think the replacement function is more flexible and gives better results :-) * lisp/mastodon-tl.el: Don't require `ts`. (mastodon-tl--time-units): New const. (mastodon-tl--human-duration): New function. (mastodon-tl--format-poll-expiry): Rewrite using it.
* add defcustom: mastodon-tl--highlight-current-toot.marty hiatt2023-08-161-1/+5
|
* add 'cursor-face 'hightlight to insert-status.marty hiatt2023-08-161-1/+2
|
* fix type name for tl--show-statsmarty hiatt2023-07-131-1/+1
|
* better docstring for mastodon-tl--scroll-up-commandmarty hiatt2023-07-061-1/+1
|
* mastodon-tl--scroll-up-commandmarty hiatt2023-07-061-0/+9
|
* handle updating a single-toot view. FIX #476.marty hiatt2023-06-271-2/+10
|
* help-echo for direct/private byline iconsmarty hiatt2023-06-221-2/+4
|
* handle nil value in poll expires_at attr.marty hiatt2023-06-151-1/+3
|
* mute thread from notifs viewmarty hiatt2023-06-131-5/+8
| | | | uses base-toot-id, which i'm just praying is right.
* fix get user handles profile note test. FIX #472.marty hiatt2023-06-031-2/+3
| | | | | this way, if in profile note, we just return profile owner, else we might be on a toot in a profile, and so just proceed normally.
* extract-userhandle-from-url: check for url-filenamemarty hiatt2023-05-261-0/+2
| | | | | i ran into a "handle" that was just a TLD link. if we don't error when url-filename is "", and just do nothing, SHR seems to render such a handle fine.
* more tiny -tl cleanupsmarty hiatt2023-05-241-12/+11
|
* rename tl--user-handles-getmarty hiatt2023-05-241-10/+9
|
* tiny refactor tl--mute-or-unmute-threadmarty hiatt2023-05-231-23/+19
|
* tl--content: use tl--fieldmarty hiatt2023-05-231-4/+1
|
* move list call in tl--read-poll-optionmarty hiatt2023-05-231-21/+21
|
* let-alist tl--media-attachmentmarty hiatt2023-05-231-24/+16
|
* tiny comments/wrapmarty hiatt2023-05-231-3/+1
|
* macros together in tl.elmarty hiatt2023-05-231-16/+16
|
* rename buffer-spec get funsmarty hiatt2023-05-231-21/+21
|
* if not in tl--set-after-update-markermarty hiatt2023-05-231-17/+17
|
* indent -tl.elmarty hiatt2023-05-231-6/+6
|
* factor out mastodon-tl--do-initmarty hiatt2023-05-231-37/+25
|
* no stats for foll/foll_req notifsmarty hiatt2023-05-161-4/+6
|
* tiny audits in profile.el and tl.elmarty hiatt2023-05-161-5/+2
|
* no kw arg for completing-read require-matchmarty hiatt2023-05-161-1/+1
|
* FIX #467. follow tag: prompt for tags in post, default tag at point.marty hiatt2023-05-131-5/+17
|
* follow-tag: use tag at point by defaultmarty hiatt2023-05-121-1/+5
|
* fix poll count display.marty hiatt2023-05-111-1/+2
|
* remove overlays in tl--init*/-syncmarty hiatt2023-05-111-1/+3
|
* indent buffersmarty hiatt2023-05-101-11/+11
|
* audit -tl.el finishmarty hiatt2023-05-091-101/+67
|
* let-alist for tl--toot-statsmarty hiatt2023-05-091-22/+15
|
* auditing -tl.elmarty hiatt2023-05-091-44/+33
|
* remove duplicate funsmarty hiatt2023-05-091-102/+0
|
* audit 1/3 of tl.elmarty hiatt2023-05-081-63/+45
|
* remove profile--account-field from tl.elmarty hiatt2023-05-081-7/+5
|
* rename profile--add-author-bylines to profile--format-usermarty hiatt2023-05-081-1/+1
|
* adjust format-poll-optionmarty hiatt2023-05-081-3/+3
|
* reindent a funmarty hiatt2023-05-081-11/+11
|
* refactor mastodon-tl--format-poll-optionmarty hiatt2023-05-081-15/+16
|
* re-let-alist tl-get-pollmarty hiatt2023-05-081-47/+41
|
* revert let-alist for poll-vote in tl.el (because --field)marty hiatt2023-05-081-45/+46
|
* Revert "let-alist tl--get-poll"marty hiatt2023-05-081-40/+47
| | | | This reverts commit c579efdef65e1d6a6ad29e0a609202cd59a683e2.
* Revert "let-alist tl--byline"marty hiatt2023-05-081-102/+98
| | | | This reverts commit ceaeb56cea5fa2d5214e57b5915e0d315b70e081.