org-mode.git
10 hours agoMerge branch 'maint' master
Rasmus [Sun, 30 Aug 2015 07:41:40 +0000]
Merge branch 'maint'

10 hours agoorg-mime: Use `compose-mail' to send mail maint
Erik Hetzner [Sun, 30 Aug 2015 05:12:20 +0000]
org-mime: Use `compose-mail' to send mail

* contrib/lisp/org-mime.el (org-mime-compose): Use `compose-mail' to
send mail.  Allows customization via `mail-user-agent'.

TINYCHANGE

29 hours agoox-koma-letter: Sometimes prefer special heading
Rasmus [Sat, 29 Aug 2015 12:02:42 +0000]
ox-koma-letter: Sometimes prefer special heading

* ox-koma-letter.el (org-koma-letter--keyword-or-headline):
  New function.
  (org-koma-letter-template): Use new function.
  (org-koma-letter-opening, org-koma-letter-closing)
  (org-koma-letter-signature)
  (org-koma-letter-headline-is-opening-maybe): Update docstring.

If both org-koma-letter-headline-is-opening-maybe and
org-koma-letter-prefer-special-headings is non-nil, always prefer
special headline title for opening and closing.

2 days agoMerge branch 'maint'
Nicolas Goaziou [Thu, 27 Aug 2015 18:55:54 +0000]
Merge branch 'maint'

2 days agoorg.texi: Fix typo
Jorge A. Alfaro Murillo [Tue, 25 Aug 2015 19:12:43 +0000]
org.texi: Fix typo

* doc/org.texi (Extracting source code): Fix typo.

3 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 26 Aug 2015 20:23:23 +0000]
Merge branch 'maint'

3 days agoFix column view display when editing a property
Nicolas Goaziou [Wed, 26 Aug 2015 20:18:21 +0000]
Fix column view display when editing a property

* lisp/org.el (org-insert-property-drawer): Ensure insertion of new
  property drawer happens in current entry so as to not mess with next's
  overlays.

Reported-by: Dale <dale@codefu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/100508>

4 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 26 Aug 2015 12:13:59 +0000]
Merge branch 'maint'

4 days agoox-html: Fix center block class
Rasmus [Tue, 25 Aug 2015 23:14:15 +0000]
ox-html: Fix center block class

* ox-html.el (org-html-center-block): Correct class.

Reported-by: j_l_domenech@yahoo.com
<http://permalink.gmane.org/gmane.emacs.bugs/105805>

4 days agoox-html: Fix center block class
Rasmus [Tue, 25 Aug 2015 23:14:15 +0000]
ox-html: Fix center block class

* ox-html.el (org-html-center-block): Correct class.

Reported-by: j_l_domenech@yahoo.com
<http://permalink.gmane.org/gmane.emacs.bugs/105805>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 25 Aug 2015 13:04:59 +0000]
Merge branch 'maint'

5 days agoorg-indent: Remove extra column in indentation
Nicolas Goaziou [Tue, 25 Aug 2015 13:03:59 +0000]
org-indent: Remove extra column in indentation

* lisp/org-indent.el (org-indent-set-line-properties): Fix virtual
  indentation computation.

Reported-by: Eric S Fraga <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/100483>

5 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 25 Aug 2015 12:46:38 +0000]
Merge branch 'maint'

5 days agoox: Fix uninterpreted data in captions
Nicolas Goaziou [Tue, 25 Aug 2015 11:59:03 +0000]
ox: Fix uninterpreted data in captions

* lisp/ox.el (org-export--remove-uninterpreted-data-1): Handle
  uninterpreted data in captions.

* testing/lisp/test-ox.el (test-org-export/uninterpreted): Add tests.

Reported-by: Johannes Rainer <johannes.rainer@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100476>

5 days agoAdd news about org-agenda-insert-diary-strategy
Nikolai Weibull [Tue, 25 Aug 2015 05:52:14 +0000]
Add news about org-agenda-insert-diary-strategy

5 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 24 Aug 2015 20:50:48 +0000]
Merge branch 'maint'

5 days agoFix agenda follow mode to work with included diary
Matt Lundin [Mon, 24 Aug 2015 15:31:49 +0000]
Fix agenda follow mode to work with included diary

