summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
37 hoursorg-archive.el: Add command to archive entries with timestamps before todayHEADmasterToby S. Cubitt2-12/+60
* lisp/org-archive.el (org-archive-all-old): archive all entries with timestamps prior to today. (org-archive-subtree): double prefix argument invokes org-archive-all-old. (org-archive-all-matches, org-archive-all-done): factor out common code into org-archive-all-matches.
38 hoursMerge branch 'master' of orgmode.org:org-modeNicolas Goaziou1-6/+14
38 hoursFix low-high estimatesNicolas Goaziou2-18/+29
* doc/org.texi (Column attributes): Emphasize estimates format. Document degenerate case of plain numbers. * lisp/org-colview.el (org-columns-compute): Properly sum estimates. (org-columns-string-to-number): Recognize estimates containing an unit. (org-estimate-mean-and-var, org-estimate-print): Allow numbers as a degenerate case of estimates. Reported-by: yary <not.com@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/93505>
42 hoursorg.el: Allow calendars to be in their own frameAlan Schmitt1-6/+14
* lisp/org.el (org-read-date): Create and delete frames if `calendar-setup' is set to 'calendar-only.
2 daysFix `org-hide-archived-subtrees'Nicolas Goaziou1-7/+8
* lisp/org.el (org-hide-archived-subtrees): Prevent an error when END argument doesn't match the end of a subtree. Prevent false positives. Also, archive tag is case-sensitive.
3 daysFix 434103Nicolas Goaziou1-6/+6
* lisp/org.el (org-log-into-drawer): Fix 04f6830a46e54db23afbe3c94de38a22c3.
4 daysorg-table.el: org-table-recalculate is quieterNathaniel Flath1-9/+35
* lisp/org-table.el (org-table-recalculate): Removed message for start of processing. When ALL is t, messages are printed at most once per second. TINYCHANGE
4 daysorg-table.el: org-table-recalculate early returnsNathaniel Flath1-129/+134
* lisp/org-table.el (org-table-recalculate): Add early return. TINYCHANGE
4 daysMerge branch 'master' of orgmode.org:org-modeNicolas Goaziou1-63/+78
4 daysChange default value for `org-clock-into-drawer'Nicolas Goaziou1-51/+53
* lisp/org-clock.el (org-clock-into-drawer): Update docstring. Change default value. (org-clock-jump-to-current-clock): Properly find current clock drawer, if any. (org-clock-find-position): Tiny fix. (org-clock-out): Properly check if clock and log drawers are the same. (org-clock-find-position, org-clock-out, (org-clock-remove-empty-clock-drawer): Use new function.
4 daysFunction `org-log-into-drawer' returns a string or nilNicolas Goaziou1-15/+18
* lisp/org.el (org-log-into-drawer): Update docstring. Function returns a string or nil, not t anymore. (org-mode-flyspell-verify): Small refactoring.
4 daysFixed version numberMarc-Oliver Ihm1-1/+1
4 daysBugfixes in occur modeMarc-Oliver Ihm1-62/+77
4 daysMerge branch 'maint'Nicolas Goaziou1-4/+7
Conflicts: lisp/ob-core.el
4 daysob-core: Source blocks are case-insensitivemaintNicolas Goaziou1-2/+4
* lisp/ob-core.el (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Make sure to ignore case when looking for source blocks. Reported-by: Christopher Genovese <genovese@cmu.edu> <http://permalink.gmane.org/gmane.emacs.orgmode/93454>
4 daysob-core: Tiny fixNicolas Goaziou1-2/+3
* lisp/ob-core.el (org-babel-active-location-p): Use appropriate accessor.
4 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
4 daysorg-mime.el: Correct element matching regexJon Miller1-1/+1
* org-mime.el (org-mime-change-element-style): Correctly capture the HTML element instead of partially. Passing element of "p" would end up matching and altering "pre" elements as well. Need to properly anchor the regex to HTML elements. TINYCHANGE
4 daysUse `org-log-into-drawer' in `org-log-beginning'Eric Abrahamsen1-2/+1
* lisp/org.el (org-log-beginning): Use existing function for discovering the log specification.
5 daysMerge branch 'maint'Nicolas Goaziou1-2/+0
5 daysox-md: Correctly export footnote referencesNicolas Goaziou1-2/+0
* lisp/ox-md.el (md): Do not ignore footnote references. Footnotes do not exist in Markdown syntax, but we can fallback on HTML. Reported-by: Vasilij Schneidermann <v.schneidermann@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/93447>
5 daystest-org-timer: Preserve Emacs 23 compatibilityNicolas Goaziou1-2/+2
* testing/lisp/test-org-timer.el (test-org-timer/with-temp-text, test-org-timer/with-current-time): Use `letf' instead of `cl-letf'.
6 daysorg-table: introduce an upper bound on `org-table-convert-region-max-lines'.Aaron Ecay1-41/+54
* lisp/org-table.el (org-table-convert-region-max-lines): New defcustom. (org-table-convert-region): Use it. This is useful primarily for babel results. If a large table-like object is returned by a code block, this function will become bogged down in trying to read it, and hang emacs (necessitating a C-g). This situation most commonly arises when a :results none header has been omitted. With the patch, the user will not experience a hang, but rather an error message.
6 daysorg-src: add a note about bogosity of read-only overlaysAaron Ecay1-0/+8
* lisp/org-src.el (org-src--make-source-overlay): Add a TODO comment.
6 daysorg-src: fix two bugsAaron Ecay1-2/+5
* lisp/org-src.el (org-src--edit-buffer): Construe equality for markers properly. (org-edit-src-save): Place point properly when writing back changes. Thanks to Vikas Rawal for reporting: <http://mid.gmane.org/C8148BF2-87AF-44A4-B103-6BD338DA8D96@agrarianresearch.org>
8 daysox-beamer: Don’t auto-label allowframebreaks frames; beamer forbids it.Aaron Ecay1-2/+5
* lisp/ox-beamer.el (org-beamer--format-frame): Don’t give a label if allowframebreaks” is set.
8 daysorg-table: various small fixesAaron Ecay1-7/+6
* lisp/org-table.el (org-table-rewrite-old-row-references): Rename function. (org-table-eval-formula): Update caller. (org-table--to-generic-cell): Fix typo in string constant. (orgtbl-to-orgtbl): Properly respect params argument.
8 daysorg-entities.el: Add safe predicates to defcustoms.Aaron Ecay1-2/+22
* lisp/org-entities.el (org-entities--user-safe-p): New function. (org-entities-ascii-explanatory, org-entities-user): Add :safe predicates.
8 daysob-latex: Use htlatex by default if available.Aaron Ecay1-2/+2
* lisp/ob-latex.el (org-babel-latex-htlatex): Set to “htlatex” by default. (org-babel-execute:latex): Update to match new default.
8 daysBugfix version 3.0.1 of org-index.elMarc-Oliver Ihm1-8/+15
9 daysMerge branch 'maint'Nicolas Goaziou1-3/+3
9 daysorg.texi: Fix typosNicolas Goaziou1-3/+3
* doc/org.texi (Document preamble): (Headings and sectioning structure): Fix typo.
9 daysorg-src: allow `org-babel-edit-prep:.*' to mark regionOleh Krehel1-1/+2
* lisp/org-src.el (org-edit-src-code): Let `deactivate-mark' nil. <http://permalink.gmane.org/gmane.emacs.orgmode/93053>
9 daysorg-todo-yesterday: Ignore `org-use-effective-time'Kyle Meyer2-2/+4
* lisp/org.el (org-todo-yesterday): * lisp/org-agenda.el (org-agenda-todo-yesterday): Ignore global `org-use-effective-time' value. Otherwise, if `org-use-effective-time' being nil, `org-extend-today-until' will not be considered, resulting in the current time being used instead of 23:59 yesterday. Reported-by: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/93224>
9 daysorg-timer.el: Merge API for the two timersKyle Meyer4-131/+438
* lisp/org-timer.el (org-timer-stop): Support countdown timers in addition to relative timers. * lisp/org-timer.el (org-timer-cancel-timer): Remove function. * lisp/org-timer.el (org-timer-pause-or-continue): Support countdown timers in addition to relative timers. * testing/lisp/test-org-timer.el: New file. * doc/org.texi: Merge relative and countdown timer nodes. Several previous issues are fixed with these changes. - org-timer-set-timer and org-timer-cancel-timer did not reset org-timer-start-time after countdown completed. - Because org-timer-start did not return org-timer-pause-time to nil, the modeline remained stuck at the paused time. - When org-timer-start was called with a countdown timer, the modeline was updated for the new relative timer, but the countdown timer remained scheduled. - When org-timer-pause-or-continue was called with a countdown timer running, the modeline was put in a paused state, but the countdown timer remained scheduled. - When org-timer-stop was called with a countdown timer running, the timer was removed from the modeline, but the countdown timer remained scheduled. - When org-timer-set-timer was called with a paused relative timer, the relative timer was not reset properly (org-timer-pause-time was still non-nil) and the modeline remained in the paused state of the relative timer, even though the countdown timer was scheduled with run-with-timer. - Running org-timer-set-timer at the beginning of an empty buffer resulted in an args-out-of-range error (due to the org-get-at-eol call).
9 daysorg-timer.el (org-timer): Recognize double prefixKyle Meyer1-5/+7
* lisp/org-timer.el (org-timer): Follow the behavior described in the docstring for a double prefix argument.
9 daysMerge branch 'maint'Nicolas Goaziou1-1/+0
9 daysorg.texi: Remove reference to `org-effort-property'Nicolas Goaziou1-1/+0
* doc/org.texi (Effort estimates): Remove `org-effort-property' from variables index since it is a defconst, not a defcustom anymore. See also 20dcd061a51a8121ff958fc0edb5b7c52ba4e0e0.
10 daystest-org-table: Fix spurious failure in older EmacsenAchim Gratz1-1/+3
* testing/lisp/test-org-table.el (test-org-table/field-formula-outside-table): Older Emaacsen throw an 'error instead of 'user-error. Catch both condition names to avoid spurious test failures when that happens.
11 daysFix multiple property drawers insertion with repeated tasksNicolas Goaziou1-0/+3
* lisp/org.el (org-add-log-setup): A property drawer may be inserted where the note is going to be added. Make sure the note ends after the drawer. Reported-by: Bradley M. Kuhn <bkuhn@ebb.org> <http://permalink.gmane.org/gmane.emacs.orgmode/93199>
11 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
11 daysorg.texi: Fix typoNicolas Goaziou1-1/+1
* doc/org.texi (Export settings): Add missing OPTIONS item. Reported-by: Amitai Hoze <amitai.hoze@gmail.com>
11 daysNew command add, new structure of index table, many fixes and enhancements.Marc-Oliver Ihm1-1120/+1068
12 daysMake Org future-proofNicolas Goaziou1-8/+9
* lisp/org.el (org-small-year-to-year): Do not hardcode 2037 as the last future year for Org. Always foresee the next 30 years.
12 daysox-html: Fix docstringNicolas Goaziou1-1/+1
* lisp/ox-html.el (org-html-protect-char-alist): Fix docstring. Reported-by: Marcin Borkowski <mbork@wmi.amu.edu.pl>
12 daysMerge branch 'maint'Nicolas Goaziou0-0/+0
12 daysorg.texi: Small fixNicolas Goaziou1-3/+1
* doc/org.texi (Matching tags and properties): Remove inaccurate sentence and footnote.
12 daysorg.texi: Small fixesNicolas Goaziou1-7/+2
* doc/org.texi (Matching tags and properties): Fix typo. Remove inaccurate paragraph.
12 daysFix Sparse trees properties matchesNicolas Goaziou2-7/+154
* lisp/org.el (org-cached-entry-get): Matches against properties names are case-insensitive. * testing/lisp/test-org.el (test-org/match-sparse-tree): New test. Reported-by: Puneeth Chaganti <punchagan@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/93171>
12 daysUpdated org-drill to latest version.Paul Sexton1-205/+500