[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon fda3e5963d 44/45: Merge pull request 'Add a coupl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon fda3e5963d 44/45: Merge pull request 'Add a couple of key bindings that I have found useful' (#525) from dme/mastodon.el:devel/suspend into develop |
Date: |
Thu, 1 Feb 2024 10:01:04 -0500 (EST) |
branch: elpa/mastodon
commit fda3e5963d803754fc2e4d0bdbc005ab5e47a93d
Merge: 07b9052501 b8dd95b4c9
Author: martianh <martianh@noreply.codeberg.org>
Commit: martianh <martianh@noreply.codeberg.org>
Merge pull request 'Add a couple of key bindings that I have found useful'
(#525) from dme/mastodon.el:devel/suspend into develop
Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/525
---
lisp/.dir-locals.el | 6 ++++--
lisp/mastodon-discover.el | 1 +
lisp/mastodon-toot.el | 5 +++++
lisp/mastodon.el | 2 ++
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/lisp/.dir-locals.el b/lisp/.dir-locals.el
index 44e84e5923..bcb8ba5d00 100644
--- a/lisp/.dir-locals.el
+++ b/lisp/.dir-locals.el
@@ -1,5 +1,7 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
-;; setting this makes package-lint look in the main file for deps:
-((emacs-lisp-mode . ((package-lint-main-file . "mastodon.el"))))
+;; Preferred indentation style:
+((nil . ((indent-tabs-mode . nil)))
+ ;; setting this makes package-lint look in the main file for deps:
+ (emacs-lisp-mode . ((package-lint-main-file . "mastodon.el"))))
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el
index 715954f3f7..c34d85ff14 100644
--- a/lisp/mastodon-discover.el
+++ b/lisp/mastodon-discover.el
@@ -65,6 +65,7 @@
("t" "New toot" mastodon-toot)
("r" "Reply" mastodon-toot--reply)
("C" "Copy toot URL" mastodon-toot--copy-toot-url)
+ ("o" "Open toot URL" mastodon-toot--open-toot-url)
("d" "Delete (your) toot" mastodon-toot--delete-toot)
("D" "Delete and redraft (your) toot" mastodon-toot--delete-toot)
("e" "Edit (your) toot" mastodon-toot--edit-toot-at-point)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 6febec7544..bffa20e1e5 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -517,6 +517,11 @@ base toot."
(kill-new url)
(message "Toot URL copied to the clipboard.")))
+(defun mastodon-toot--open-toot-url ()
+ "Open URL of toot at point."
+ (interactive)
+ (browse-url (mastodon-toot--toot-url)))
+
(defun mastodon-toot--toot-url ()
"Return the URL of the base toot at point."
(let* ((toot (or (mastodon-tl--property 'base-toot)
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index bac4d6759d..9dac1d1f49 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -184,6 +184,7 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "k") #'mastodon-toot--toggle-bookmark)
(define-key map (kbd "r") #'mastodon-toot--reply)
(define-key map (kbd "C") #'mastodon-toot--copy-toot-url)
+ (define-key map (kbd "o") #'mastodon-toot--open-toot-url)
(define-key map (kbd "v") #'mastodon-tl--poll-vote)
(define-key map (kbd "E") #'mastodon-toot--view-toot-edits)
(define-key map (kbd "T") #'mastodon-tl--thread)
@@ -225,6 +226,7 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "G") #'mastodon-views--view-follow-suggestions)
(define-key map (kbd "X") #'mastodon-views--view-lists)
(define-key map (kbd "SPC") #'mastodon-tl--scroll-up-command)
+ (define-key map (kbd "z") #'bury-buffer)
map)
"Keymap for `mastodon-mode'.")
- [nongnu] elpa/mastodon 703655f109 26/45: Merge branch 'emoji-capf' into develop, (continued)
- [nongnu] elpa/mastodon 703655f109 26/45: Merge branch 'emoji-capf' into develop, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon a6680b093e 13/45: remove ; ; Version: strings in buffers other than mastodon.el, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 8108187270 10/45: buffer-for: fix () to ensure goto point min works on cycle, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 3b3f5228ac 35/45: profile: Use v2 search when looking for users, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 6fc44fe225 34/45: fix signature of make-capf so we call it right!, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 844a97ca89 39/45: fix typo in fun name, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 9ffe93009c 38/45: edit attachments description fun, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 792e18037d 27/45: Use `equal' to access alist entries by `mastodon-instance-url', ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 07b9052501 40/45: Merge pull request 'profile: Use v2 search when looking for users' (#524) from dme/mastodon.el:develop into develop, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 9a8d24f9fa 02/45: call remove-overlays in --thread (fix bug display of play if we reload a thread), ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon fda3e5963d 44/45: Merge pull request 'Add a couple of key bindings that I have found useful' (#525) from dme/mastodon.el:devel/suspend into develop,
ELPA Syncer <=
- [nongnu] elpa/mastodon f994ae1b71 03/45: add role badge to profiles. FIX #504., ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon f1af40e2c0 08/45: edit toots adopt attachments. FIX #506, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon aa0a2c08f0 06/45: add msg about loss of attachments on editing toot, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon c9c9487968 21/45: docstring, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 6a306afeed 23/45: FIX #515. completion-ignore-case t buffer-local for compose, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 65821b2f24 17/45: update help-echo for new profile cycle cmds, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 8e576fc297 09/45: implement exclude_replies on profile view, inc. cycle, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon ff4d7a5ae4 15/45: docstrings/comments for quote-reply issues, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 693244adec 16/45: add (no replies) to statuses no replies profile view, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 589868c98d 19/45: add image-description text property, ELPA Syncer, 2024/02/01