* lisp/org-agenda.el (org-agenda-goto): Fix function to work with
  non-Org buffers.  Otherwise `org-agenda-follow-mode' does not work
  correctly with included diary entries (e.g., it errors out while the
  cursor is still in the diary buffer).

Follow mode does not work with diary entries in the agenda.  It calls
`org-agenda-goto', which expects to be in an Org mode buffer but does not
test to make sure that it is in an Org buffer.  As a result, it errors
out midway through and leaves the cursor stranded in the diary buffer.

5 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 24 Aug 2015 20:44:25 +0000]
Merge branch 'maint'

5 days agoorg-notify: Fix compatibility with latest org-element (uppercase properties)
Peter Münster [Mon, 24 Aug 2015 13:47:13 +0000]
org-notify: Fix compatibility with latest org-element (uppercase properties)

* contrib/lisp/org-notify.el (org-notify-make-todo): Properties from
  org-element are all uppercase now.
* (org-notify-maybe-too-late): Fix typo in docstring (thanks to davemq,
  https://github.com/p-m/org-notify/issues/3).

5 days agoAllow inserting diary entries last in date tree
Nikolai Weibull [Mon, 24 Aug 2015 08:40:58 +0000]
Allow inserting diary entries last in date tree

* org-agenda.el (org-agenda-insert-diary-strategy): Add new value
  'date-tree-last.
  (org-agenda-insert-diary-make-new-entry): Handle
  `org-agenda-insert-diary-strategy' set to 'date-tree-last.

To allow for diary entries to be entered in time order in the date tree,
add a new value to `org-agenda-insert-diary-strategy' that allows for
this.  The code for handling this value, 'date-tree-last, is a bit
tricky, as we need to keep track of whether the date-tree already had
one or more entries for the given date.

6 days agoMerge branch 'maint'
Kyle Meyer [Mon, 24 Aug 2015 04:12:43 +0000]
Merge branch 'maint'

6 days agoorg-footnote-action: Handle nil context
Kyle Meyer [Mon, 24 Aug 2015 04:10:54 +0000]
org-footnote-action: Handle nil context

* lisp/org-footnote.el (org-footnote-action): Check whether context is
  non-nil before trying to move to the end of the element.

6 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 23 Aug 2015 21:51:07 +0000]
Merge branch 'maint'

6 days agoox: Fix inheritance for EXPORT_... properties
Nicolas Goaziou [Sun, 23 Aug 2015 21:50:49 +0000]
ox: Fix inheritance for EXPORT_... properties

* lisp/ox.el (org-export--get-subtree-options):
(org-export-output-file-name): Let user control inheritance for these
properties instead of hard-coding (an inconsistent) behavior.

Reported-by: Eric Abrahamsen <eric@ericabrahamsen.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/100373>

6 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 23 Aug 2015 21:44:18 +0000]
Merge branch 'maint'

6 days agoob: Fix RESULTS indentation
Nicolas Goaziou [Sun, 23 Aug 2015 21:38:36 +0000]
ob: Fix RESULTS indentation

* lisp/ob-core.el (org-babel-parse-src-block-match): Compute indentation
  taking into consideration tab width.
(org-babel-where-is-src-block-result): Do not assume indentation
consists of white space characters only.

* testing/lisp/test-ob.el (test-ob/preserve-results-indentation): Add
  test.

Reported-by: Jarmo Hurri <jarmo.hurri@iki.fi>
<http://permalink.gmane.org/gmane.emacs.orgmode/100403>

6 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 23 Aug 2015 20:46:29 +0000]
Merge branch 'maint'

6 days agoFix COMMENT fontification
Nicolas Goaziou [Sun, 23 Aug 2015 20:45:27 +0000]
Fix COMMENT fontification

* lisp/org.el (org-set-font-lock-defaults): Fix regexp.

Reported-by: Martin Carlé <mc@aiguphonie.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100404>

7 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 23 Aug 2015 07:44:45 +0000]
Merge branch 'maint'

7 days agoRedo Agenda in more cases even in sticky mode
Nikolai Weibull [Thu, 20 Aug 2015 17:02:34 +0000]
Redo Agenda in more cases even in sticky mode

* org-agenda.el (org-agenda-maybe-redo): Test for
org-agenda-this-buffer-name as well.

