Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Eric S Fraga writes: > On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: > > [...] > >> With a 13MO file, with 500 headlines, each containing about 100 >> paragraphs, editing the end of the last paragraph (unfill/fill) >> is just very fast. > > What about editing at the start of the file? Very

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > Eric S Fraga writes: > >> On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: >> >> [...] >> >>> With a 13MO file, with 500 headlines, each containing about 100 >>> paragraphs, editing the end of the last paragraph (unfill/fill) >>> is just very fast. >> >> What about editing at

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Eric S Fraga
On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: [...] > With a 13MO file, with 500 headlines, each containing about 100 > paragraphs, editing the end of the last paragraph (unfill/fill) > is just very fast. What about editing at the start of the file? -- : Eric S Fraga (0xFFFCF67D), Emacs 2

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Nicolas Goaziou writes: > Bastien writes: > >> How can I test it manually to really _notice_ the difference between >> using the cache and not using it? > > Create a buffer with a large section (or no section at all). > > Edit the end of the section (e.g., fill paragraphs) ... With a 13MO file,

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > How can I test it manually to really _notice_ the difference between > using the cache and not using it? Create a buffer with a large section (or no section at all). Edit the end of the section (e.g., fill paragraphs) ... Regards,

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > It makes `org-element-context'/`org-element-at-point' very fast in > almost every situation. This is of course the most noticeable when > editing large sections. How can I test it manually to really _notice_ the difference between using the cache and not us

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Hello, Bastien writes: > I also had a lot of these recently. I posted some tricks on the ML to help debug the problem. Also, a single cache corruption can lead to many error reports (basically whenever a command relying on `org-element-at-point' is used). > I'm now turning org-element-use-cach

Re: [O] element-debug-mode breaks capture

2015-08-18 Thread Bastien
Samuel Wales writes: > in maint when i capture, i often get this: > > Error running timer `org-element--cache-sync': (wrong-type-argument > integer-or-marker-p nil) I also had a lot of these recently. I'm now turning org-element-use-cache off and I don't see real issue when not using it. Nic

[O] element-debug-mode breaks capture

2015-08-16 Thread Samuel Wales
in maint when i capture, i often get this: Error running timer `org-element--cache-sync': (wrong-type-argument integer-or-marker-p nil) so i run element-debug-mode on the base buffer of the capture. but then capture stops working: Debugger entered--Lisp error: (error "Capture abort: (wrong-ty