summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
23 hoursorg-table: Fix inserting a new rowHEADmasterNicolas Goaziou2-6/+43
* lisp/org-table.el (org-table-insert-row): Fix inserting a new row when the buffer doesn't end with a newline character. Tiny refactoring. * testing/lisp/test-org-table.el (test-org-table/next-field): New test.
32 hoursob-tangle: Fix jump from tangle to orgMarco Wahl1-1/+2
* lisp/ob-tangle.el (org-babel-tangle-jump-to-org): Fix the jump from a tangled part to the respective org in the case when an org-id defines the linking. The recent (buggy) behavior was to find the file which has the org-id as filename.
3 daysSilence byte-compilerNicolas Goaziou1-0/+2
3 daysMove obsolete function to "org-compat"Nicolas Goaziou2-9/+10
* lisp/org.el (org-in-fixed-width-region-p): Move to... * lisp/org-compat.el (org-in-fixed-width-region-p): ... here.
3 daysox-latex: tiny refactoring.Aaron Ecay1-1/+1
* lisp/ox-latex.el (org-latex--insert-compiler): Refactor.
3 daysorg.el: Omit redundant optional argumentAaron Ecay1-1/+1
* lisp/org.el (org-ctrl-c-ctrl-c): Omit redundant optional argument to `local-variable-p'.
3 daysorg.el: assume `display-warning' is definedAaron Ecay1-11/+2
* lisp/org.el (org-display-warning): Assume `display-warning' is defined. It is present in emacs since at least 2002
3 daysorg.el: obsolete org-in-fixed-width-region-pAaron Ecay2-1/+5
* lisp/org.el (org-in-fixed-width-region-p): Make obsolete. It has no calls in core or contrib, and its function would be better served by using the parser.
3 daysorg.el: Assume `command-remapping' is defined.Aaron Ecay1-3/+1
* lisp/org.el (org-remap): Assume `command-remapping' is defined. It was added to emacs in 2003.
3 daysTiny refactoringAaron Ecay1-8/+4
* lisp/org.el: (org-dvipng-color, org-latex-color): Use *-color-format functions. (org-dvipng-color-format, org-latex-color-format): Use sharp-quotes.
4 daysFix some `cl-case' usesNicolas Goaziou2-40/+41
* lisp/org-capture.el (org-capture-finalize): * lisp/org-timer.el (org-timer-set-mode-line): Symbols need not be quoted in `cl-case'.
4 daysFix docstring typo.Aaron Ecay1-1/+1
* lisp/org.el (org-shorten-string): Fix docstring typo.
4 daysUse ‘eq’ instead of ‘equal’ for symbolsAaron Ecay18-54/+55
* lisp/ob-C.el (org-babel-C-val-to-C-type): * lisp/ob-core.el (org-babel-get-colnames): (org-babel-disassemble-tables): * lisp/ob-lua.el (org-babel-lua-var-to-lua): (org-babel-lua-table-or-string): * lisp/ob-python.el (org-babel-python-var-to-python): (org-babel-python-table-or-string): * lisp/ob-ruby.el (org-babel-ruby-var-to-ruby): (org-babel-ruby-table-or-string): * lisp/ob-shell.el (org-babel-sh-var-to-string): * lisp/ob-sqlite.el (org-babel-sqlite-table-or-scalar): * lisp/org-agenda.el (org-agenda-prepare-window): (org-compile-prefix-format): * lisp/org-bibtex.el (org-bibtex-headline): * lisp/org-capture.el (org-capture): * lisp/org-colview.el (org-columns-next-allowed-value): * lisp/org-mhe.el (org-mhe-store-link): (org-mhe-get-message-real-folder): (org-mhe-get-message-folder): (org-mhe-get-message-num): (org-mhe-get-header): (org-mhe-follow-link): * lisp/org-table.el (org-define-lookup-function): * lisp/org.el (format-spec): * lisp/ox-odt.el (org-odt--translate-description-lists): * lisp/ox-publish.el (org-publish-compare-directory-files): Use `eq' instead of `equal' when comparing to symbols. * lisp/org-timer.el (org-timer-set-mode-line): * lisp/org-capture.el (org-capture-finalize): Use `cl-case' instead of `(cond ((eq x 'foo) ...) ...)'.
5 daysSilence byte-compilerNicolas Goaziou3-22/+24
* lisp/org-faces.el (org-src-block-faces): Move it from here... * lisp/org-src.el (org-src-block-faces): ... to here.
6 daysTiny refactoringNicolas Goaziou1-2/+1
* lisp/org.el (org-edit-special): Tiny refactoring.
6 daysFix a docstringNicolas Goaziou1-3/+3
* lisp/org.el (org-copy-special): Fix docstring. Tiny refactoring.
6 daysFix a docstringNicolas Goaziou1-3/+3
* lisp/org.el (org-cut-special): Fix docstring. Tiny refactoring.
6 dayscontrib: Use assq instead of assoc with quoted symbolsAaron Ecay2-59/+58
6 daysUse assq instead of assoc with quoted symbolsAaron Ecay5-22/+22
* lisp/ob-core.el (org-babel-merge-params): * lisp/org-agenda.el (org-agenda-prepare-window): (org-agenda-to-appt): * lisp/org-capture.el (org-capture-finalize): * lisp/org.el (org-find-invisible-foreground): (org-open-file): (org-todo-trigger-tag-changes): (org-back-over-empty-lines): * lisp/ox-odt.el (org-odt-get-table-cell-styles): Use assq instead of assoc with quoted symbols.
6 dayscontrib, test suite: use assq instead of assoc for :keywordsAaron Ecay13-173/+172
6 daysUse assq instead of assoc for :keywordsAaron Ecay47-269/+269
* lisp/ob-C.el (org-babel-C-execute): * lisp/ob-J.el (org-babel-execute:J): * lisp/ob-R.el (org-babel-edit-prep:R): (org-babel-expand-body:R): (org-babel-execute:R): (org-babel-variable-assignments:R): (org-babel-R-initiate-session): * lisp/ob-abc.el (org-babel-execute:abc): * lisp/ob-asymptote.el (org-babel-execute:asymptote): * lisp/ob-awk.el (org-babel-execute:awk): * lisp/ob-clojure.el (org-babel-expand-body:clojure): (org-babel-execute:clojure): * lisp/ob-core.el (org-babel-expand-body:generic): (org-babel-load-in-session): (org-babel-initiate-session): (org-babel-open-src-block-result): (org-babel-process-params): (org-babel-insert-result): (org-babel-expand-noweb-references): * lisp/ob-ditaa.el (org-babel-execute:ditaa): * lisp/ob-dot.el (org-babel-execute:dot): * lisp/ob-ebnf.el (org-babel-execute:ebnf): * lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): (org-babel-execute:emacs-lisp): * lisp/ob-exp.el (org-babel-exp-process-buffer): (org-babel-exp-do-export): (org-babel-exp-code): * lisp/ob-forth.el (org-babel-execute:forth): * lisp/ob-fortran.el (org-babel-execute:fortran): * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): (org-babel-expand-body:gnuplot): (org-babel-execute:gnuplot): * lisp/ob-groovy.el (org-babel-execute:groovy): * lisp/ob-haskell.el (org-babel-execute:haskell): * lisp/ob-io.el (org-babel-execute:io): * lisp/ob-java.el (org-babel-execute:java): * lisp/ob-js.el (org-babel-execute:js): * lisp/ob-latex.el (org-babel-execute:latex): * lisp/ob-ledger.el (org-babel-execute:ledger): * lisp/ob-lilypond.el (org-babel-lilypond-process-basic): * lisp/ob-lisp.el (org-babel-expand-body:lisp): (org-babel-execute:lisp): * lisp/ob-lua.el (org-babel-execute:lua): * lisp/ob-maxima.el (org-babel-execute:maxima): * lisp/ob-mscgen.el (org-babel-execute:mscgen): * lisp/ob-ocaml.el (org-babel-execute:ocaml): * lisp/ob-octave.el (org-babel-execute:octave): * lisp/ob-org.el (org-babel-execute:org): * lisp/ob-perl.el (org-babel-execute:perl): * lisp/ob-picolisp.el (org-babel-execute:picolisp): * lisp/ob-plantuml.el (org-babel-execute:plantuml): * lisp/ob-python.el (org-babel-execute:python): * lisp/ob-ruby.el (org-babel-execute:ruby): * lisp/ob-sass.el (org-babel-execute:sass): * lisp/ob-scala.el (org-babel-execute:scala): * lisp/ob-scheme.el (org-babel-execute:scheme): * lisp/ob-screen.el (org-babel-execute:screen): (org-babel-prep-session:screen): * lisp/ob-shell.el (org-babel-execute:shell): (org-babel-variable-assignments:shell): (org-babel-sh-evaluate): * lisp/ob-shen.el (org-babel-execute:shen): * lisp/ob-sql.el (org-babel-execute:sql): * lisp/ob-sqlite.el (org-babel-execute:sqlite): * lisp/ob-tangle.el (org-babel-tangle): (org-babel-tangle-single-block): * lisp/org-src.el (org-src-associate-babel-session): * lisp/org.el (org-next-link): Use `assq' instead of `assoc' with :keyword keys.
7 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
7 daysorg-expiry: Fix the call to `org-expiry-handler-function'maintKonubinix1-1/+1
* contrib/lisp/org-expiry.el (org-expiry-process-entry): Fix the call to `org-expiry-handler-function'. `org-expiry-handler-function' is meant to be a variable containing the symbol of a function to be called. Therefore, calling (funcall 'org-expiry-handler-function) results in a void function error while (funcall org-expiry-handler-function) correctly calls the contained function.
7 daysIndicate what happens to CLOCK entries in cloned subtreesKonubinix1-0/+3
* lisp/org.el (org-clone-subtree-with-time-shift): Add into the documentation string a precision about the deletion of the CLOCK entries into the cloned subtrees. Indicate the rationale for this decision.
7 daysORG-NEWS support of header argument for postgresqlJakob Lombacher1-0/+3
7 daysorg-faces: Fix a docstringNicolas Goaziou1-1/+1
* lisp/org-faces.el (org-src-block-faces): Fix quote in docstring.
7 daysorg-src: Tiny fixNicolas Goaziou1-1/+1
* lisp/org-src.el (org-src-font-lock-fontify-block): Ensure LANG is case insensitive.
8 daysFix e03e837Rasmus1-2/+2
* lisp/org-src.el (org-src-font-lock-fontify-block): Fix typos and silence byte-compiler.
8 daysorg-src: New syntax for source blocks facesRasmus4-17/+38
* doc/org.texi (Editing source code): Document changes. * lisp/org-faces.el (org-block): Update docstring. (org-src-block-faces): New defcustom for source-block faces. * lisp/org-src.el (org-src-font-lock-fontify-block): Use org-src-block-faces. * etc/ORG-NEWS: Update NEWS entry.
11 daysAdd tests for Org LintNicolas Goaziou1-0/+479
* testing/lisp/test-org-lint.el: New file.
11 daysorg-lint: Fix Babel header arg value checkerNicolas Goaziou1-29/+16
* lisp/org-lint.el (org-lint-wrong-header-value): Do not merge in default values for header arguments, since we are only checking those defined in the buffer.
11 daysorg.texi: Document smart quotes behaviorNicolas Goaziou1-1/+4
* doc/org.texi (Export settings): Explain smart quotes behavior.
11 daysMerge branch 'maint'Kyle Meyer1-4/+0
11 daysMerge branch 'maint'Kyle Meyer0-0/+0
11 days`org-open-line' ignores tables at the very beginning of the documentNicolas Goaziou3-9/+39
* lisp/org.el (org-open-line): Ignore tables at the very beginning of the document. * testing/lisp/test-org.el (test-org/open-line): New test.
11 daysBackport commit 2c05061 from EmacsMichael Albinus1-6/+1
* lisp/ob-core.el (org-babel-local-file-name): Use `file-remote-p'. Add `make-nearby-temp-file' and `temporary-file-directory' 2c0506173d92dd9d6de409a045668c6b5cf1fcef Michael Albinus Sun Aug 7 13:57:23 2016 +0200
11 daysorg.texi: Fix typoNicolas Goaziou1-1/+1
* doc/org.texi (Special symbols): Fix typo.
12 daysorg.texi: Move subscripts section outside of Embedded LaTeX sectionNicolas Goaziou1-34/+32
* doc/org.texi (Subscripts and superscripts): Move outside of Embedded LaTeX section. Document multi-words sub- superscripts.
12 daysorg.texi: Improve special symbols sectionNicolas Goaziou1-45/+58
* doc/org.texi (Special symbols): Add details about `org-entities-help' and entities as a way to escape characters in Org. Also move the section outside of LaTeX markup.
12 daysorg.texi: Remove useless footnoteNicolas Goaziou1-3/+2
* doc/org.texi (OpenDocument Text export): Remove useless reference to old Org releases since the manual is tied to a specific version.
12 daysob-sql: Add dbport and dbpassword options to postgresqlJakob Lombacher1-10/+14
* lisp/ob-sql.el (org-babel-sql-dbstring-postgresql): Add port parameter. (org-babel-execute:sql): Handle password and port in `postgresql' SQL engine. TINYCHANGE.
12 daysorg.el: Respect user-defined reftex-cite-formatNicolas Goaziou1-2/+0
* lisp/org.el (org-reftex-citation): Respect user-defined reftex citation formats. Suggested-by: Sebastian Boehm <sebastian@sometimesfood.org> <http://permalink.gmane.org/gmane.emacs.orgmode/109175>
2016-09-14ob-J: Add missing keywords in defcustomNicolas Goaziou1-6/+7
* lisp/ob-J.el (org-babel-J-command): Add missing keywords.
2016-09-14ORG-NEWS: update about babel JMarco Wahl1-2/+7
2016-09-14ob-J: allow also letter 'j' indicate J codeMarco Wahl1-0/+2
* lisp/ob-J.el (org-babel-execute:j): Make `org-babel-execute:j' an alias of `org-babel-execute:J'. This allows to use the letter 'j' (and not only 'J') to identify the J-language for a source-block. Note: The source-block marked with 'j' gets the highlighting according j-mode.
2016-09-14ob-J: New variable to specify the call to JMarco Wahl1-1/+8
* lisp/ob-J.el (org-babel-J-command): New custom variable `org-babel-J-command' to store the command to call J.
2016-09-12ob-maxima-test.org: Fix maxima testMarco Wahl1-0/+1
* testing/examples/ob-maxima-test.org: Silence maxima to suppress lines containing disturbing information. (Actually this has already been fixed in the master branch some time ago. I just noticed that the same issue is present on the maint branch.)
2016-09-12Merge branch 'maint'Marco Wahl1-3/+6
2016-09-12org-agenda: Skip invisible line at bulk markingMarco Wahl1-3/+6
* lisp/org-agenda.el (org-agenda-bulk-mark-regexp): When point is on an invisible part move point ahead one line (and don't mark that line.)
2016-09-07org-compat: Silence byte-compilerNicolas Goaziou1-1/+9