The Agenda buffer will have a different name if it’s in sticky mode,
but some commands that alter the agenda should still redo it, for
example, org-agenda-remove-restriction-lock, just like
org-agenda-filter-by-category does.

7 days agoMerge branch 'maint'
Kyle Meyer [Sat, 22 Aug 2015 20:52:07 +0000]
Merge branch 'maint'

7 days agoorg.texi: Fix typo
Kyle Meyer [Sat, 22 Aug 2015 20:51:42 +0000]
org.texi: Fix typo

* doc/org.texi (Clocking commands): Fix typo.

7 days agoBackport commit c1cacb0 from Emacs master branch
Kyle Meyer [Sat, 22 Aug 2015 20:51:38 +0000]
Backport commit c1cacb0 from Emacs master branch

* lisp/org-gnus.el (org-gnus-no-new-news):
Prefer (substitute-command-keys "`\\[foo-command]'")
to "`M-x foo-command'" in docstrings and the like.

Avoid hard-coding "M-x command" in docstrings
c1cacb09948928287bfc32745f2a92604d3291c4
Paul Eggert
Fri Aug 21 14:09:47 2015 -0700

7 days agoMerge branch 'maint'
Nicolas Goaziou [Sat, 22 Aug 2015 19:43:28 +0000]
Merge branch 'maint'

7 days agoorg-datetree: Fix DATE_TREE search
Nicolas Goaziou [Sat, 22 Aug 2015 19:40:54 +0000]
org-datetree: Fix DATE_TREE search

* lisp/org-datetree.el (org-datetree-find-date-create): Ignore case and
  discard false positives (e.g., a fake property in an example block).

* testing/lisp/test-org-datetree.el: New file.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 22:59:16 +0000]
Merge branch 'maint'

8 days agoorg-capture: Fix bindings in header line
Nicolas Goaziou [Fri, 21 Aug 2015 22:54:14 +0000]
org-capture: Fix bindings in header line

* lisp/org-capture.el (org-capture-mode): Display currently used
  bindings in header line.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 22:28:20 +0000]
Merge branch 'maint'

8 days agoorg-datetree: Fix datetree capture
Nicolas Goaziou [Fri, 21 Aug 2015 22:16:57 +0000]
org-datetree: Fix datetree capture

* lisp/org-datetree.el (org-datetree-add-timestamp): Clarify docstring.
(org-datetree-insert-line): Leave point on new entry.

8 days agoorg-index.el version 4.3
Marc Ihm [Fri, 21 Aug 2015 21:56:52 +0000]
org-index.el version 4.3

8 days agoRevert "org-capture: Fix datetree capture"
Nicolas Goaziou [Fri, 21 Aug 2015 21:48:36 +0000]
Revert "org-capture: Fix datetree capture"

This reverts commit a834a5939fd7fa9b7184ebc0a4587a72916f907f.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 21:33:13 +0000]
Merge branch 'maint'

8 days agoorg-capture: Fix datetree capture
Nicolas Goaziou [Fri, 21 Aug 2015 21:31:23 +0000]
org-capture: Fix datetree capture

* lisp/org-capture.el (org-capture-set-target-location): Fix
  file+datetree capture with non-nil `org-datetree-add-timestamp.

Reported-by: Gregor Zattler <telegraph@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/100300>

8 days agoRevert "Merge branch 'maint'"
Rasmus [Fri, 21 Aug 2015 20:26:11 +0000]
Revert "Merge branch 'maint'"

This reverts commit cadb9f3603f7be0042c1ed30f7f8c3b44b81674e, reversing
changes made to f6be2b5aa3cb0586b8c9a9bdda923528a9b8f081.

8 days agoRevert "org.el: Update Version and Package-Requires header"
Rasmus [Fri, 21 Aug 2015 20:26:00 +0000]
Revert "org.el: Update Version and Package-Requires header"

This reverts commit 97d43ff681c54766593a67a5d1f48426db884865.

8 days agoRevert "org.el: Add version header"
Rasmus [Fri, 21 Aug 2015 20:23:42 +0000]
Revert "org.el: Add version header"

This reverts commit 182552ee75bad48b062d3b0f7e8e9dce9c1b7965.

9 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 12:46:55 +0000]
Merge branch 'maint'

9 days agoorg-indent: Fix indentation in inline tasks
Nicolas Goaziou [Fri, 21 Aug 2015 12:44:26 +0000]
org-indent: Fix indentation in inline tasks

* lisp/org-indent.el (org-indent-add-properties): Indent inline tasks'
  contents according to current outline level, not inlinetask's.  This
  is consistent with hard indentation, using `org-indent-line'.

