Hello, Gustavo Barros <gusbrs.2...@gmail.com> writes:
> You have a good point here. When I made the suggestion I was naively > thinking the featured could be plugged/hooked somewhere in Org, when > fontification is done. But that's not really true, as the feature > requires being run every time the point moves too. So, as far as > I can tell, it seems using post-command-hook is unavoidable, and if > so, you are right in not wanting to add some load to it for everyone, > regardless of whether they want this feature or not. You and Kyle > have me convinced here. Sorry for being late to the party, but, IMO, this doesn't sound like a right approach to the problem of invisible emphasis markers. A user choosing to hide emphasis markers should not need to—or even be given the opportunity to—display them in order to edit them efficiently. I think we should upgrade `org-emphasize' command instead, so it handles both marker visibility states in a DWIM, or in a word processor, fashion. Indeed, since emphasis markers of a given type cannot be nested in Org, the WIM part is usually easy to guess, according to the context, i.e., the syntax at point, and the region. I have some draft lying somewhere in that direction. WDYT? Regards, -- Nicolas Goaziou