| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- adds functions to download custom emoji from mastodon-instance-url, collect
them into a list formatted as needed by emojify-user-emojis, and to update
that var with the mastodon custom emoji so that they can be used with
emojify-insert-emoji.
- for now the user has to enable these by calling -enable-custom-emoji themselves.
|
| |
|
|
|
|
|
| |
we need this modified version of -get-user-info because it adds the @ prefix
to the account handle, which our completion prefix also contains
|
|
|
|
|
|
|
|
|
|
|
|
| |
These needed a bit of tender love and care to get back into passing
state.
- Move the auth tests to the `test` directory. No idea what it was
doing in `lisp`.
- Image tests are mostly broken because with later Emacsen we no
longer need the `imagemagic` option on create-image.
- Some method signatures have changed and mocking calls needed to
follow suit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is mostly reflowing / reworkding docstrings to keep within 80
characters limit and adding autoloads.
There are two warning remaining that I don't understand:
- mastodon-async.el:359:16: Warning: reference to free variable
‘url-http-end-of-headers’
- mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused
When adding autoloads this sorts them for better readability.
|
|
|
|
|
| |
also rename company mentions completion default value to "following" not
"followers", which is what the actual search is called and what it returns.
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this obviates the need for the user to upload files before posting their toot.
- this commit makes http--post-media-attachment synchronous, so that toot-send
has to wait for it.
- in toot-send: if mastodon-toot--media-attachements is non-nil, the files it
contains are uploaded synchronously, and their returned ids are added to
toot-media-attachment-ids, which are parsed as args for the POST request to
be attached to the toot.
- then we send toot as usual.
- clear-all-attachments also clears mastodon-toot--media-attachment-ids just
in case.
- we have no more need of media-attachments-filenames, as media-attachments is
now a list and not a boolean value.
|
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
- & no need for all other mastodon-toot autoloads
|
| | |
|
| | |
|
| |
| |
| |
| | |
- & no need for all other mastodon-toot autoloads
|
| | |
|
|\| |
|
| | |
|
| | |
|
| |
| |
| |
| | |
- from testing with 'emacs -Q'
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- use it for eg notifications
- this because i suspect sync is sometimes faster.
- with async init*, i often have to press a key to trigger the request
- perhaps good to have both in the code, and choose which to use when
- cd also poss make this a customize.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- http--timeout was given as an 4th arg to url-retrieve, which has nothing to
do with timeouts, but is whether to be silent or not.
- timeout arg only exists for url-retrieve-synchronously
|
| |
| |
| |
| |
| | |
- the shr-maybe-probe-and-copy-url function is already bound to 'w' as well,
so we don't lose it by doing this
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
- this makes the autoload fun mastodon-toot have access to the variable, so
that it can be successfully called without mastodon-mode having been enabled
previously.
- maybe there is another work around for making variables available to
autoloaded functions, but i failed to find it!
|
| | |
|
| |
| |
| |
| |
| | |
we now store images ourselves for caching rather than relying on
url-automatic-caching.
|
|\| |
|
| | |
|