9 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 12:08:14 +0000]
Merge branch 'maint'

9 days agoFix typo
Nicolas Goaziou [Fri, 21 Aug 2015 12:07:26 +0000]
Fix typo

* lisp/org.el (org-open-at-point): Fix typo.

Reported-by: Sergei Nosov <sergei.nosov@gmail.com>

9 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 21 Aug 2015 11:59:10 +0000]
Merge branch 'maint'

9 days agoFix expansion of archived trees
Nicolas Goaziou [Fri, 21 Aug 2015 11:56:50 +0000]
Fix expansion of archived trees

* lisp/org.el (org-hide-archived-subtrees): Do not assume BEG is at
  beginning of line.  This matters when function is called with point in
  the middle of an archived headline.

Reported-by: Hymie! <hymie@lactose.homelinux.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/100291>

9 days agoMerge branch 'maint'
Nicolas Goaziou [Thu, 20 Aug 2015 19:09:38 +0000]
Merge branch 'maint'

9 days agoMerge branch 'fix-indent' into maint
Nicolas Goaziou [Thu, 20 Aug 2015 19:04:32 +0000]
Merge branch 'fix-indent' into maint

10 days agoMerge branch 'maint'
Nicolas Goaziou [Thu, 20 Aug 2015 12:05:27 +0000]
Merge branch 'maint'

10 days agoFix f4d7646
Nicolas Goaziou [Thu, 20 Aug 2015 12:02:39 +0000]
Fix f4d7646

* lisp/org.el (org-deadline):
(org-schedule): Remove spurious argument.

10 days agoorg-indent: Fix indentation with proportional font
Nicolas Goaziou [Thu, 20 Aug 2015 11:58:00 +0000]
org-indent: Fix indentation with proportional font

* lisp/org-indent.el (org-indent-max):
(org-indent-max-levels):
(org-indent-strings):
(org-indent-stars): Remove unused variables.

(org-indent-initialize): Remove function.

(org-indent-boundary-char): Remove unnecessary comment.  Do not rely on
function above.

(org-indent): Make sure characters used for virtual indentation are
invisible since they are not necessarily white spaces.

(org-indent-set-line-properties): Fix indentation with proportional
font, i.e., do not use only white spaces to indent.
(org-indent-add-properties): Apply changes above.

Reported-by: Jakub Szypulka <jakub@szypulka.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/100252>

11 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 19 Aug 2015 14:51:29 +0000]
Merge branch 'maint'

11 days agoox-latex: Allow nil for `org-latex-hyperref-template'
Nicolas Goaziou [Wed, 19 Aug 2015 14:49:36 +0000]
ox-latex: Allow nil for `org-latex-hyperref-template'

* lisp/ox-latex.el (org-latex-hyperref-template): Allow nil value.  Make
  `org-latex-with-hyperref' an obsolete alias for the variable.

<http://permalink.gmane.org/gmane.emacs.orgmode/100222>

11 days agoRevert "ox-latex.el: Resurrect `org-latex-with-hyperref'"
Nicolas Goaziou [Wed, 19 Aug 2015 14:45:01 +0000]
Revert "ox-latex.el: Resurrect `org-latex-with-hyperref'"

This reverts commit 6f41105bd97c4a64272ec23493d9ae3ced4c4cbe.

11 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 19 Aug 2015 14:24:55 +0000]
Merge branch 'maint'

11 days agoFix 93b73bd
Nicolas Goaziou [Wed, 19 Aug 2015 14:24:34 +0000]
Fix 93b73bd

* lisp/org-element.el (org-element-link-parser): Fix 93b73bd.

11 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 19 Aug 2015 14:09:13 +0000]
Merge branch 'maint'

11 days agoFix new time logging upon rescheduling
Nicolas Goaziou [Wed, 19 Aug 2015 14:07:22 +0000]
Fix new time logging upon rescheduling

