| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
- add `mastodon-tl--format-faves-count function
- handle notifications formatting (get 'status field of toot)
- apply to author-byline formatting
- apply to the (F) and (B) formatting for faves/boosts
- ensures where point lands after `mastodon-tl--goto-next-toot is always propertized
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
strictly, the 27.1 dependency is only for proper-list-p in -http.el.
|
| |
|
|
|
|
|
|
| |
because it breaks propertizing of links/handles.
so echo faves is now only on byline author name.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
move help-echo propertizing to author name of byline, in
`mastodon-tl--byline-author'. so when we use `goto-next-toot' point is on
author and we get the help echo
and add the same help-echo to `mastodon-tl--content', but only when in thread
view. this ensures the propertizing occurs prior to any image propertizing,
when will then only replace the faves propertizing for the image part of the
given toot.
that way we have help echo for images when we want, and faves count otherwise.
|
|\ |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
if --media-attachments is non-nil,
make sure we have non-nil media-args, and that
we have same num of -ids to attach as attachments uploaded.
|
|\| | |
|
| |\| |
|
| | |
| | |
| | |
| | | |
just test that length of --media-attachments == length of --media-attachment-ids.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this commit moves the call to -upload-attached-media into -attach-media.
upload-attached-media now uploads a single item only, whichever file has just
been selected at the prompt.
but we still use the list of attached-media to handle preview displays.
|
| | |
| | |
| | |
| | |
| | | |
this updates the functions to toggle receiving notifications when a user
posts to work with the newly refactored follow-user function and associated functions.
|
| |\ \ |
|
| | |\ \ |
|
| | | |\ \ |
|
| | | | | | |
|
| | | | |/ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
place them after toot content and add padding for vote count display.
|
| | | |/ |
|
| | | |
| | | |
| | | |
| | | | |
and fix matching for both user handle and user display name.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
because 'O' is no longer available, being used for --my-profile.
the actual solution is to just have one binding that cycles through the
profile views.
|
| | | |
| | | |
| | | |
| | | | |
to avoid using C-S- bindings, which don't always work for others.
|
| | | | |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- if the type is not "image", it is displayed in`'help-echo' property.
- the idea is to use this to handle gifs/videos differently to images. but for
now i'm not sure how to actually render such media. but this way, at least the
item could be viewed externally if the user wants to see it, or at least they
know they're missing out on something.
- NB: EWW can't handle content type "video/mp4".
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- mastodon-tl--notify-user-posts
- mastodon-tl--no-notify-user-posts
- + some schtick in notifications.el to make sure the notifs display ok.
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
Just a small simplification of the recent change from commit
027f24125f: the formatting is actually the same no matter if showing
infos about the toot itself or the reblogged toot, so let's just first
pick which toot to use and have the formatting just once.
|
| |
| |
| |
| | |
Just some autoload and defvar needed to keep the compiler quiet.
|
| |
| |
| |
| |
| |
| |
| | |
- A `progn` with a single form is redundant
- `when` doesn't need a `progn` body
- `if` has an implicit `progn` for the consequences
- I converted one cascade of `if`s into a `cond`.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apparently one should not rely on "/" being the directory separator
and use the funtions from
https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Name-Components.html#File-Name-Components
instead.
The new version seems strictly better in that it won't create paths
with double slashes when `emojify-emojis-dir` already ends in a slash.
This also refines the test for `emojify-emojis-dir` to actually check
it is an existing directoy and not just an existing file, dir, or
symlink.
|
| |
| |
| |
| |
| |
| |
| | |
<some-symbol> <a-list>)`
This is more readable and actually more efficient (maybe) since it
uses `eq` rather than `equal` as a test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We recently introduced a new thin abstraction
`mastodon-http--url-retrieve-synchronously` but did not make use of it
everywhere.
This also moves its definition to the top above its first use.
This also removes some dead, commented-out code.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Basically, in Emacs for each file: select all text and
`indent-region`.
- This also removes one redundant comment, and
- fixes an error with json decoding where the `json-read-from-string`
was actually not within the intended `unless` clause (which explains
the warning about "result of (string-equal "" json-string) will be
ignored" which I never understood.
|
| |
| |
| |
| |
| | |
This is much cleaner than first using `defvar` immediately followed by
`make-variable-buffer-local`.
|
| | |
|
| | |
|
| | |
|