vermiculus / sx.el

Stack Exchange for Emacs
http://stackapps.com/q/3950
711 stars 40 forks source link

Browsing Networks #12

Open vermiculus opened 9 years ago

vermiculus commented 9 years ago

This is closely related to #13, but this is more geared to the general interface described there. #13 is about favoriting networks specifically; this is about displaying them to begin with.

KingShimkus commented 9 years ago

Do you have any thoughts/ideas on how you are going to implement this?

vermiculus commented 9 years ago

Carefully. :)

Not really, actually. I'm going to study Artur's question-mode code to see how he implements sections (maybe, if possible, generalize the concept so we don't duplicate code). I might nix even the ... header lines… we'll see how it looks, I guess.

It's probably just going to be (insert 'this) and (insert 'that) with propertizing, overlaying, and other goodies.

Malabarba commented 9 years ago

Sections are identified with the sx-question-mode--section text property.

If you just make sure to apply this property, the movement code is very general and can be used verbatim.