org-mode/lisp
Nicolas Goaziou 14d07c0e7d org-table: Improve tables' speed in large buffers
* lisp/org-table.el (org-table-auto-recalculate-regexp):
(org-table-recalculate-regexp):
(org-table-calculate-mark-regexp):
(org-table-column-names):
(org-table-column-name-regexp):
(org-table-local-parameters):
(org-table-named-field-locations):
(org-table-current-line-types):
(org-table-current-begin-pos):
(org-table-current-ncol):
(org-table-dlines):
(org-table-hlines): Improve docstrings.

(org-table-current-begin-line): Remove variable.

(org-table-save-field): New macro.

(org-table-get-specials): Remove function.
(org-table-analyze): New function, renamed from
`org-table-get-specials'.

(org-table-find-row-type): Remove function.
(org-table--row-type): New function, renamed from
`org-table-find-row-type'.

(org-table-align): Use new macro.

(org-table-field-info):
(org-table-insert-column):
(org-table-delete-column):
(org-table-move-column):
(org-table-sort-lines):
(org-table-paste-rectangle):
(org-table-wrap-region):
(org-table-current-field-formula):
(org-table-get-formula):
(org-table-maybe-recalculate-line):
(org-table-eval-formula):
(org-table-get-range):
(org-table--descriptor-line):
(org-table-recalculate):
(org-table-expand-lhs-ranges):
(org-table-edit-formulas):
(org-table-show-reference):
(org-table-get-remote-range): Apply changes above.  Refactor code.

(org-table-check-inside-data-field):
(org-table-current-column):
(org-table-current-dline):
(org-table-line-to-dline):
(org-table-copy-region):
(org-table-rotate-recalc-marks):
(org-table-fedit-post-command):
(org-table-fedit-convert-buffer):
(org-table-highlight-rectangle): Refactor code.

(org-table-goto-field): New function.

* lisp/org-capture.el (org-capture-place-table-line): Apply change made
  to table internals.

