Michael Strey
0fac70ea89
org.el: Fix bug from switch to lexical binding
...
* lisp/org.el (org-check-dates-range): Fix a bug introduces with the
switch to lexical binding in commit
1f49e9fdfd
.
This change fixed the following bug: C-c \ D leads to error message "Symbol's value as variable is void: start-date".
TINYCHANGE
2016-04-08 23:12:42 +02:00
Nicolas Goaziou
ea98632e3b
Merge branch 'maint'
2016-04-08 22:52:32 +02:00
Nicolas Goaziou
d522fc8853
orgguide: Fix mis-uses of itemx
...
* doc/orgguide.texi (Agenda commands): Fix mis-uses of itemx.
Reported-by: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/106211 >
2016-04-08 22:51:04 +02:00
Rasmus
519f78d1a3
ox-koma-letter: Changes to LOCATION handling
...
* ox-koma-letter.el (options): Parse LOCATION and remove
:with-location and :inbuffer-with-location.
(org-koma-letter--get-tagged-contents): Change string handling.
(org-koma-letter--get-value): Simplify function.
(org-koma-letter-use-location): remove
2016-04-07 10:03:03 +02:00
Myles English
a0e942544c
ox-koma-letter: Fixed bug in filling 'location' field
...
* contrib/lisp/ox-koma-letter.el: Fix code apparently introduced
in 3ee3663
2016-04-07 10:03:03 +02:00
Nicolas Goaziou
4bc07758a5
Merge branch 'maint'
2016-04-06 22:28:16 +02:00
Nicolas Goaziou
9c6811b9d4
ox-texinfo: Fix erroneous count of blank lines in menu
...
* lisp/ox-texinfo.el (org-texinfo-section):
(org-texinfo--build-menu): Normalize empty lines in generated menu.
Reported-by: Jonas Bernoulli <jonas@bernoul.li>
<http://permalink.gmane.org/gmane.emacs.orgmode/106145 >
2016-04-06 22:26:42 +02:00
Nicolas Goaziou
716e339c96
Allow angular links within link descriptions
...
* lisp/org-element.el (org-element-object-restrictions):
(org-element--object-lex): Allow angular links as equivalent to plain
links in description.
* testing/lisp/test-org-element.el (test-org-element/link-parser): Add
test.
2016-04-06 11:08:53 +02:00
Nicolas Goaziou
64ca6f2c24
Keep headlines named like current one in refile targets
...
* lisp/org.el (org-refile-get-targets): Change signature.
(org-refile-get-location): Change signature. Also apply change above.
(org-goto):
(org-refile): Apply change above.
Reported-by: Samuel Wales <samologist@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/106051 >
2016-04-05 23:45:37 +02:00
Nicolas Goaziou
0e0a72443a
org-agenda: Fix Invalid Function 4 error
...
* lisp/org-agenda.el (org-tags-view): Fix wrong conversion introduced in
commit a02a83793b
.
Reported-by: Ian Dunn <dunni@gnu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/106080 >
2016-04-05 23:31:21 +02:00
Paul Schorfheide
cd47ab7411
ox-confluence: Add `org-confluence-lang-alist'
...
* ox-confluence.el (org-confluence-src-block): Add var for mapping
language name.
TINYCHANGE
2016-04-02 10:56:05 +02:00
Nicolas Goaziou
506ff0d76e
ORG-NEWS: Document NAME handling for blocks
2016-04-02 10:44:09 +02:00
Myles English
3ee36639f0
ox-koma-letter: Add support for LOCATION
...
* contrib/lisp/ox-koma-letter.el (koma-letter): Duplicated code
used for 'place' variable, renamed as 'location'
Whenever OPTION keyword contains a 'location' item or LOCATION
keyword is used in the buffer, set KOMA option 'location' after
LCO inclusion.
2016-03-31 21:50:11 +02:00
Rasmus
600c5c1b4b
ox-koma-letter: Small change
...
ox-koma-letter.el (org-koma-letter--build-settings): Simplify code.
(org-koma-letter--get-tagged-contents): Treat strings before
return.
2016-03-31 21:49:45 +02:00
Rasmus
012346f564
ox-koma-letter: Allow buffer FROM keyword
...
* ox-koma-letter.el (koma-letter backend): Add :inbuffer-from.
(org-koma-letter--get-tagged-contents): Check that value is not empty.
(org-koma-letter-template): Remove from address block from
template and find to address directly.
(org-koma-letter--build-settings): Determine from address.
(org-koma-letter--special-contents-inline): Remove function.
2016-03-31 21:43:52 +02:00
Rasmus
8eadcd3c31
ox-koma-letter: Add after_closing and cleanup
...
* ox-koma-letter.el
(org-koma-letter-special-tags-after-closing): Add after_closing.
(org-koma-letter-special-tags-as-macro): New defvar.
(koma-letter backend): Revamp special tags options.
(org-koma-letter--get-value): Rewrite function.
(org-koma-letter--keyword-or-headline): Get special tags dynamically
(org-koma-letter-template): Use new specifications.
2016-03-31 21:31:21 +02:00
Rasmus
8ba48e47d5
ox-koma-letter: Fix docstring
...
* ox-koma-letter.el (org-koma-letter-special-tags-as-macro): Fix docstring.
2016-03-31 21:31:21 +02:00
Nicolas Goaziou
f07580066e
ox-html: Silence byte-compiler
2016-03-30 17:18:47 +02:00
Nicolas Goaziou
3149a01513
Merge branch 'maint'
2016-03-30 17:17:51 +02:00
Nicolas Goaziou
cb683e3a56
ox-html: Fix planning info export
...
* lisp/ox-html.el (org-html-planning): Properly escape angle brackets in
time-stamps.
Reported-by: Keith Sutton <kesutt@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105945 >
2016-03-30 17:17:07 +02:00
John Kitchin
d5b9c74430
ox-html: Add html attributes to special blocks
...
* lisp/ox-html.el (org-html-special-block): enables #+attr_html and puts
an id in when the special block is named.
2016-03-30 17:01:12 +02:00
John Kitchin
8f4f7dfd14
ox-html: Add html attributes to quote-block
...
* lisp/ox-html.el (org-html-quote-block): Enables #+attr_html: and puts
a id attribute when the block is named into the html element.
2016-03-30 16:38:53 +02:00
John Kitchin
2ce1fc2c0d
ox-html: Add id attribute to example-block on html export
...
* lisp/ox-html.el (org-html-example-block): Add "id" attribute according
to name.
This allows you to hyperlink to the block.
2016-03-30 16:16:12 +02:00
Richard Kim
8e1c2a39f3
org-info.el: Generate HTML links to gnu.org
...
* lisp/org-info.el (org-info-export): Convert info links to HTML URL's
that point to appropriate gnu.org or other pages. User's can customize
the behavior using `org-info-emacs-documents' and
`org-info-other-documets' new variables.
TINYCHANGE
2016-03-30 15:56:02 +02:00
Nicolas Goaziou
ff236e5c85
Merge branch 'maint'
2016-03-30 15:36:16 +02:00
Nicolas Goaziou
954103dd9b
Fix indentation bug
...
* lisp/org.el (org--get-expected-indentation): Return correct columns
when at the end of an empty item.
* testing/lisp/test-org.el (test-org/indent-line): Add test.
2016-03-30 15:34:24 +02:00
Rasmus
18b7661a84
org.texi: Add documentation on list nesting
...
* org.texi (@LaTeX{} specific attributes): Document how to get
more than four levels.
Suggested-by: 9661031 <9661031@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105427 >
2016-03-28 18:33:05 +02:00
Nicolas Goaziou
0f512848ea
Merge branch 'maint'
2016-03-28 11:07:27 +02:00
Nicolas Goaziou
a94147535a
ox-html: Fix Usenet links
...
* lisp/ox-html.el (org-html-link): Properly export Usenet links.
Reported-by: Michael Welle <mwe012008@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/105915 >
2016-03-28 11:06:56 +02:00
Thierry Banel
9438ac6014
ob-C: Add :libs to babel C++
...
* lisp/ob-C.el (org-babel-C-execute): add support for :libs header
parameter to specify libraries to link with.
2016-03-26 00:32:56 +01:00
Nicolas Goaziou
6cddbe8493
Merge branch 'maint'
2016-03-26 00:29:20 +01:00
Thierry Banel
f9464d2678
ob-C: use size_t in babel D
...
* lisp/ob-C.el (org-babel-C-header-to-C): change ulong to size_t for
indexing a table as mandated by the latest version of the D language
(thanks to Chris Andrews)
2016-03-26 00:27:39 +01:00
Nicolas Goaziou
6f543959ed
Merge branch 'maint'
2016-03-26 00:20:47 +01:00
Nicolas Goaziou
a737f20ca4
org-table: Add tests
...
* testing/lisp/test-org-table.el (test-org-table/eval-formula):
(test-org-table/last-rc): New tests.
(test-org-table/first-rc): Add tests.
2016-03-26 00:20:08 +01:00
Nicolas Goaziou
28a8d2e24e
org-table: Fix docstrings
...
* lisp/org-table.el (org-table-eval-formula): Nowadays, Calc is
installed with Emacs, so there is no need to specify this. Also
remove hard-coded "C-u".
(org-table-recalculate): Fix code typo.
2016-03-25 23:11:34 +01:00
Nicolas Goaziou
0b077de733
org-table: Fix #ERROR in table formula with "@>"
...
* lisp/org-table.el (org-table-eval-formula): Expand first and last
references into proper fields coordinates before replacing ranges.
Reported-by: Pablo S. Casas <pabloscasas@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105895 >
2016-03-25 22:33:06 +01:00
Nicolas Goaziou
06177a4208
Merge branch 'maint'
2016-03-25 14:27:05 +01:00
Nicolas Goaziou
780445c0aa
org.texi: Fix typo
...
* doc/org.texi (HTML doctypes): Special block names are case-sensitive.
Reported-by: Guilherme Gondim <guilherme@semente.io>
<http://permalink.gmane.org/gmane.emacs.orgmode/105896 >
2016-03-25 14:26:09 +01:00
Nicolas Goaziou
2afce8b22f
Merge branch 'maint'
2016-03-24 22:13:27 +01:00
Nicolas Goaziou
6d070db91c
org-table: Silence byte-compiler
2016-03-24 22:12:58 +01:00
Nicolas Goaziou
0cdc2b339f
Merge branch 'maint'
2016-03-24 14:02:57 +01:00
Nicolas Goaziou
c736013224
org.texi: Fix typo
...
* doc/org.texi (@LaTeX{} specific attributes): Fix typo.
Reported-by: Eduardo Mercovich <eduardo@mercovich.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/105873 >
2016-03-24 14:02:24 +01:00
Nicolas Goaziou
0fd7fd072e
Merge branch 'maint'
2016-03-24 14:00:44 +01:00
Nicolas Goaziou
a5623bc502
org-table: Fix LaTeX snippets in radio tables
...
* lisp/org-table.el (orgtbl-to-generic): Call back-end specific filters.
* testing/lisp/test-org-table.el (test-org-table/to-latex): Add test.
Reported-by: Uwe Brauer <oub@mat.ucm.es>
<http://permalink.gmane.org/gmane.emacs.orgmode/105876 >
2016-03-24 13:59:29 +01:00
Oleh Krehel
809a838844
org-agenda.el (org-agenda-to-appt): Don't echo already added
...
`appt-add' returns nil when the event was already added previously.
2016-03-18 15:23:52 +01:00
Marcin Borkowski
ebd68ae499
Enhance year handling
...
* lisp/org.el (org-read-date-analyze): Handle two-digit years with
`org-small-year-to-year' instead of just adding 2000
2016-03-18 14:31:07 +01:00
Nicolas Goaziou
0ccdceeb87
Merge branch 'maint'
2016-03-17 17:15:53 +01:00
Nicolas Goaziou
6f439a29b1
Remove failing test
...
* testing/lisp/test-ox.el (test-org-export/activate-smart-quotes):
Comment out failing test.
2016-03-17 17:15:17 +01:00
Nicolas Goaziou
bf40aba6cd
Merge branch 'maint'
2016-03-17 16:51:43 +01:00
Nicolas Goaziou
261eadb9d4
Fix indentation bug
...
* lisp/org.el (org--get-expected-indentation): Fix indentation.
* testing/lisp/test-org.el (test-org/indent-line): Add test.
2016-03-17 16:50:54 +01:00