Comments (5)
(mastodon-profile--get-preferences-pref 'reading:expand:spoilers)
returns the desired value.
the test in mastodon.el
is at https://codeberg.org/martianh/mastodon.el/src/commit/dfc40c0bc2c8f1653ca71335b6ad99230f38067e/lisp/mastodon-tl.el#L1028
from mastodon-alt.
@mooseyboots Thanks -- this evaluates to :json-false
, which I believe is the correct value. So I guess the next step is to use this condition to re-implement this test in mastodon-alt
.
from mastodon-alt.
Thanks, I'll look into that or @deen1, do you want to make a PR? I think thie line needs to be modified.
from mastodon-alt.
@rougier I tried to adjust the line by doing
(mastodon-alt-tl--folding-box content
mastodon-alt-tl-box-width
nil
(eq :json-false
(condition-case nil
(mastodon-profile--get-preferences-pref
'reading:expand:spoilers)
(error nil)))
mastodon-alt-tl-box-prefix)
but this just seems to break boxes for boosts rather than fix CWs -- is it this line that needs to be fixed?
EDIT: Yes, that seemed to do the trick for me. Maybe the pull request #16 will work for everyone?
from mastodon-alt.
Just merged it!
from mastodon-alt.
Related Issues (9)
- Seems to be a mismatch with `mastodon-alt` vs `mastodon-alt-tl` HOT 1
- Display of toots with line break HOT 16
- Difference in display from Codeberg Readme HOT 2
- Fixing spillover of toot status HOT 5
- Renamed defuns in latest matodon 1.0.13 HOT 4
- Colour of box borders HOT 2
- Compute right-aligned status indicators not in characters, but pixels? HOT 4
- Counters and Indicator for Boost, Favourite and Bookmark HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mastodon-alt.