Thanks Jacob,
I'm using 4.11-final. I fixed it myself:
511c511
< self.kind = 'rst' # in self.dispatch_dict.keys()
---
> self.kind = c.config.getString('view-rendered-default-kind') or
'rst' # in self.dispatch_dict.keys()
524d523
< self.default_kind =
c.config.getString('view-rendered-default-kind') or 'rst'
1089c1088
< return pc.kind # The default.
---
> return pc.kind
I'm not familiar with bzr, so I'm not going to live on the bleeding edge
just yet, but I'm happy with my fix so far.
Thanks
Jack
On Thursday, January 2, 2014 4:14:46 PM UTC-5, Jacob Peck wrote:
>
> On 1/2/2014 3:56 PM, Jack Kuan wrote:
> > ok, after looking at the code, I see that the plugin actually never
> > look at the setting! It simply determines the kind of node from the
> > headline of the node or returns self.kind if the headline is not at
> > directive(starts with @). self.kind is set to 'rst' during plugin init
> > and never gets updated.
> Which release of Leo are you using? That was a long standing bug that I
> recently fixed... bzr rev 6415 should work as intended. If you're on
> 4.11-final, you won't have the fix yet.
>
> If you replace it either with the version from launchpad, or with
> Terry's nightly snapshot (http://www.greygreen.org/leo/), you'll have
> the fix in place. The newer code works as intended, i.e. '@string
> view-rendered-default-kind = md' actually does something.
>
> Sorry for the confusion!
> -->Jake
>
>
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" 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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.