From d71b8f29852a2b00228eb1d673d1ad43a52812a6 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 10:20:18 +0100 Subject: patch readme for elpa --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 1898366..90222c7 100644 --- a/README.org +++ b/README.org @@ -1,3 +1,5 @@ +#+title: A Mastodon client +#+export_file_name: mastodon #+TEXINFO_DIR_CATEGORY: Emacs #+TEXINFO_DIR_TITLE: Mastodon: (mastodon). #+TEXINFO_DIR_DESC: Client for fediverse services using the Mastodon API. @@ -487,7 +489,7 @@ If you prefer emailing patches to the process described below, feel free to send If you'd like to support continued development of =mastodon.el=, I accept donations via paypal: [[https://paypal.me/martianh][paypal.me/martianh]]. If you would prefer a different -payment method, please write to me at and I can +payment method, please write to me at and I can provide IBAN or other bank account details. I don't have a tech worker's income, so even a small tip would help out. -- cgit v1.2.3 From 77f4c2770dd7f8e5a3c276ff8e89f465ade2411d Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 11:21:18 +0100 Subject: after widgets added: newline before pinned statuses --- lisp/mastodon-profile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index b4a8d4f..c16d88d 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -614,7 +614,7 @@ FIELDS means provide a fields vector fetched by other means." "Insert each of the PINNED-STATUSES for a given account." (mapc (lambda (pinned-status) (insert - (concat " " + (concat "\n " (propertize " pinned " 'face '(:inherit success :box t)) " ")) -- cgit v1.2.3 From 98c8c3d5c066da085ac540994cc6f8cb1b682a71 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 11:35:09 +0100 Subject: http: return nil if we render html error --- lisp/mastodon-http.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 1093de1..47b96fe 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -243,7 +243,9 @@ Callback to `mastodon-http--get-response-async', usually ;; ideally we should handle the status code in here rather than ;; this crappy hack? ((string-prefix-p "\n<" json-string) ; html hack - (mastodon-http--render-html-err json-string)) + ;; NB: in this case, process-response returns t!: + (mastodon-http--render-html-err json-string) + nil) ;; return nil instead of t ;; if no json or html, maybe we have a plain string error message ;; (misskey does this, but there are probably better ways to do ;; this): -- cgit v1.2.3 From 5b1d2d1e5e47000f7a70b510bd8ba74c5dd95de0 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 30 Oct 2024 09:30:23 +0100 Subject: add verified tick symbol --- lisp/mastodon-tl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 5eb52e3..5178a25 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -159,7 +159,7 @@ nil." (favourite . ("⭐" . "F")) (bookmark . ("🔖" . "K")) (media . ("📹" . "[media]")) - (verified . ("" . "V")) + (verified . ("✓" . "V")) (locked . ("🔒" . "[locked]")) (private . ("🔒" . "[followers]")) (direct . ("✉" . "[direct]")) -- cgit v1.2.3 From e97547a1604944cb281d95c3e94848f2b559a16d Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 30 Oct 2024 12:28:26 +0100 Subject: bump tp.el version, bump version --- lisp/mastodon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mastodon.el b/lisp/mastodon.el index deee0c1..119a045 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -6,8 +6,8 @@ ;; Author: Johnson Denen ;; Marty Hiatt ;; Maintainer: Marty Hiatt -;; Version: 1.1.2 -;; Package-Requires: ((emacs "28.1") (request "0.3.0") (persist "0.4") (tp "0.1")) +;; Version: 1.1.3 +;; Package-Requires: ((emacs "28.1") (request "0.3.0") (persist "0.4") (tp "0.5")) ;; Homepage: https://codeberg.org/martianh/mastodon.el ;; This file is not part of GNU Emacs. -- cgit v1.2.3