Comments (5)
Hi @dangom! Interesting, I remember having played with the thought before, but never went through with looking too deeply into it. I'll have to play a little with this myself before being able to give a thorough answer, but I remember there was a technical issue why I didn't implement it immediately. I'll keep you updated!
from org-superstar-mode.
I was thinking in similar lines, wanting to have some more control over the display of bullets (specifically if it would be possible to add a face to the todo bullets). What I thought of then was to just use the display
property instead of compose
. Seemed to work (outdated and ugly testing branch here, but I'm confused why it worked without adding display
to font-lock-extra-managed-props
). But I suppose there is a good reason for using compose over display that I have missed (Maybe relating to indentation?).
from org-superstar-mode.
Right, I forgot about the display
property entirely, there was indeed something. The fact you found this discussion regarding Prettify Symbols mode is no coincidence. A lot of the structural decisions made both in Org Superstar and Org Bullets strongly relates to Prettify Symbols, in fact that is why the internals use the prettify/unprettify nomenclature. You can find a more elaborate explanation of the moving parts of Superstar here, where I outlined a recipe to create similar modes for different outline modes. I hope to see things like md-bullets
spring from it someday.
Seemed to work (outdated and ugly testing branch here, but I'm confused why it worked without adding display to font-lock-extra-managed-props)
It also may be that display
is already added to the properties Font Lock is bookkeeping by default, but that is mere conjecture.
from org-superstar-mode.
I also find this comment particularly interesting, I believe this calls for another Issue until I had a talk with the Emacs mailing list.
UPDATE: I opened a new Issue for this, see below.
from org-superstar-mode.
Good news! It may be the case that this feature may become possible in the future, when I migrate from compose to display!
I will, however, have to put in a decent amount of legwork first. See #25 for more details.
from org-superstar-mode.
Related Issues (20)
- Not all bullets are displayed correctly HOT 3
- Huge slowdown on emacs 27.1 HOT 5
- Pretty tables using box drawing characters HOT 7
- I it possible to have the leading bullets the same as the non-leading bullets? HOT 1
- Replace the TODO and DONE keywords with unicode? HOT 2
- org-superstar-item face is only applied to star-items HOT 1
- Disable heading superstar HOT 1
- allow emojify-mode to overrule org-bullets
- [feature request] hide ALL stars/bullets for some heading-levels HOT 2
- src block output not fontified with org-superstar HOT 1
- change item bullet by its level, not its bullet char
- Unicode icons not rendering the same when in daemon mode HOT 3
- org-superstar is automatically deactivated after file saving HOT 2
- What is the configuration for the appearance of the picture in the readme? HOT 1
- Readme not correct. HOT 1
- Wrong bullet rendering with Iosevka HOT 3
- custom to apply text-property to bullets
- (setq org-startup-with-inline-images t) breaks org-superstar (when opening a new document) HOT 1
- Level 3 and 6 Headings' icon look off HOT 1
- Ctrl-a Doesn't Work Right
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 org-superstar-mode.