aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up code to remove compilation warnings.Holger Durer2018-08-101-2/+7
| | | | | We used to be clean but have slipped recently. Let's clean up the code so it's easier to see real code smell warnings in the compilation.
* Retoot add accts closes #155Alexander Griffith2018-03-051-4/+30
| | | | | | | | | | | | | When responding to toots the full acct for both local and federated accounts are now added to the new toot buffer. Changes - Added a function in mastodon.el to return the current user acct - Added mastodon-toot--process-local, which takes an acct and appends the current server if it is local returns an empty string if the acct matches the current user and does only adds a prefix @ if the acct is federated - mastodon-toot--mentions will return a formatted string of mentions or an empty string - adds tests for mastodon-toot--mentions - adds a missing , in mastodon-http--post - `mastodon-toot--reply` now passes `mastodon-toot` a toot-id rather than the whole json - 'mastodon-toot--reply-to-id is now a local var in a new toot
* Bump to 0.7.2 and shorten long code lines (#172)Alexander Griffith2018-03-051-1/+1
| | | | | | * Bump version numbers to 0.7.2 * Adjusted functions to bring line length below 90.
* Closes #152 and extends the fix for #150 as well as a host of bug fixesAlexander Griffith2018-02-281-6/+8
| | | | | | | | | | | | | | | | | | We now kill the http get request buffer once JSON has been extracted. mastodon-tl--as-string was implemented and replaced any occurrence of number-to-string or int-to-string Added variable mastodon-tl--display-media-p. By default it is 't but can be made a local buffer variable and set to nil. When nil rather than displaying the media it just provides a link Media::<link> Fixed checking for faves and boosts, they should now render properly. The return from json-read-from-string for nil is :json-false which evaluates to 't in elisp. Fixed the format string that gets printed when faving and boosting Fixed mastodon-tl--thread updating and requesting and changed its behaviour such that it tries to open the original toot thread rather than the boosted thread. Added tests for both the new mastodon-tl--as-string function and the mastodon-tl--toot-id utility. enter mastodon mode before defining local buffer variable mastodon-tl--buffer-spec. This fixes some oddities with the local buffer variable.
* Bump version to 0.7.1Johnson Denen2017-06-191-1/+1
|
* Bump to v0.7.0Johnson Denen2017-05-181-1/+1
|
* replaced declare-function with autoloadalexjgriffith2017-05-181-15/+15
|
* Replace uses of replace-regexp with search-forward and replace-match.Holger Dürer2017-05-181-1/+4
|
* Remove most byte-compile warnings.Holger Dürer2017-05-181-15/+17
| | | | | | | We do this by - moving vars into the files where they are (mostly) used - "declaring" vars used elsewhere with the (defvar <var-name>) pattern, - declaring functions defined in others functions rather than loading the file via require.
* Bump to v0.6.3Johnson Denen2017-05-151-1/+1
|
* Use lexical-binding in all files.Holger Dürer2017-05-151-1/+2
| | | | | We only support Emacs 24 and 25 so are free to use sane bindings by default. To keep the linter happy, we need to declare dependency on Emacs 24 in all files.
* Clean up use of progn.Holger Dürer2017-05-051-8/+6
| | | | | - Lambda, defun, let, etc. all have an implicit progn. - A progn with a single form is identical to that single form.
* Fix some whitespace issues.Holger Dürer2017-05-051-3/+3
|
* Use the more canonical "nil" instead of "'()" when we don't mean an empty list.Holger Dürer2017-05-051-4/+4
| | | | (Besides, just "()" would have been enough anyway. No need to quote "()" or "nil".)
* Merge branch 'master' into developJohnson Denen2017-04-291-5/+5
|\
| * Bump to v0.6.1Johnson Denen2017-04-281-1/+1
| |
| * consolidating re-searchesclarkenciel2017-04-281-2/+1
| |
| * making keybinds and names niceclarkenciel2017-04-281-5/+24
| |
| * changing creation of toot buffer so that we don't duplicate docsclarkenciel2017-04-281-3/+5
| |
| * reformatting docs and changing removal func since we can't re-match onclarkenciel2017-04-281-8/+12
| | | | | | | | the "Toot Text:" string
| * removing Toot Text prompt, moving dangling parensclarkenciel2017-04-281-4/+2
| |
| * adding keybinding documentation to the new-toot bufferclarkenciel2017-04-281-1/+57
| |
| * Quick feedback fix on toggle functionsJohnson Denen2017-04-281-2/+2
| |
| * Fix #57 by moving messages into callbacksJohnson Denen2017-04-281-4/+8
| |
| * Add toggle function for boost/unboostJohnson Denen2017-04-281-12/+12
| |
| * Store 'favourited-p and 'boosted-p properties on bylinesJohnson Denen2017-04-281-1/+1
| |
| * Parity with non-toggle favourite functionJohnson Denen2017-04-281-4/+5
| | | | | | | | | | | | TODOs: - Boost/unboost toggle function - Store 'favourite-p property on toots
| * Use toggle function approach for favourite/unfavouriteJohnson Denen2017-04-281-31/+22
| | | | | | | | | | | | TODOs: * Will require a boost/unboost toggle impl * Must pass favourite/boosted state to the toggle functions from mastodon-tl
| * made some formating changesAlexander Griffith2017-04-281-2/+2
| |
| * #70 all tabs to spacesAlexander Griffith2017-04-281-4/+4
| |
| * Fixed #70, added mastodon-toot--unfavoriteAlexander Griffith2017-04-281-2/+22
| |
* | Bump to v0.6.2Johnson Denen2017-04-291-1/+1
| |
* | Fix #103: Do not use functions unknown to GNU emacsMarcin Cieślak2017-04-291-4/+4
| | | | | | | | We don't have to depend on CL package, yet
* | Bump to v0.6.1Johnson Denen2017-04-281-1/+1
| |
* | consolidating re-searchesclarkenciel2017-04-281-2/+1
| |
* | making keybinds and names niceclarkenciel2017-04-281-5/+24
| |
* | changing creation of toot buffer so that we don't duplicate docsclarkenciel2017-04-281-3/+5
| |
* | reformatting docs and changing removal func since we can't re-match onclarkenciel2017-04-281-8/+12
| | | | | | | | the "Toot Text:" string
* | removing Toot Text prompt, moving dangling parensclarkenciel2017-04-281-4/+2
| |
* | adding keybinding documentation to the new-toot bufferclarkenciel2017-04-281-1/+57
| |
* | Quick feedback fix on toggle functionsJohnson Denen2017-04-271-2/+2
| |
* | Fix #57 by moving messages into callbacksJohnson Denen2017-04-271-4/+8
| |
* | Add toggle function for boost/unboostJohnson Denen2017-04-271-12/+12
| |
* | Store 'favourited-p and 'boosted-p properties on bylinesJohnson Denen2017-04-271-1/+1
| |
* | Parity with non-toggle favourite functionJohnson Denen2017-04-271-4/+5
| | | | | | | | | | | | TODOs: - Boost/unboost toggle function - Store 'favourite-p property on toots
* | Use toggle function approach for favourite/unfavouriteJohnson Denen2017-04-271-31/+22
| | | | | | | | | | | | TODOs: * Will require a boost/unboost toggle impl * Must pass favourite/boosted state to the toggle functions from mastodon-tl
* | made some formating changesAlexander Griffith2017-04-271-2/+2
| |
* | #70 all tabs to spacesAlexander Griffith2017-04-271-4/+4
| |
* | Fixed #70, added mastodon-toot--unfavoriteAlexander Griffith2017-04-271-2/+22
|/
* Fix DOCSTRING referenceJohnson Denen2017-04-251-1/+1
|