Hi,

Thank you for comment.

> What's the rationale for taking a class rather than an instance?

Since 2.1, we added `:force:` option to some directives for
code-blocks. As a result, we need to control the option of lexers for
each code-block.
It is hard to control for already instantiated lexers. So they don't
use the option.
This is why I need the not instantiated lexers.

Note: I though the support will be dropped since 4.0, not 3.0. (Is my
English in changes correct?)

>It seems that one might have a lexer class with options and one might want to 
>instantiate it with specific options before handing it to Sphinx.

Could you let me know what option do you pass to lexers? I will
reconsider how to incorporate it to sphinx-core.

Thanks,
Takeshi KOMIYA

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFmkQAP0czmSD2UNM6P50--jSHtYbujgh%2BK%2BcPfN%2BDQd4ZmpKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to