* lisp/org.el (org-deadline):
(org-schedule): Properly store new time so it is accessible using "%s"
in `org-log-note-headings'.

Reported-by: Malcolm Purvis <malcolm@purvis.id.au>
<http://permalink.gmane.org/gmane.emacs.orgmode/100211>

11 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 19 Aug 2015 13:23:47 +0000]
Merge branch 'maint'

11 days agoFix translated link
Nicolas Goaziou [Wed, 19 Aug 2015 13:12:57 +0000]
Fix translated link

* lisp/org-element.el (org-element-link-parser): Call
  `org-link-translation-function' if required.
(org-element-link-interpreter): Build link from type and path instead of
simply pasting raw value.

* lisp/org.el (org-translate-link): Call parser to extract proper path
  and type.

* testing/lisp/test-org-element.el (test-org-element/link-interpreter):
  Add test.

Reported-by: Sergei Nosov <sergei.nosov@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100227>

11 days agoMerge branch 'maint'
Nicolas Goaziou [Wed, 19 Aug 2015 09:15:52 +0000]
Merge branch 'maint'

11 days agoFix `org-entry-properties' with default priority
Nicolas Goaziou [Wed, 19 Aug 2015 09:12:43 +0000]
Fix `org-entry-properties' with default priority

* lisp/org.el (org-entry-properties): When no priority is explicitly
  set, report `org-default-priority' instead.

* testing/lisp/test-org.el (test-org/entry-properties): Update test.

11 days agoox-html: Rename `org-html-html5-fancy-p' to `org-html--html5-fancy-p'
Nicolas Goaziou [Wed, 19 Aug 2015 09:07:06 +0000]
ox-html: Rename `org-html-html5-fancy-p' to `org-html--html5-fancy-p'

* lisp/ox-html.el (org-html--html5-fancy-p): Renamed from
  `org-html-html5-fancy-p'.  Add docstring.
(org-html--wrap-image):
(org-html-template):
(org-html-toc):
(org-html-special-block): Apply renaming.

As an internal function, it should follow the convention of double
hyphens in its name.

12 days agoMerge branch 'maint'
Bastien [Tue, 18 Aug 2015 17:24:27 +0000]
Merge branch 'maint'

12 days agoox-latex.el: Resurrect `org-latex-with-hyperref'
Bastien [Tue, 18 Aug 2015 17:23:34 +0000]
ox-latex.el: Resurrect `org-latex-with-hyperref'

* ox-latex.el (latex): Resurrect :latex-hyperref-p.
(org-latex-with-hyperref): Resurrect.
(org-latex-template): Use :latex-hyperref-p.

* org.texi (Beamer specific export settings)
(@LaTeX{} specific export settings): Mention both
`org-latex-hyperref-template' and `org-latex-with-hyperref'.

Thanks to Scott Randby for raising this issue.

12 days agoMerge branch 'maint'
Bastien [Tue, 18 Aug 2015 16:02:57 +0000]
Merge branch 'maint'

12 days agoorg.texi: Fix case of `results' header-arg node
Grant Rettke [Mon, 17 Aug 2015 23:56:06 +0000]
org.texi: Fix case of `results' header-arg node

* org.texi (Top, Specific header arguments, var)
(Results of evaluation): Lowercase "results".

12 days agoMerge branch 'maint'
Bastien [Tue, 18 Aug 2015 15:59:09 +0000]
Merge branch 'maint'

12 days agoAdd function to better guard html5 exports
Eric Abrahamsen [Tue, 18 Aug 2015 00:42:35 +0000]
Add function to better guard html5 exports

* lisp/ox-html.el (org-html-html5-fancy-p): New function to check
  that we are exporting to HTML5 and that the user has requested
  fancy elements.
  (org-html--wrap-image, org-html-template, org-html-toc)
  (org-html-special-block): Use the new function.

12 days agoMerge branch 'maint'
Bastien [Tue, 18 Aug 2015 09:53:54 +0000]
Merge branch 'maint'

12 days agoorg.el (org-occur): Match timestamps at the end of a headline
Bastien [Tue, 18 Aug 2015 09:53:45 +0000]
org.el (org-occur): Match timestamps at the end of a headline

* org.el (org-occur): Workaround to match timestamps at the
end of a headline.

12 days agoMerge branch 'maint'
Bastien [Mon, 17 Aug 2015 18:43:03 +0000]
Merge branch 'maint'

