synchrony / smsn

Semantic Synchrony. An experiment in cognitive and sensory augmentation.
Other
179 stars 15 forks source link

How to display parent and child nodes count next to nodes in current view #59

Open montaropdf opened 3 years ago

montaropdf commented 3 years ago

Hello,

In the various video presenting smsn, I have not found the functions to call or variables to set, in order to display the count of parents and children of a given node.

Can you please advise how to achieve such feat?

joshsh commented 3 years ago

There is actually no setting for hiding the right margin (which displays the parent and child counts), so I am curious what it is about your Emacs client which is causing the margin not to be displayed. FYI, the code which adds the "meta" column starts on line 146 of smsn-view.el. Is there anything else which is different in your environment, e.g. limited colors, no line numbers, etc.?

montaropdf commented 3 years ago

I will have look at the code.

With regard to the color scheme, I use the doom-nord-theme. My emacs setup is quite big, so I wouldn't be surprised if somethin interfere. with smsn-mode.

JeffreyBenjaminBrown commented 3 years ago

If you had a way to run a separate sandboxed Emacs, you could check whether smsn + default config works. If so, then you could gradually* add in your real config to pin down where the conflict is.

*ideally using a bisection strategy, to reduce the time needed to O(log n)

montaropdf commented 3 years ago

I have tried disabling my theme but it change nothing, I don't know the text property API of emacs, so I really don't know where to look at.

All I can do is providing a link to my configuration, in case you can easily spot the culprit.

My global dot files: https://github.com/montaropdf/dotfiles

The 2 locations that are related to the emacs configuration on the host where I run the editor: https://github.com/montaropdf/dotfiles/tree/master/dotfiles/plain/common/.config/emacs/core https://github.com/montaropdf/dotfiles/tree/master/dotfiles/plain/work/.config/emacs/localhost

To add more context, my machine is a CentOS 8.