The point of this commit is to remove dependency on `org-current-line'
and `org-goto-line', which are both expensive in large buffers.  Now,
lines are relative to the beginning of the current table instead of
global (i.e., relative to the beginning of the buffer).
2015-08-02 18:01:12 +02:00
..
Makefile
ob-C.el Remove default #includes in Babel C, C++ 2015-03-31 12:05:49 +02:00
ob-J.el ob-J: adapt to new `org-babel-process-params' 2014-08-26 09:16:28 +02:00
ob-R.el ob-R: Allow more :results values 2015-05-19 23:22:11 +02:00
ob-abc.el improve handling of output file types 2013-09-25 09:12:42 -06:00
ob-asymptote.el Update some copyright years 2015-02-16 01:40:07 +01:00
ob-awk.el babel: Remove functions which are never called. 2015-01-23 14:36:40 -05:00
ob-calc.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-clojure.el ob-clojure.el: Fix compatibility issue 2014-10-27 15:26:47 +01:00
ob-comint.el ob-comint.el: Fix bug. 2014-09-01 00:52:13 -04:00
ob-coq.el Fix error messages. 2015-01-26 02:53:15 -05:00
ob-core.el ob-core: Small refactoring 2015-06-17 11:55:57 +02:00
ob-css.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-ditaa.el un-duplicate ditaa eps file name generation 2014-06-06 12:21:56 -04:00
ob-dot.el ob-dot.el: Substitute variables literally 2014-04-16 17:37:00 +02:00
ob-ebnf.el ob-ebnf: Fix copyright and style 2013-10-29 15:18:24 +01:00
ob-emacs-lisp.el ob-asymptote, ob-emacs-lisp: remove spurious declare-function calls. 2015-01-20 18:42:56 -05:00
ob-eval.el ob-eval: Do not use read-only mode, switch to compilation mode only once 2014-09-10 11:22:43 +02:00
ob-exp.el ob-exp: Use `user-error' over `error' when applicable 2015-03-13 09:09:18 +01:00
ob-forth.el ob-forth: Silence byte-compiler 2014-08-14 11:15:37 +02:00
ob-fortran.el Merge branch 'maint' 2014-01-07 14:19:03 +01:00
ob-gnuplot.el ob-gnuplot: Fix error when table contains dates 2014-09-15 13:47:20 +02:00
ob-groovy.el babel: Remove functions which are just indirection around org-babel-script-escape 2015-01-23 14:36:40 -05:00
ob-haskell.el babel: Remove functions which are just indirection around org-babel-script-escape 2015-01-23 14:36:40 -05:00
ob-io.el babel: Remove functions which are just indirection around org-babel-script-escape 2015-01-23 14:36:40 -05:00
ob-java.el Make C, C++, D, Java, Groovy compilers customizable 2014-06-16 11:05:01 -04:00
ob-js.el Merge branch 'maint' 2014-11-22 00:04:51 +01:00
ob-keys.el Org babel: Add function and keybinding to remove result blocks 2014-04-17 08:41:05 +02:00
ob-latex.el ob-latex: Define LaTeX-specific headers 2015-05-27 12:23:59 +02:00
ob-ledger.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-lilypond.el ob-lilypond: Fix a few variables 2015-05-26 21:37:04 +02:00
ob-lisp.el protect lisp code blocks from ending comments 2014-08-03 21:33:13 -04:00
ob-lob.el Update some copyright years 2015-02-16 01:40:07 +01:00
ob-makefile.el Backport Emacs changes from r116063 2014-01-18 09:17:14 +01:00
ob-matlab.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-maxima.el babel: fixes for commit 08e2596 2014-05-15 23:26:30 -04:00
ob-mscgen.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-ocaml.el Update some copyright years 2015-02-16 01:40:07 +01:00
ob-octave.el babel: fixes for commit 08e2596 2014-05-15 23:26:30 -04:00
ob-org.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-picolisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-plantuml.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-processing.el ob-processing.el: Support for Processing language 2015-04-25 10:01:21 +02:00
ob-python.el Update some copyright years 2015-02-16 01:40:07 +01:00
ob-ref.el Fix some copyright years 2015-04-02 11:37:32 +02:00
ob-ruby.el ob-ruby: clean up the session code some more and work around an I/O sync problem in comint 2014-09-21 17:59:49 +02:00
ob-sass.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-scala.el babel: Remove functions which are just indirection around org-babel-script-escape 2015-01-23 14:36:40 -05:00
ob-scheme.el lisp/ob-scheme.el: Fix scheme code blocks execution error in batch mode 2014-05-22 13:14:30 +02:00
ob-screen.el ob-screen, use unpredictable temp file name 2014-05-08 12:19:30 -06:00
ob-sed.el Org Babel now supports sed scripts 2015-05-30 14:59:01 +02:00
ob-shell.el ob-shell: Add missing "sh" to "shell" conversions 2015-07-03 16:17:11 +02:00
ob-shen.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-sql.el ob-sql: Add possibility to set dbport 2015-04-07 22:24:59 +02:00
ob-sqlite.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-table.el ob-table: Updated documentation. 2014-10-04 12:10:49 +02:00
ob-tangle.el ob-tangle: Silence byte-compiler 2015-06-16 00:09:20 +02:00
ob.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-agenda.el Fix message text in `org-toggle-sticky-agenda' 2015-07-04 09:37:16 +02:00
org-archive.el org-archive.el: Add command to archive entries with timestamps before today 2014-12-17 00:08:39 +01:00
org-attach.el org-attach.el: Fix check for git annex 2015-05-17 10:20:58 +02:00
org-bbdb.el Fix BBDB link completion 2014-04-29 11:36:16 +02:00
org-bibtex.el Merge branch 'maint' 2014-06-23 09:45:48 +02:00
org-capture.el org-table: Improve tables' speed in large buffers 2015-08-02 18:01:12 +02:00
org-clock.el org-clock: Add `untilnow' time block 2015-07-04 14:31:34 +02:00
org-colview.el org-colview: Do not silently modify buffer 2015-07-18 09:39:23 +02:00
org-compat.el org-table: Fix table alignment 2015-07-09 17:53:33 +02:00
org-crypt.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-ctags.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-datetree.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-docview.el org-element: Externalize docview links 2015-02-03 23:00:21 +01:00
org-element.el org-element: Fix parsing recursive babel calls 2015-07-03 00:33:45 +02:00
org-entities.el org-entities: Add frowny 2015-07-13 11:40:29 +02:00
org-eshell.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-faces.el org-faces: remove org-copy-face 2014-09-27 23:36:37 -04:00
org-feed.el org-feed.el: Allow current buffer to be indirect 2014-02-18 20:33:34 +01:00
org-footnote.el Silence byte-compiler 2015-05-30 14:28:35 +02:00
org-gnus.el org-gnus.el: silent compiler 2014-06-13 12:26:10 +02:00
org-habit.el org-habit: Add support for "++" and "+" repeater types 2015-03-07 19:29:40 +01:00
org-id.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-indent.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-info.el org-info: Correctly export info links to HTML 2015-04-10 10:39:24 +02:00
org-inlinetask.el org-inlinetask: Fix visibility toggling 2015-05-17 19:22:12 +02:00
org-install.el
org-irc.el Backport typo fixes from Emacs revno r115923 2014-01-09 00:47:40 +01:00
org-list.el org-list: Silence byte-compiler 2015-06-09 17:14:13 +02:00
org-macro.el Silence byte-compiler 2015-05-30 14:28:35 +02:00
org-macs.el Merge branch 'maint' 2015-05-20 08:00:54 +02:00
org-mhe.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-mobile.el org-mobile: Tiny fix in creating index.org file 2015-06-28 09:06:00 +02:00
org-mouse.el Silence byte-compiler 2015-04-22 09:51:52 +02:00
org-pcomplete.el org-pcomplete: Update copyright year 2015-04-22 14:23:19 +02:00
org-plot.el org-plot: Fix empty cells handling 2015-03-15 18:10:43 +01:00
org-protocol.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-rmail.el org-agenda.el (org-agenda-format-item): Don't add the 'effort and 'effort-minutes text properties 2014-05-23 16:51:55 +02:00
org-src.el org-src: Fix `org-(un)escape-code-in-region' 2015-06-02 17:17:17 +02:00
org-table.el org-table: Improve tables' speed in large buffers 2015-08-02 18:01:12 +02:00
org-timer.el org-timer.el: hh:mm:ss format for setting a timer 2015-06-02 23:18:13 +02:00
org-w3m.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org.el Fix org-at-TBLFM-p 2015-08-02 17:56:12 +02:00
ox-ascii.el Merge branch 'maint' 2015-04-29 07:57:07 +02:00
ox-beamer.el ox-beamer: Wrap labels in braces 2015-06-16 21:30:41 +02:00
ox-html.el ox-html: Better customize for org-html-viewport 2015-07-20 10:40:26 +02:00
ox-icalendar.el ox: Deprecate `org-export-get-genealogy' for `org-element-lineage' 2014-11-16 13:30:33 +01:00
ox-latex.el ox-latex: Tiny refactoring 2015-08-02 09:50:45 +02:00
ox-man.el Export back-ends: Use `org-export-file-uri' 2015-04-20 12:37:13 +02:00
ox-md.el Export back-ends: Use `org-export-file-uri' 2015-04-20 12:37:13 +02:00
ox-odt.el ox-odt: Fix defcustom keywords 2015-04-28 00:25:11 +02:00
ox-org.el ox-org: Remove #+DESCRIPTION and #+KEYWORD support 2015-03-29 15:00:33 +02:00
ox-publish.el ox-publish: Allow external references outside of publishing 2015-05-07 22:15:00 +02:00
ox-texinfo.el ox-texinfo: Change output for links to targets with no description 2015-05-30 13:52:26 +02:00
ox.el ox.el: Remove docstring for nonexistent argument 2015-07-25 14:17:49 +02:00