[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 9e4503c0f0 19/39: profiles: try to split profile
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 9e4503c0f0 19/39: profiles: try to split profile display from items display |
Date: |
Tue, 29 Oct 2024 07:00:29 -0400 (EDT) |
branch: elpa/mastodon
commit 9e4503c0f0aefaa9ace6b402d283bdc3bc92c5ee
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>
profiles: try to split profile display from items display
fix separate profile/items display
---
lisp/mastodon-profile.el | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 42fea39082..225b3eebc8 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -754,19 +754,23 @@ MAX-ID is a flag to include the max_id pagination
parameter."
(or (mastodon-profile--current-view-type
endpoint-type no-reblogs no-replies only-media)
(plist-get mastodon-profile--views-plist :default)))
- (insert "\n\n")
+ (insert "\n\n")))
+ ;; split insert of items from insert of profile:
+ (with-current-buffer buffer
+ (let* ((inhibit-read-only t))
;; insert pinned toots first
(when (and pinned (string= endpoint-type "statuses"))
(mastodon-profile--insert-statuses-pinned pinned)
(setq mastodon-tl--update-point (point))) ; updates after pinned
toots
- (funcall update-function json))
- (goto-char (point-min))
- (message
- (substitute-command-keys
- ;; "\\[mastodon-profile--account-view-cycle]" ; not always bound?
- "\\`C-c C-c' to cycle profile views: toots, no replies, no boosts,\
+ ;; insert items
+ (funcall update-function json)
+ (goto-char (point-min))
+ (message
+ (substitute-command-keys
+ ;; "\\[mastodon-profile--account-view-cycle]" ; not always bound?
+ "\\`C-c C-c' to cycle profile views: toots, no replies, no boosts,\
only media, followers, following.
-\\`C-c C-s' to search user's toots, \\`C-c \#' to search user's posts for a
hashtag."))))))
+\\`C-c C-s' to search user's toots, \\`C-c \#' to search user's posts for a
hashtag.")))))))
(defun mastodon-profile--current-view-type (type no-reblogs no-replies
only-media)
"Return the type of current profile view.
- [nongnu] elpa/mastodon updated (31df8d9a0a -> 879eaeefb5), ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 9e4503c0f0 19/39: profiles: try to split profile display from items display,
ELPA Syncer <=
- [nongnu] elpa/mastodon 3a20ca8eef 14/39: add announcements timeline. (adds no-byline args to tl init funs), ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 1b60a9ca18 01/39: Use interactive code to select event window, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon e9d9bc3a6b 02/39: propertize grouped notif authors in help-echo, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 99da98a035 07/39: transient poll: use tp-transient-settings, handle repeated poll edits, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 6d46a197b3 22/39: widget: remove mastodon-profile--views-plist, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 8c77159f4f 11/39: factor out poll classes subbing off tp-option-var. FIX #601, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon c55233b45c 32/39: poll transient: checks for expiry, max opts, max length, > 1 opt, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 1679216a14 33/39: poll: choice add: uncomment max poll opts check, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon 7d23c74ed5 37/39: bump version, ELPA Syncer, 2024/10/29
- [nongnu] elpa/mastodon bc11edccc2 38/39: Merge branch 'develop', ELPA Syncer, 2024/10/29