aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-discover.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-23 20:24:59 +0100
committermousebot <mousebot@riseup.net>2021-12-23 20:24:59 +0100
commit6c19decad2bdb86d55c96409cd0c96e1c8dd1a32 (patch)
tree59f4191d590d3713c73ac6b2e8a6197097bfbc5a /lisp/mastodon-discover.el
parent0cffc91cfd362190eac9580983cda74248a2d3a0 (diff)
parentab37e43c60edf5f0d591441e8cece61a27dd2a6d (diff)
Merge branch 'main'
Diffstat (limited to 'lisp/mastodon-discover.el')
-rw-r--r--lisp/mastodon-discover.el59
1 files changed, 47 insertions, 12 deletions
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el
index a99ddc2..10abc59 100644
--- a/lisp/mastodon-discover.el
+++ b/lisp/mastodon-discover.el
@@ -2,9 +2,10 @@
;; Copyright (C) 2019 Johnson Denen
;; Author: Johnson Denen <johnson.denen@gmail.com>
-;; Version: 0.9.0
-;; Package-Requires: ((emacs "24.4"))
-;; Homepage: https://github.com/jdenen/mastodon.el
+;; Maintainer: Marty Hiatt <martianhiatus@riseup.net>
+;; Version: 0.10.0
+;; Package-Requires: ((emacs "27.1"))
+;; Homepage: https://git.blast.noho.st/mouse/mastodon.el
;; This file is not part of GNU Emacs.
@@ -32,6 +33,8 @@
;;; Code:
+(declare-function discover-add-context-menu "discover")
+
(defun mastodon-discover ()
"Plug Mastodon functionality into `discover'."
(interactive)
@@ -44,25 +47,57 @@
(description "Mastodon feed viewer")
(actions
("Toots"
- ("A" "Author" mastodon-profile--get-toot-author)
+ ("A" "View profile of author" mastodon-profile--get-toot-author)
("b" "Boost" mastodon-toot--boost)
- ("c" "Toggle content" mastodon-tl--toggle-spoiler-text-in-toot)
("f" "Favourite" mastodon-toot--favourite)
+ ("c" "Toggle hidden text (CW)" mastodon-tl--toggle-spoiler-text-in-toot)
("n" "Next" mastodon-tl--goto-next-toot)
("p" "Prev" mastodon-tl--goto-prev-toot)
- ("t" "Toot" mastodon-toot)
+ ("TAB" "Next link item" mastodon-tl--next-tab-item)
+ ("S-TAB" "Prev link item" mastodon-tl--previous-tab-item)
+ ("t" "New toot" mastodon-toot)
("r" "Reply" mastodon-toot--reply)
- ("u" "Update" mastodon-tl--update)
- ("P" "Users" mastodon-profile--show-user)
- ("T" "Thread" mastodon-tl--thread))
+ ("C" "Copy toot URL" mastodon-toot--copy-toot-url)
+ ("d" "Delete (your) toot" mastodon-toot--delete-toot)
+ ("D" "Delete and redraft (your) toot" mastodon-toot--delete-toot)
+ ("i" "Pin/Unpin (your) toot" mastodon-toot--pin-toot-toggle)
+ ("P" "View user profile" mastodon-profile--show-user)
+ ("T" "View thread" mastodon-tl--thread)
+ ("v" "Vote on poll" mastodon-tl--poll-vote))
("Timelines"
- ("#" "Tag" mastodon-tl--get-tag-timeline)
+ ("h" "View mode help/keybindings" describe-mode)
+ ("#" "Tag search" mastodon-tl--get-tag-timeline)
("F" "Federated" mastodon-tl--get-federated-timeline)
("H" "Home" mastodon-tl--get-home-timeline)
("L" "Local" mastodon-tl--get-local-timeline)
- ("N" "Notifications" mastodon-notifications--get))
+ ("N" "Notifications" mastodon-notifications--get)
+ ("u" "Update timeline" mastodon-tl--update)
+ ("S" "Search" mastodon-search--search-query)
+ ("C-S-P" "Jump to your profile" mastodon-profile--my-profile)
+ ("K" "View bookmarks" mastodon-profile--view-bookmarks))
+ ("Users"
+ ("W" "Follow" mastodon-tl--follow-user)
+ ("C-S-W" "Unfollow" mastodon-tl--unfollow-user)
+ ("M" "Mute" mastodon-tl--mute-user)
+ ("C-S-M" "Unmute" mastodon-tl--unmute-user)
+ ("B" "Block" mastodon-tl--block-user)
+ ("C-S-B" "Unblock" mastodon-tl--unblock-user))
+ ("Images"
+ ("RET/i" "Load full image in browser" 'shr-browse-image)
+ ("r" "rotate" 'image-rotate)
+ ("+" "zoom in" 'image-increase-size)
+ ("-" "zoom out" 'image-decrease-size)
+ ("u" "copy URL" 'shr-maybe-probe-and-copy-url))
+ ("Profile view"
+ ("o" "Show following" mastodon-profile--open-following)
+ ("O" "Show followers" mastodon-profile--open-followers)
+
+ ("R" "View follow requests" mastodon-profile--view-follow-requests)
+ ("a" "Accept follow request" mastodon-profile--follow-request-accept)
+ ("j" "Reject follow request" mastodon-profile--follow-request-reject)
+ ("U" "Update your profile note" mastodon-profile--update-user-profile-note))
("Quit"
- ("q" "Quit mastodon buffer. Leave window open." kill-this-buffer)
+ ("q" "Quit mastodon and bury buffer." kill-this-buffer)
("Q" "Quit mastodon buffer and kill window." kill-buffer-and-window)))))))
(provide 'mastodon-discover)