Bastien Guerry
275f07c16a
Merge branch 'maint'
2012-12-12 13:53:37 +01:00
Bastien Guerry
488eea6d25
org-latex.el: Escape raw path when exporting links to files.
...
* org-latex.el (org-export-latex-links): Escape raw path when
exporting links to files.
Thanks to John Smith for reporting this.
2012-12-12 10:57:34 +01:00
Bastien Guerry
47ea16660e
Merge branch 'maint'
2012-12-12 10:14:59 +01:00
Bastien Guerry
570ecb4e31
org-src.el: Fix bug: the S-TAB key should not trigger a native TAB command.
...
* org-src.el (org-src-native-tab-command-maybe): Fix bug: the
S-TAB key should not trigger a native TAB command.
2012-12-12 09:09:04 +01:00
Bastien Guerry
1c13115780
org.texi: Small reformatting.
...
* org.texi (Summary, Code block specific header arguments)
(Code block specific header arguments)
(Header arguments in function calls, var, noweb)
(Results of evaluation, Code evaluation security): Small
reformatting: add a blank line before some example.
2012-12-12 08:54:30 +01:00
Bastien Guerry
7abad97db7
org.texi: Fix indendation of Elisp code examples.
...
* org.texi (System-wide header arguments)
(Header arguments in Org mode properties, Conflicts)
(Dynamic blocks, Using the mapping API): Fix indendation of
Elisp code examples.
2012-12-12 08:50:00 +01:00
Bastien Guerry
20b3d550e0
org.el: Allow to open any link within footnotes definition, not only bracket links.
...
* org.el (org-open-at-point): Allow to open any link within
footnotes definition, not only bracket links.
2012-12-12 08:42:55 +01:00
Bastien Guerry
5508053d63
Merge branch 'maint'
2012-12-11 18:14:00 +01:00
Bastien Guerry
7f0e7cb9b9
org.el (org-sort-entries): Bugfix: keep track of the clock marker when sorting entries.
...
* org.el (org-sort-entries): Bugfix: keep track of the clock
marker when sorting entries. Enhance the docstring.
2012-12-11 18:13:41 +01:00
Bastien Guerry
0c68a27ac9
org-clock.el (org-clock-out): Use `user-error'.
...
* org-clock.el (org-clock-out): Use `user-error' when the user
tries to clock out while there is no running clock.
2012-12-11 18:11:24 +01:00
Bastien Guerry
c3a0dc11a3
org-table.el: Ensure table coordinates are correctly displayed when sorting.
...
* org-table.el (org-table-sort-lines): Ensure coordinates are
correctly displayed when sorting.
* org.el (org-do-sort): Enhance prompt.
2012-12-11 17:29:38 +01:00
Bastien Guerry
980e52282d
org-agenda.el (org-agenda-finalize): Fix order of link activation.
...
* org-agenda.el (org-agenda-finalize): Fix order of link
activation.
2012-12-11 17:20:33 +01:00
Bastien Guerry
08e411109e
org-agenda.el (org-agenda-finalize): Activate plain links.
...
* org-agenda.el (org-agenda-finalize): Activate plain links.
2012-12-11 17:08:00 +01:00
Bastien Guerry
57a13ab9d9
org-timer.el (org-timer-stop): Add message.
...
* org-timer.el (org-timer-stop): Add message.
2012-12-11 16:56:00 +01:00
Bastien Guerry
5d673e890a
org-agenda.el (org-agenda-schedule, org-agenda-deadline): Fix redundant messages.
...
* org-agenda.el (org-agenda-schedule, org-agenda-deadline):
Fix redundant messages.
2012-12-11 16:53:44 +01:00
Bastien Guerry
1a41eeae1d
org-agenda.el (org-agenda-finalize): Fix clock highlighting.
...
* org-agenda.el (org-agenda-finalize): Fix clock highlighting.
Thanks to Rares Pop who reported this.
2012-12-11 16:44:03 +01:00
Nicolas Goaziou
b1f36921d7
org-export: Allow to retrieve all previous/next exportable objects
...
* contrib/lisp/org-export.el (org-export-get-previous-element,
org-export-get-next-element): Allow to retrieve all previous/next
exportable objects by specifying a non-nil, non positive integer
argument.
* testing/lisp/test-org-export.el: Add tests.
2012-12-10 08:54:52 +01:00
Bastien Guerry
48703624d5
Merge branch 'maint'
...
Conflicts:
doc/org.texi
2012-12-09 23:48:29 +01:00
Bastien Guerry
e5ea08f01b
doc/org.texi: Fix minor whitespace issues after "." in manual.
...
See revno: 110998 by Paul Eggert in Emacs repo.
revno: 110998
fixes bug: http://debbugs.gnu.org/12973
committer: Paul Eggert <eggert@cs.ucla.edu>
branch nick: emacs-24
timestamp: Wed 2012-12-05 14:27:56 -0800
message: Fix minor whitespace issues after "." in manual.
2012-12-09 23:46:25 +01:00
Nicolas Goaziou
66c6642e68
org-e-html: Fix error when exporting an Org src block
...
* contrib/lisp/org-e-html.el (org-e-html-fontify-code): Expand
everything in the buffer before calling htmlize. Remove an assert.
Add docstring.
2012-12-09 12:30:26 +01:00
Nicolas Goaziou
2cdddb96c4
org-e-html: Remove unused variable
...
* contrib/lisp/org-e-html.el (org-e-html-cvt-link-fn): Remove
variable.
2012-12-09 12:17:16 +01:00
Nicolas Goaziou
b95793d200
org-e-html: Small refactoring
...
* contrib/lisp/org-e-html.el (org-e-html--textarea-block): New
function.
(org-e-html--make-string): Renamed from `org-e-html-make-string'.
(org-e-html-format-toc-headline): Use previous function.
(org-e-html-do-format-code, org-e-html-format-code): Remove argument
relative to textareas. Add docstring.
(org-e-html-example-block, org-e-html-src-block): Refactoring relative
to textareas.
2012-12-09 12:16:37 +01:00
Nicolas Goaziou
2aac1818d5
org-md: Fix export error with inline images
...
* contrib/lisp/org-md.el (org-md-link): Fix error with inline images.
2012-12-08 19:30:27 +01:00
Nicolas Goaziou
cbb96d69d3
org-export: Add an optional argument to previous an next elements getters
...
* contrib/lisp/org-export.el (org-export-get-previous-element,
org-export-get-next-element): Change signature.
* testing/lisp/test-org-export.el: Add tests.
2012-12-08 18:57:10 +01:00
nrichard (geodiff-mac3)
2f9ddaf699
ob: Fix org-babel-edit-distance for insertion/deletion
...
* lisp/ob.el (org-babel-edit-distance): When insertion or deletion are
needed, make sure the distance is incremented. In addition, the now
obsolete mmin function was removed.
2012-12-07 12:41:53 -07:00
Achim Gratz
29117be8b2
Fix new test for clocktables
...
* testing/lisp/test-org-clock.el (test-org-clock/clocktable): The last test
for clocktables introduced in commit 6642177
did not work if the test was
run before 15:00 due to the end time being specified as "<now>" (which
includes the current time of day and not just the date). The obvious
"<today>" does also not work since it means 0:00 of the current day. The
correct specification to use is "<tomorrow>", which is 0:00 the following
day or equivalently the end of today, 24:00.
2012-12-07 19:50:01 +01:00
Nicolas Goaziou
31052f1c91
Fix radio targets detection
...
* lisp/org.el (org-all-targets): Fix radio targets detection when
object is directly followed by a non-whitespace character.
* testing/lisp/test-org.el: Add test.
2012-12-04 23:50:26 +01:00
Bastien Guerry
6c82226406
org.el (org-latex-preview-ltxpng-directory): Fix docstring formatting.
...
* org.el (org-latex-preview-ltxpng-directory): Fix docstring
formatting.
2012-12-04 15:56:38 +01:00
Bastien Guerry
dcdec74b00
Merge branch 'maint'
2012-12-04 15:24:43 +01:00
Bastien Guerry
6dfe2fef04
org-export-generic.el: Warn about not using this for new exporters.
2012-12-04 15:24:37 +01:00
Bastien Guerry
ae1b4960d1
Merge branch 'maint'
2012-12-04 15:21:26 +01:00
Steve Purcell
ba7a3ef869
org-mac-iCal.el (org-mac-iCal): Support version 10.8.
...
* contrib/lisp/org-mac-iCal.el (org-mac-iCal): Support version 10.8.
TINYCHANGE
2012-12-04 15:21:02 +01:00
Thomas S. Dye
6340615cc6
org-e-texinfo.el: Introduce #+TEXINFO_POST_HEADER and use it.
...
* org-e-texinfo.el (e-texinfo)
(org-e-texinfo--generate-menu-list, org-e-texinfo-template):
Introduce #+TEXINFO_POST_HEADER and use it.
TINYCHANGE
2012-12-04 15:19:43 +01:00
Steve Purcell
795e951270
org-mac-iCal.el (org-mac-iCal): Support version 10.8.
...
* contrib/lisp/org-mac-iCal.el (org-mac-iCal): Support version 10.8.
TINYCHANGE
2012-12-04 15:13:51 +01:00
Nicolas Goaziou
6642177dee
org-clock: Add tests for clocktable relative times
...
* testing/lisp/test-org-clock.el: New file.
2012-11-30 16:28:00 +01:00
Ivan Vilata i Balaguer
513507ee74
Allow relative times in clocktable tstart and tend options
...
* lisp/org-clock.el (org-clock-get-table-data): Pass tstart and tend
time strings through `org-matcher-time' to allow relative times besides
absolute ones, convert result to encoded time.
* doc/org.texi (The clock table): Document acceptance of relative times
in tstart and tend, link to syntax description and provide example.
Inspired in the original relative times proposal by Ilya Shlyakhter,
this is less invasive and it doesn't modify core functions, thus it
avoids the original's infinite recursion when hitting normal dates in
other locations.
TINYCHANGE
2012-11-30 16:07:13 +01:00
Le Wang
f793ee37ad
Merge branch 'maint'
...
org-src: Fix org-edit-src-code for empty blocks and block with just an empty line
* lisp/org-src.el (org-edit-src-code): Use marker with insertion type
t to track end and remove hack requiring delete from beg to (1- end).
2012-11-30 14:20:19 +01:00
Le Wang
8d22b11978
org-src: Fix org-edit-src-code for empty blocks and block with just an empty line
...
* lisp/org-src.el (org-edit-src-code): Use marker with insertion type
t to track end and remove hack requiring delete from beg to (1- end).
2012-11-30 14:19:27 +01:00
Le Wang
206257aa7e
org-src: Fix org-edit-src-code for empty blocks and block with just an empty line
...
* lisp/org-src.el (org-edit-src-code): Use marker with insertion type
t to track end and remove hack requiring delete from beg to (1- end).
2012-11-30 14:11:27 +01:00
Nicolas Goaziou
8783b89311
ob: Rename *org-babel-use-quick-and-dirty-noweb-expansion*
...
* lisp/ob.el (org-babel-use-quick-and-dirty-noweb-expansion): Renamed
from *org-babel-use-quick-and-dirty-noweb-expansion*.
(org-babel-expand-noweb-references): Use new variable name.
This patch brings back the variable in the expected namespace.
2012-11-30 13:58:31 +01:00
Nicolas Goaziou
496ed832d8
export back-ends: Remove useless pub-dir argument from export commands
...
* contrib/lisp/org-e-ascii.el (org-e-ascii-export-to-ascii): Remove
pub-dir argument.
* contrib/lisp/org-e-beamer.el (org-e-beamer-export-to-latex,
org-e-beamer-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-groff.el (org-e-groff-export-to-groff,
org-e-groff-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-html.el (org-e-html-export-to-html): Remove
pub-dir argument.
* contrib/lisp/org-e-latex.el (org-e-latex-export-to-latex,
org-e-latex-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-man.el (org-e-man-export-to-man,
org-e-man-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-e-odt.el (org-e-odt-export-to-odt): Remove pub-dir
argument.
* contrib/lisp/org-e-texinfo.el (org-e-texinfo-export-to-texinfo,
org-e-texinfo-export-to-info): Remove pub-dir argument.
* contrib/lisp/org-koma-letter.el (org-koma-letter-export-to-latex,
org-koma-letter-export-to-pdf): Remove pub-dir argument.
* contrib/lisp/org-md.el (org-md-export-to-markdown): Remove pub-dir
argument.
Publishing mechansim does not call any export command. It only relies
on `org-export-file-name' and `org-export-to-file'. Only the former
has to support a pub-dir argument.
2012-11-29 21:52:43 +01:00
Nicolas Goaziou
07f4d867e5
org-export: Dispatcher repeats last export action when called with C-u
...
* contrib/lisp/org-export.el (org-export-dispatch-last-action): New
variable.
(org-export-dispatch): Repeat last export action when called with C-u.
2012-11-28 20:39:55 +01:00
Nicolas Goaziou
09cfdb8260
Merge branch 'maint'
2012-11-28 16:52:27 +01:00
Nicolas Goaziou
f3a2515205
test-org: Disambiguate tests for `org-end-of-line'.
2012-11-28 16:51:47 +01:00
Nicolas Goaziou
8ea5c9992a
org-e-beamer: Allow to use arbitrary environment for lists
...
* contrib/lisp/org-e-beamer.el (org-e-beamer-plain-list): Allow to use
arbitrary environment for lists.
2012-11-28 15:06:56 +01:00
Nicolas Goaziou
6859b352a4
Merge branch 'maint'
2012-11-28 14:05:39 +01:00
Nicolas Goaziou
97508e72dd
test-org: Attempt to fix failing test on 24.3 pre-release
2012-11-28 14:04:21 +01:00
Nicolas Goaziou
dbdbf53cd6
org-export: Fix *:nil export option
...
* contrib/lisp/org-export.el (org-export--interpret-p): Fix *:nil
export option.
(org-export-with-emphasize): Update docstring.
2012-11-28 13:36:31 +01:00
Alan Schmitt
d344fda27a
Add koma-letter back-end
...
* contrib/lisp/org-koma-letter.el: New file.
2012-11-26 08:58:59 +01:00
John Foerch
a3490b140d
org-store-log-note: access org-log-note-headings in org buffer
...
This change allows org-mode to respect a buffer-local value of
org-log-note-headings, by accessing its value in the org buffer
instead of in the "*Org Note*" buffer.
2012-11-25 19:45:45 +01:00