From 90df6d50aa5b1557e7bd69a49ec2925b6f4da7ab Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 21 Nov 2022 16:19:40 +0100 Subject: mastodon-url-lookup --- lisp/mastodon.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index e6dcd3c..15718db 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -272,7 +272,7 @@ If REPLY-JSON is the json of the toot being replied to." ;;;###autoload (defun mastodon-url-lookup (&optional query-url) - "If QUERY-URL resembles a mastodon link, try to load in `mastodon.el'. + "If a URL resembles a mastodon link, try to load in `mastodon.el'. Does a WebFinger lookup. URL can be arg QUERY-URL, or URL at point, or provided by the user. If a status or account is found, load it in `mastodon.el', if -- cgit v1.2.3 From 1ae42ccc7771ee8584d5aad0675b62f7ba851939 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 28 Nov 2022 22:54:57 +0100 Subject: update package commentary --- lisp/mastodon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 3e0d4e8..20b420e 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -29,8 +29,8 @@ ;;; Commentary: -;; mastodon.el is an Emacs client for Mastodon , -;; the federated microblogging social network. It also works with Pleroma instances. +;; mastodon.el is an Emacs client for Mastodon , +;; the federated microblogging social network. It also works with Pleroma instances and other services that implement the Mastodon API. ;; See the readme file at https://codeberg.org/martianh/mastodon.el for set up and usage details. ;;; Code: -- cgit v1.2.3 From 98838de25451a0cf1cf0b37eee2df62222b364ed Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 10 Mar 2023 15:12:21 +0100 Subject: notifs-get: force set kmap in buffer --- lisp/mastodon.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index cd4cf13..c7c674a 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -294,7 +294,8 @@ BUFFER-NAME is added to \"*mastodon-\" to create the buffer name." "notifications" 'mastodon-notifications--timeline type) - (use-local-map mastodon-notifications--map)))) + (with-current-buffer buffer + (use-local-map mastodon-notifications--map))))) ;; URL lookup: should be available even if `mastodon.el' not loaded: -- cgit v1.2.3 From 4145c06d2f45756f7b48cd25b0c6672cc71f2cff Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 10 Mar 2023 15:12:43 +0100 Subject: notifs-get: fix buffer name setting --- lisp/mastodon.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index c7c674a..3f57552 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -283,8 +283,9 @@ If REPLY-JSON is the json of the toot being replied to." Optionally only print notifications of type TYPE, a string. BUFFER-NAME is added to \"*mastodon-\" to create the buffer name." (interactive) - (let ((buffer (or (concat "*mastodon-" buffer-name "*") - "*mastodon-notifications*"))) + (let ((buffer (if buffer-name + (concat "*mastodon-" buffer-name "*") + "*mastodon-notifications*"))) (if (get-buffer buffer) (progn (switch-to-buffer buffer) (mastodon-tl--update)) -- cgit v1.2.3 From 4b66cea2086e477e529d805b6cf0633e31acfe3c Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 29 Mar 2023 16:50:22 +0200 Subject: remove duplicate autoload --- lisp/mastodon.el | 1 - 1 file changed, 1 deletion(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 0ac24f7..69d5e2f 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -63,7 +63,6 @@ (autoload 'mastodon-profile--view-favourites "mastodon-profile") (autoload 'mastodon-search--search-query "mastodon-search") (autoload 'mastodon-search--trending-tags "mastodon-search") -(autoload 'mastodon-search--trending-tags "mastodon-search") (autoload 'mastodon-tl--block-user "mastodon-tl") (autoload 'mastodon-tl--follow-user "mastodon-tl") (autoload 'mastodon-tl--get-buffer-type "mastodon-tl") -- cgit v1.2.3 From b068448e9adcf83db0ed7110b975ea0810bd11c3 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 29 Mar 2023 16:59:56 +0200 Subject: require search --- lisp/mastodon.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 69d5e2f..be96733 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -38,6 +38,7 @@ (eval-when-compile (require 'subr-x)) (require 'mastodon-http) (require 'mastodon-toot) +(require 'mastodon-search) (require 'url) (require 'thingatpt) (require 'shr) @@ -61,8 +62,6 @@ (autoload 'mastodon-profile--update-user-profile-note "mastodon-profile") (autoload 'mastodon-profile--view-bookmarks "mastodon-profile") (autoload 'mastodon-profile--view-favourites "mastodon-profile") -(autoload 'mastodon-search--search-query "mastodon-search") -(autoload 'mastodon-search--trending-tags "mastodon-search") (autoload 'mastodon-tl--block-user "mastodon-tl") (autoload 'mastodon-tl--follow-user "mastodon-tl") (autoload 'mastodon-tl--get-buffer-type "mastodon-tl") -- cgit v1.2.3 From 9cd79997e072787ea2eb21a25dc2868b42ee3da2 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 5 Apr 2023 10:04:52 +0200 Subject: change package description --- lisp/mastodon.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index be96733..fa822a0 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -1,4 +1,4 @@ -;;; mastodon.el --- Client for Mastodon, a federated social network -*- lexical-binding: t -*- +;;; mastodon.el --- Client for Mastodon and compatible fediverse services -*- lexical-binding: t -*- ;; Copyright (C) 2017-2019 Johnson Denen ;; Copyright (C) 2020-2022 Marty Hiatt -- cgit v1.2.3