Commit graph

573 commits

Author SHA1 Message Date
Henrik Lissner
42fd3d0cb6
Move org deadline/schedule keys under SPC m d 2020-04-24 02:06:11 -04:00
Henrik Lissner
a7b31eab21
Add org table keybinds under SPC m b 2020-04-24 02:06:11 -04:00
Henrik Lissner
a308f1a914
Bind SPC m l t -> org-toggle-link-display 2020-04-24 02:06:03 -04:00
Henrik Lissner
b82068cdcc
+org-open-old-pdf-links-fn -> +org-open-legacy-pdf-links-fn
Clearer name and added a docstring to explain its purpose.
2020-04-17 22:45:16 -04:00
Henrik Lissner
f47de2064c
Remove redundant org-pdftools-store-link hook
This is already covered by the :store handler set with
org-link-set-parameters.
2020-04-17 22:42:05 -04:00
Henrik Lissner
763932a55c
Merge pull request #2884 from brianmcgillion/biblio
Add org-noter package
2020-04-17 19:16:06 -04:00
Henrik Lissner
2a8926ec33
Add HOLD org todo keyword
WAIT = for tasks waiting on other people or external forces
HOLD = for tasks waiting on you
2020-04-17 15:47:04 -04:00
Henrik Lissner
5502013906
Bump :lang org
fuxialexander/org-pdftools@4156b67 -> fuxialexander/org-pdftools@67964a5
integral-dw/org-superstar-mode@4897c33 -> integral-dw/org-superstar-mode@09ddc28
jethrokuan/org-roam@e33c144 -> jethrokuan/org-roam@6175739
magit/orgit@0242088 -> magit/orgit@7d6afa5
2020-04-17 15:47:04 -04:00
Brian McGillion
2dd84b8e2f Add org-noter package
This package allows the creation of notes on a document (pdf, EPub,
etc.) which will be kept in sync with the document. Providing context
sensitive annotations that are managed in plaintext.
2020-04-17 16:39:51 +04:00
Alois Janíček
e89dc0ecaf
Autoload all 4 org decrypt/encrypt user commands
currently if someone wants to use them, it has to manually autoload
them first in user config.el with (unless (fboundp ...) (autoload ...))
2020-04-17 12:08:08 +02:00
Henrik Lissner
ab025caced
Fix legacy pdf(view|tools) links & storing pdf links 2020-04-16 19:10:28 -04:00
Henrik Lissner
ccec354739
Prevent infinite recursion opening legacy pdf links 2020-04-16 18:28:14 -04:00
Henrik Lissner
3efef6e38f
Fix void-variable link when opening legacy pdf links 2020-04-16 14:52:06 -04:00
Henrik Lissner
fcb2612d3a
Fix wrong-number-of-arguments error when opening org links 2020-04-16 12:59:40 -04:00
Henrik Lissner
582fb285bc
Fix pdf(view|tools)?: org links
org-pdftools now uses a more generic "pdf:*" for its links, so that
users don't have to worry about the backend.

Also, pdf(view|tools) links should now work for backward compatibility.
2020-04-15 23:46:58 -04:00
Henrik Lissner
5c4f3c62a7
Replace org-bullets w/ org-superstar
org-superstar is a little faster, better written and still maintained.
It also has a few more features which I've made opt-in because they are
relatively expensive in larger buffers.

Folks that don't care for the differences just have to replace
`org-bullets-bullet-list` in their configs with
`org-superstar-headline-bullets-list`.
2020-04-14 18:00:43 -04:00
Henrik Lissner
169fe6a7f4
lang/org: revise docstrings 2020-04-14 15:37:00 -04:00
Henrik Lissner
10a6b510d7
Fix background of latex segments in org buffers
'auto doesn't seem to work correctly, especially where face-remap is
involved (e.g. with solaire-mode or auto-dim-other-buffers).
2020-04-14 15:34:20 -04:00
Henrik Lissner
9abc10c78f
Replace org-pdfview with org-pdftools
The latter is a continuation fork. The former is no longer maintained.
2020-04-14 15:31:39 -04:00
Henrik Lissner
83a95925dd
Lazy load babel libraries for org exporting 2020-04-14 01:29:27 -04:00
Henrik Lissner
41606f5369
Only realign tables in +org-realign-table-maybe-h
Don't recalculate formulas.
2020-04-13 15:23:16 -04:00
Henrik Lissner
006eee75d0
Add popup rule for *Org-Babel...* buffers
Mainly error messages when executing babel blocks.
2020-04-13 14:18:22 -04:00
Henrik Lissner
24e35b95d5
Move org lang alias to markdown module 2020-04-10 02:04:00 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
Henrik Lissner
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
Henrik Lissner
73f89fd907
Fix #2848: unset org-agenda-inhibit-startup 2020-04-08 15:30:09 -04:00
Henrik Lissner
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
Henrik Lissner
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
James Ravn
dd94bd67ac
Use filter-return for downcase of uuidgen 2020-04-07 10:22:05 +01:00
Henrik Lissner
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
Henrik Lissner
2ceac53421
Prevent scrolling on magit refresh & toc-org 2020-04-04 01:27:41 -04:00
Undead Kernel
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
James Ravn
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
Henrik Lissner
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
Henrik Lissner
f28a304abd
Add +roam submodule to lang/org
Closes #2764, #2759
2020-03-29 19:02:09 -04:00
Henrik Lissner
296cbff097
General, minor refactor & reformatting 2020-03-27 18:06:42 -04:00
Henrik Lissner
169f9a6121
General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
Henrik Lissner
387a976368
lang/org: org-archive-subtree-save-file-p = t
Fixes #2662
2020-03-10 23:54:07 -04:00
Henrik Lissner
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
Henrik Lissner
ac477c2170
Alias md to markdown for babel blocks 2020-03-01 12:10:29 -05:00
Henrik Lissner
83414d1227
Add/fix popup rules for org attach & export popups 2020-02-29 00:33:58 -05:00
Dima Gerasimov
b7042a1495 Set org-babel-python-command to be same as python-shell-interpreter 2020-02-28 18:52:50 +01:00
Dmitrii Gerasimov
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
Henrik Lissner
61fef37e4d
Disable Customize option in org-capture 2020-02-27 00:47:30 -05:00
Henrik Lissner
39a12861ff
Remove org-bookmark-heading (fix hash-table-p errors while refiling) 2020-02-26 13:02:19 -05:00
Henrik Lissner
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
Dima Gerasimov
844d145f97 Construct org-id-locations-file using expand-file-name 2020-02-24 15:14:00 +01:00
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
Henrik Lissner
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
Henrik Lissner
24d2f494c9
lang/org: refactor advice & ob-ammonite integration 2020-02-16 02:26:38 -05:00