Commit Graph

403 Commits

Author SHA1 Message Date
41606f5369 Only realign tables in +org-realign-table-maybe-h
Don't recalculate formulas.
2020-04-13 15:23:16 -04:00
006eee75d0 Add popup rule for *Org-Babel...* buffers
Mainly error messages when executing babel blocks.
2020-04-13 14:18:22 -04:00
24e35b95d5 Move org lang alias to markdown module 2020-04-10 02:04:00 -04:00
b78fc4eb76 Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
2957f5ff28 lang/org: move submodule hooks to back of org hooks
So they have an opportunity to override defaults.
2020-04-08 15:30:10 -04:00
73f89fd907 Fix #2848: unset org-agenda-inhibit-startup 2020-04-08 15:30:09 -04:00
6d81f9b5f4 Merge pull request #2803 from jsravn/fix-inconsistent-uuidgen
Make uuidgen consistent for org-id-new
2020-04-07 17:38:27 -04:00
3ad5665e77 Merge pull request #2822 from UndeadKernel/fix-org_pretty_code
lang/org: pretty symbols for the old and new word case style
2020-04-07 17:33:47 -04:00
dd94bd67ac Use filter-return for downcase of uuidgen 2020-04-07 10:22:05 +01:00
f8090fd09b Disable smartparens rules for org-mode
They're more troublesome than helpful, but we still want brace
autopairing, so leave smartparens-mode on.
2020-04-05 19:03:26 -04:00
2ceac53421 Prevent scrolling on magit refresh & toc-org 2020-04-04 01:27:41 -04:00
d87edaa44d lang/org: pretty symbols for old and new style
org-mode recently changed the standard for naming blocks.
Previously, it would use capitalized names; now it uses lower case
names.

E.g., #+BEGIN_SRC -> #+begin_src

Also, add a "quote" symbol for the #+begin_quote block.
2020-04-03 12:01:34 +02:00
f7fa3f3a86 Make uuidgen consistent for org-id-new
On macos/bsd systems, uuidgen produces all uppercase output. On
Linux/GNU systems it produces all lowercase output. This leads to
problems when managing org files across both systems (see e.g.
https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html).

This change adds a defadvice for `org-id-new` to always lowercase the
output of `uuidgen` so the behavior is consistent across platforms.
2020-03-31 12:33:16 +01:00
a52cb71636 Merge pull request #2631 from karlicoss/fix-babel-python
Set org-babel-python-command to be same as python-shell-interpreter
2020-03-29 19:02:58 -04:00
f28a304abd Add +roam submodule to lang/org
Closes #2764, #2759
2020-03-29 19:02:09 -04:00
296cbff097 General, minor refactor & reformatting 2020-03-27 18:06:42 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
387a976368 lang/org: org-archive-subtree-save-file-p = t
Fixes #2662
2020-03-10 23:54:07 -04:00
78f1621fda file-exists-p -> file-writable-p for org-id-locations-file
The IDs file isn't much good to use if it isn't writable.
2020-03-01 23:36:33 -05:00
ac477c2170 Alias md to markdown for babel blocks 2020-03-01 12:10:29 -05:00
83414d1227 Add/fix popup rules for org attach & export popups 2020-02-29 00:33:58 -05:00
b7042a1495 Set org-babel-python-command to be same as python-shell-interpreter 2020-02-28 18:52:50 +01:00
20ae3c2c83 Adjust org-capture popup rule to exclude capture.org filename
I think it's pretty common for people (myself included) to name their capture file `capture.org` file, and currently this rule matches it, so if you open capture.org, your end up with it opened in a popup (I believe it wasn't intended?). My fix makes it so it matches only capture buffers (they've got name like `CAPTURE-filename.org`). I believe there shouldn't be any unanticipated consequences of the change?

As far as I understand, the problem is that in elisp, regexes are case insensitive by default, and the sensitivity is controlled by a [variable](http://ergoemacs.org/emacs/emacs_regex.html), so I struggle to see what's the proper way to control it (especially considering the window manipulation happens in `window.el`). If you know of a way to deal with this, happy to implement and update my pull request!
2020-02-27 20:10:48 +01:00
61fef37e4d Disable Customize option in org-capture 2020-02-27 00:47:30 -05:00
39a12861ff Remove org-bookmark-heading (fix hash-table-p errors while refiling) 2020-02-26 13:02:19 -05:00
7a02b61904 Merge pull request #2592 from karlicoss/fix-orgid
Construct org-id-locations-file using expand-file-name
2020-02-24 20:42:26 -05:00
844d145f97 Construct org-id-locations-file using expand-file-name 2020-02-24 15:14:00 +01:00
b30f38ac06 Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
92e8521e90 Remove centralization of org exports
It's too much hassle to maintain, and too many exporters expect to work
out of the current directory.
2020-02-16 02:50:52 -05:00
24d2f494c9 lang/org: refactor advice & ob-ammonite integration 2020-02-16 02:26:38 -05:00
6602372e8b change a related config in ox-pandoc 2020-02-12 18:11:58 +08:00
640cee3b26 Fix no such file errors when quitting emacs
Because org-id-locations-file cannot be read/written to.
2020-02-06 22:31:36 -05:00
743c03f608 Bind 'SPC m a c' to org-download-screenshot #2429 2020-01-26 15:12:14 -05:00
827225e331 Fix #2429: replace defunct attach: links w/ download:
Forgot that support for attach: links were removed some time ago, but I
still want short org-download links, so I've added 'download:' links.
2020-01-26 02:20:39 -05:00
786dec3e50 Remove Inbox heading on org journal capture template 2020-01-25 19:02:01 -05:00
5d15521440 Remove org-fancy-priorities package
Add unnecessary overhead for little gain. Let the user install it if
they want it.
2020-01-20 18:13:34 -05:00
e3187ca8ea Don't fontify latex natively (use simple highlights)
Native fontification is incredibly slow.
2020-01-20 18:12:50 -05:00
7c940b8705 Merge pull request #2360 from harritaylor/develop
Fix #2343
2020-01-20 02:28:16 -05:00
920b511591 org-agenda-dim-blocked-tasks = t (default) #2365
This way, parent todos are at least displayed, but dimmed.
2020-01-14 02:59:16 -05:00
2fcb74dead Fix for issue 2343 2020-01-12 15:03:24 +00:00
0c9f1b1a9c Minor refactors & comment revision 2020-01-11 17:27:04 -05:00
24652f26de Bind s-RET/s-S-RET/s-M-RET for mac users 2020-01-10 05:00:08 -05:00
cffa3caac4 Fix 'SPC m r O' keybind in org-mode 2020-01-09 22:56:26 -05:00
558e906b2b Add 'SPC m r f' for refiling to specific org file 2020-01-09 15:59:58 -05:00
b7c5152f3a lang/org: C-M-RET = org-insert-subheading 2020-01-06 16:21:22 -05:00
14552bc66b Fontify latex script & entities in org-mode 2020-01-05 21:17:34 -05:00
cd3f1399af Fontify latex blocks natively 2020-01-05 19:08:11 -05:00
ee4358a243 Simplify org-format-latex-options setting
Due to changes upstream, all that isn't necessary anymore.
2020-01-05 17:47:29 -05:00
647750c18c Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
13e2eefae1 Move org-id-locations-file to org-directory
It makes more sense to store this file where you keep your org files,
rather than in Doom's .local files, which could be deleted for
debugging, or local only to a specific machine.

Also make ID links relative to org-directory, in case you use the same
org library on a different system with different filesystem
layout/system of symlinks.
2020-01-02 04:52:30 -05:00