Re: [BUG] HTML export of buffer with fringe indicators

2022-05-21 Thread Ihor Radchenko
Daniel Fleischer writes: > Ihor Radchenko [2022-05-20 Fri 16:36] wrote: > >> I am unable to reproduce your problem on my side using the following >> steps. > > Ok, thanks anyway. BTW, even the steps you took are useful for me for future > debugging. It is exactly the reason I listed the steps

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-21 Thread Daniel Fleischer
Ihor Radchenko [2022-05-20 Fri 16:36] wrote: > I am unable to reproduce your problem on my side using the following > steps. Ok, thanks anyway. BTW, even the steps you took are useful for me for future debugging. Best, Daniel Fleischer

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-20 Thread Ihor Radchenko
Daniel Fleischer writes: > Ihor Radchenko [2022-05-19 Thu 21:43] wrote: > >> What if you try to run M-: (htmlize-buffer) >> on your file? > > It works, creating an HTML buffer that can be opened and looks good. Then I have no more ideas. I am unable to reproduce your problem on my side using

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-19 Thread Daniel Fleischer
Ihor Radchenko [2022-05-19 Thu 21:43] wrote: > What if you try to run M-: (htmlize-buffer) > on your file? It works, creating an HTML buffer that can be opened and looks good. -- Daniel Fleischer

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-19 Thread Ihor Radchenko
Daniel Fleischer writes: > Ihor Radchenko [2022-05-18 Wed 20:54] wrote: > >> Can you set debug-on-error to t and share the full backtrace? > > Attached. > ... > htmlize-buffer-1() What if you try to run M-: (htmlize-buffer) on your file? Best, Ihor

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-18 Thread Daniel Fleischer
Ihor Radchenko [2022-05-18 Wed 20:54] wrote: > Can you set debug-on-error to t and share the full backtrace? Attached. Debugger entered--Lisp error: (args-out-of-range " " 0 -3) substring(" " 0 -3) (cons (substring text strpos addpos) textlist) (setq textlist (cons (substring text strpos a

Re: [BUG] HTML export of buffer with fringe indicators

2022-05-18 Thread Ihor Radchenko
Daniel Fleischer writes: > Have `elpy' installed with enabled fringe markers (have > `elpy-folding-fringe-indicators' non-nil). Then try to export, say to > HTML. I get the error > > cons: Args out of range: " ", 0, -3 Can you set debug-on-error to t and share the full backtrace? Best, Ihor

[BUG] HTML export of buffer with fringe indicators

2022-05-17 Thread Daniel Fleischer
The case I have in mind is some code with folding indicators in the fringe. E.g. have this python block: #+begin_src python def hi(): pass #+end_src Have `elpy' installed with enabled fringe markers (have `elpy-folding-fringe-indicators' non-nil). Then try to export, say to HT