Re: [O] working with tables can be quite painful...

2016-09-22 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I cannot send the actual table I am working on as it relates to grades > for students. I will try to create a similar table with random > entries. You could also try the imperfect (make sure to eyeball the result): (defun scramble-contents () (interactive)

Re: [O] working with tables can be quite painful...

2016-09-20 Thread Eric S Fraga
On Tuesday, 20 Sep 2016 at 08:54, Jacob Nielsen wrote: > Eric S Fraga writes: > > Hi, I've had these lines in my org files for a long time. Perhaps they > help ? > > # -*- cache-long-scans: nil; -*- > # This makes forward-line much faster and thus org-goto-line > # and thus org-table-sum (C-c +)

Re: [O] working with tables can be quite painful...

2016-09-20 Thread Jacob Nielsen
Eric S Fraga writes: Hi, I've had these lines in my org files for a long time. Perhaps they help ? # -*- cache-long-scans: nil; -*- # This makes forward-line much faster and thus org-goto-line # and thus org-table-sum (C-c +) Best regards, Jacob > Hello, > > I am working with a table. It has a

Re: [O] working with tables can be quite painful...

2016-09-19 Thread Michael Welle
Hello, Eric S Fraga writes: > On Monday, 19 Sep 2016 at 12:58, Michael Welle wrote: > > [...] > >> the output of your profiler run doesn't ring a bell, but a few years ago >> I had the problem that after some uptime (my Emacs uptime is typical >> several days, up to a few weeks) Org operations l

Re: [O] working with tables can be quite painful...

2016-09-19 Thread Eric S Fraga
On Monday, 19 Sep 2016 at 12:58, Michael Welle wrote: [...] > the output of your profiler run doesn't ring a bell, but a few years ago > I had the problem that after some uptime (my Emacs uptime is typical > several days, up to a few weeks) Org operations like building the agenda > became slw

Re: [O] working with tables can be quite painful...

2016-09-19 Thread Michael Welle
Hello, Eric S Fraga writes: > On Saturday, 17 Sep 2016 at 08:48, Nicolas Goaziou wrote: > > [...] > >> Could you send a profiler report so that I can get a better glimpse on >> what part of `org-table-align' is lagging? > > Hi Nicolas, > > this morning, working on the same table is much less pai

Re: [O] working with tables can be quite painful...

2016-09-19 Thread Eric S Fraga
On Saturday, 17 Sep 2016 at 08:48, Nicolas Goaziou wrote: [...] > Could you send a profiler report so that I can get a better glimpse on > what part of `org-table-align' is lagging? Hi Nicolas, this morning, working on the same table is much less painful. I've run the profile and did some move

Re: [O] working with tables can be quite painful...

2016-09-19 Thread Eric S Fraga
On Saturday, 17 Sep 2016 at 15:37, Michael Brand wrote: > Hi Eric > > Question, out of curiosity: Is there a difference when you delete all lines > above and below the table, with and without adding a headline above? Hi Michael, Maybe. I know that org's performance improves when I narrow the buf

Re: [O] working with tables can be quite painful...

2016-09-17 Thread Michael Brand
Hi Eric Question, out of curiosity: Is there a difference when you delete all lines above and below the table, with and without adding a headline above? One of my tables fluctuates around 150 rows and around 20 to 40 columns, overall a few hundred characters wide (columns with some history window

Re: [O] working with tables can be quite painful...

2016-09-17 Thread Adam Porter
In case this helps anyone, I've found this code makes profiling a lot easier. It automatically instruments the desired functions, runs the code you want to test, removes the instrumentation, and presents the results. #+BEGIN_SRC elisp (defmacro profile-org (times &rest body) `(let (output)

Re: [O] working with tables can be quite painful...

2016-09-17 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I am working with a table. It has approximately 130 rows and 20 columns > so it's not huge but also not small. Three columns are text but the > rest are all numbers with some degree of sparsity. Instrumenting org > while working on this table, manipulating the en