12 days agoFix c6d9a4ec
Bastien [Mon, 17 Aug 2015 18:42:50 +0000]
Fix c6d9a4ec

* org.el (org-check-before-date, org-check-after-date): Save
match data.

13 days agoorg-element: Use pcase instead of case
Nicolas Goaziou [Mon, 17 Aug 2015 08:58:57 +0000]
org-element: Use pcase instead of case

* lisp/org-element.el (org-element--set-regexps):
(org-element-copy):
(org-element-item-interpreter):
(org-element-latex-fragment-parser):
(org-element-timestamp-parser):
(org-element-timestamp-interpreter):
(org-element--next-mode):
(org-element--object-lex):
(org-element--cache-find):
(org-element--cache-after-change): Use pcase instead of case.

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sun, 16 Aug 2015 17:31:01 +0000]
Merge branch 'maint'

2 weeks agoox-odt: Small refactoring
Nicolas Goaziou [Sun, 16 Aug 2015 17:30:39 +0000]
ox-odt: Small refactoring

* lisp/ox-odt.el (org-odt-footnote-reference): Small refactoring.

2 weeks agoMerge branch 'maint'
Bastien [Sun, 16 Aug 2015 14:02:20 +0000]
Merge branch 'maint'

2 weeks agoox-html.el (org-html-use-unicode-chars): Delete.
Bastien [Sun, 16 Aug 2015 13:58:07 +0000]
ox-html.el (org-html-use-unicode-chars): Delete.

* ox-html.el (org-html-use-unicode-chars): Delete.
(html, org-html-final-function): Update.

* org.texi (Publishing options): Don't mention
`org-html-use-unicode-chars'.

Thanks to Vladimir Alexiev for raising this.

2 weeks agomk/server.mk: Add etc/ORG-NEWS to the ELPA package
Bastien [Sun, 16 Aug 2015 13:34:32 +0000]
mk/server.mk: Add etc/ORG-NEWS to the ELPA package

2 weeks agoMerge branch 'maint'
Bastien [Sun, 16 Aug 2015 13:22:22 +0000]
Merge branch 'maint'

2 weeks agoetc/ORG-NEWS: Minor rephrasing
Bastien [Sun, 16 Aug 2015 13:21:27 +0000]
etc/ORG-NEWS: Minor rephrasing

2 weeks agoMerge branch 'maint'
Bastien [Sun, 16 Aug 2015 13:15:09 +0000]
Merge branch 'maint'

2 weeks agoorg.el: Fix `org-comment-string' fontification
Bastien [Sun, 16 Aug 2015 13:14:27 +0000]
org.el: Fix `org-comment-string' fontification

* org.el (org-set-font-lock-defaults): Don't fontify
`org-comment-string' when not in a headline.

2 weeks agoMerge branch 'maint'
Bastien [Sun, 16 Aug 2015 12:59:24 +0000]
Merge branch 'maint'

2 weeks agoDocument :environment for LaTeX export of example blocks
Bastien [Sun, 16 Aug 2015 12:59:12 +0000]
Document :environment for LaTeX export of example blocks

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sat, 15 Aug 2015 21:50:27 +0000]
Merge branch 'maint'

2 weeks agoox-odt: Fix footnote export
Nicolas Goaziou [Sat, 15 Aug 2015 21:42:33 +0000]
ox-odt: Fix footnote export

* lisp/ox-odt.el (org-odt-footnote-reference): Only inline footnotes are
  to be wrapped within a paragraph.

Reported-by: Gerald Wildgruber <Gerald.Wildgruber@unibas.ch> <>
<http://permalink.gmane.org/gmane.emacs.orgmode/100084>

2 weeks agoMerge branch 'maint'
Bastien [Sat, 15 Aug 2015 08:31:00 +0000]
Merge branch 'maint'

2 weeks agoRearrange; better advertize changes about COMMENT
Bastien [Sat, 15 Aug 2015 08:30:26 +0000]
Rearrange; better advertize changes about COMMENT

2 weeks agoFix links: use the new cgit interface
Bastien [Sat, 15 Aug 2015 08:29:44 +0000]
Fix links: use the new cgit interface

2 weeks agoSilence byte-compiler
Nicolas Goaziou [Fri, 14 Aug 2015 22:33:11 +0000]
Silence byte-compiler

