Re: [O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-25 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > That patch works great! Thanks! Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-20 Thread Kaushal Modi
On Fri, Nov 17, 2017 at 6:30 PM Nicolas Goaziou wrote: > > You may want to test the following rules and report if it fits your use > case. > That patch works great! Thanks! -- Kaushal Modi

Re: [O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-17 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > Again it's a font-locking bug, and thankfully doesn't impact the empasis > detection in exporters. > > Would you please look into fixing this? I cannot. Fixing it would require to rewrite the whole thing to use the parser, so that fontification matches the syntax o

Re: [O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-16 Thread Kaushal Modi
On Thu, Nov 16, 2017 at 4:47 PM Nicolas Goaziou wrote: > At the moment, my suggestion would be to not mess with > `org-emphasis-regexp-components'. > I stayed away from messing with that for the longest time, until a bug got into me to always auto-fill the Org files (as it makes it easier to rea

Re: [O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-16 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I increase the number of consecutive lines to be parsed for Org emphasis to > 20 lines using: > > = > (setcar (nthcdr 4 org-emphasis-regexp-components) 20) ;Up to 20 lines, > (org-set-emph-re 'org-emphasis-regexp-components > org-emphasis-regexp-components) >

[O] Org emphasis markers inside src blocks causes incorrect fontification

2017-11-16 Thread Kaushal Modi
Hello, I increase the number of consecutive lines to be parsed for Org emphasis to 20 lines using: = (setcar (nthcdr 4 org-emphasis-regexp-components) 20) ;Up to 20 lines, (org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components) = With that set, I see that equal