* lisp/ox.el (org-export-backend):
(org-export-define-backend):
(org-export-define-derived-backend):
(org-export--get-subtree-options):
(org-export--get-inbuffer-options):
(org-export--collect-headline-numbering):
(org-export--selected-trees):
(org-export--skip-p):
(org-export--delete-comments):
(org-export--remove-uninterpreted-data-1):
(org-export--merge-external-footnote-definitions):
(org-export-insert-default-template):
(org-export-expand-include-keyword):
(org-export--inclusion-absolute-lines):
(org-export-collect-footnote-definitions):
(org-export-get-footnote-number):
(org-export-get-reference):
(org-export-get-ordinal):
(org-export-unravel-code):
(org-export-format-code):
(org-export-format-code-default):
(org-export-table-has-header-p):
(org-export-table-row-group):
(org-export-table-cell-alignment):
(org-export-table-row-number):
(org-export-table-dimensions):
(org-export-table-cell-address):
(org-export-get-table-cell-at):
(org-export--smart-quote-status):
(org-export-get-previous-element):
(org-export-get-next-element):
(org-export-dispatch):
(org-export--dispatch-ui):
(org-export--dispatch-action): Silence byte-compiler.

2 weeks agoox: Activate lexical binding
Nicolas Goaziou [Fri, 14 Aug 2015 21:50:51 +0000]
ox: Activate lexical binding

* lisp/ox.el (org-export-define-backend):
(org-export-define-derived-backend): Remove unused argument.

(org-export--get-inbuffer-options):
(org-export--list-bound-variables):
(org-export--selected-trees):
(org-export-transcoder):
(org-export--prune-tree):
(org-export--merge-external-footnote-definitions):
(org-export--footnote-reference-map):
(org-export-get-alt-title):
(org-export-get-node-property):
(org-export-table-row-is-special-p):
(org-export-table-dimensions):
(org-export-stack-refresh): Refactor code.

* testing/lisp/test-ox.el (org-test-default-backend):
(test-org-export/with-backend):
(test-org-export/footnote-first-reference-p): Comply to lexical binding.

2 weeks agoorg-element: Activate lexical binding
Nicolas Goaziou [Fri, 31 Jul 2015 20:02:15 +0000]
org-element: Activate lexical binding

* lisp/org-element.el (org-element-section-parser):
(org-element-planning-interpreter):
(org-element-table-row-parser):
(org-element-timestamp-interpreter): Silence byte-compiler.  Tiny
refactoring.

(org-element--parse-objects): Tiny refactoring.

(org-element-interpret-data): Refactor code.
(org-element--interpret-data-1): Remove function.

(org-element-center-block-interpreter):
(org-element-item-parser):
(org-element-plain-list-interpreter):
(org-element-property-drawer-interpreter):
(org-element-quote-block-interpreter):
(org-element-section-interpreter):
(org-element-babel-call-interpreter):
(org-element-clock-interpreter):
(org-element-comment-interpreter):
(org-element-comment-block-interpreter):
(org-element-diary-sexp-interpreter):
(org-element-example-block-interpreter):
(org-element-export-block-interpreter):
(org-element-fixed-width-interpreter):
(org-element-horizontal-rule-interpreter):
(org-element-keyword-interpreter):
(org-element-latex-environment-interpreter):
(org-element-node-property-interpreter):
(org-element-paragraph-interpreter):
(org-element-src-block-interpreter):
(org-element-verse-block-interpreter):
(org-element-bold-interpreter):
(org-element-code-interpreter):
(org-element-entity-interpreter):
(org-element-export-snippet-interpreter):
(org-element-inline-babel-call-interpreter):
(org-element-inline-src-block-interpreter):
(org-element-italic-interpreter):
(org-element-latex-fragment-interpreter):
(org-element-line-break-interpreter):
(org-element-link-parser):
(org-element-macro-interpreter):
(org-element-radio-target-interpreter):
(org-element-statistics-cookie-interpreter):
(org-element-strike-through-interpreter):
(org-element-table-cell-interpreter):
(org-element-target-interpreter):
(org-element-underline-interpreter):
(org-element-verbatim-interpreter):
(org-element-map):
(org-element-normalize-contents): Silence byte-compiler.

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 14 Aug 2015 20:36:51 +0000]
Merge branch 'maint'