Commit Graph

637 Commits

Author SHA1 Message Date
7c38eee96c Fix #4727: wrong-type-arg error on async org export
Because org-export-async-init-file will have a different value in the
temp buffer created for the temp file.
2021-03-10 13:03:29 -05:00
5069d95b42 Fix #4745: defining as dynamic an already lexical var
If a dynamic variable is first defined in the same scope where it is
lexically bound, you get this error.
2021-03-07 13:04:24 -05:00
08de1856fa Fix #4733: aggressive saving of org capture buffers 2021-03-06 00:53:18 -05:00
2ab8800bb4 Fix #4726: void-variable org-babel-async-language-blacklist
Supposed to be ob-async-no-async-languages-alist
2021-03-03 15:26:25 -05:00
19563de316 Restore fallback warning removed by ce1105b46
Shoulds till warn when the language isn't blacklisted.
2021-03-02 12:07:45 -05:00
ce1105b463 lang/org: suppress :async+:session warnings for blacklisted langs
If they're blacklisted, they may have their own :async implementation,
like jupyter does. The warning isn't useful or true for them.
2021-03-02 12:05:36 -05:00
ee26c02e1c Add org-agenda-priority keybindings to org config (#4521)
* Add org-agenda-priority keybindings to org config

Summary: This diff adds evil-esque keybindings for the org-agenda-priority
functions. These functions allow the org subtree priority to be set from
the agenda view.

* Correct org priority keybinds

These keys were meant to be on <localleader> p, but were mistakenly
bound on <localleader> s p.

Also mirrors these keybinds to org-agenda-mode-map.

* Use non-agenda org-priority commands

Also make casing in which-key labels more consistent.

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-01 23:04:41 -05:00
49c3c84d7f lang/org: disable ob-async on export or :session
Refactors advice to disable ob-async when exporting org documents or
when the :session parameter is present (ob-async does not support it).
Execution is degraded to synchronous execution and a warning logged.
2021-03-01 22:27:17 -05:00
2ebc4be111 lang/org: reformat keybinds 2021-03-01 22:27:17 -05:00
9c67bf0044 lang/org: revert org-footnote-auto-label to default
'plain is no longer an accepted value.
2021-02-27 10:31:49 -05:00
5d8cbb9541 evil-org-mode-map's CSright conflict with Cright
I understand that what you tried to accomplish via CSright was; however, it doesn't make any difference from Cright, and so for other navigation keys -- h,j,k,l.
I fixed this discrepancy.
2021-02-27 12:07:31 +09:00
f26161410c lang/org: add TODO keywords & fontification
+ Adds LOOP and IDEA to primary todo keywords.
+ Adds OKAY, YES, and NO sequence.
+ Specially fontifies NO and KILL with special "cancelled" face to
  indicate an aborted/rejected task.
+ Specially fontifies PROJ to set it apart.
2021-02-26 21:33:00 -05:00
ed86f99655 lang/org: open org links to remote paths in emacs 2021-02-26 21:33:00 -05:00
e1683dc763 Merge pull request #4403 from gagbo/fix/bepo-exhaustive-remaps
Fix/bepo exhaustive remaps
2021-02-25 14:21:57 -05:00
2ce726b318 Force async babel blocks to export synchronously 2021-02-25 13:16:21 -05:00
065b26e0c5 [:ui layout bepo] Fix notmuch, C-, M- mappings
WIP:
- Add fixme for evil-org remaps

Misc changes:
- Remove notmuch-search binding
  (Unmap the bare "s" keymap from notmuch)
- Remap [] evil-org bindings to ()
- Fix org-capture not finalizing with C-c
- Remap evilem-map
- Add more triggers to minibuffer rotations
- Unmap C-c and C-r from evil-org

Meta:
- Specify bepo layout in maintainer status
- Add basic troubleshooting

In the remapping functions:
- Add operator maps
- Remap C- and M- bindings in normal mode

Respect evil-org-movement-bindings:
This allow non-qwerty users to keep the correct bindings. The additional
let-binding is done to force evaluation of the concatenations and avoid
`void-variable concat` when the map! gets evaluated

Avoid double rotation on magit maps

- Reorder properly magit-mode-map like done on notmuch
  (evil-collection PR#428)
2021-02-22 10:32:03 +01:00
cb32f3f13c Remove the custom org-priority-regexp
This regular expression broke sorting by priority in agenda view. Reverting it back to the original one fixes the issue
2021-02-17 11:11:38 +01:00
9f0a5aad4e Optimize org-priority-regexp
Mentioned in
https://orgmode.org/list/500865d9-9c8a-25ef-e4ef-030fd4b2a3e3@posteo.eu/T/#m066ffa89b2ab6e888c05ba1efcb4daaf29cc17ccj

May be upstreamed at some point.
2021-02-13 17:01:25 -05:00
cf523eb4dd Enabling user config override for org-id-locations-file
The use case: if a user has their org directory stored in a synced
location (e.g. dropbox), this file is the same on all machines and is
almost always conflicted.

This change enables users to override this in the :init section of their
config (or otherwise before org loading) and that the
+org-init-org-directory-h hook will detect an override.
2021-02-07 13:16:06 +01:00
12d8691fa8 Fix #4460: simplify +org--strip-properties-from-outline-a
Link cleanup is done upstream, in org, so we don't have to.
2021-01-03 22:37:51 -05:00
83d416ae78 Merge pull request #4476 from ejez/fix-company-backends
Fix company backends for text and org modes
2021-01-03 18:41:13 -05:00
2465539e19 Fix company backends for text and org modes 2020-12-25 09:44:18 +03:00
3967d6001b Comment/docstring revision 2020-12-18 16:10:06 -05:00
f2d71ae8fe Fix #4419: suppress large-file message in org-agenda buffers 2020-12-18 16:08:58 -05:00
5827985085 Don't increase gc-cons-threshold in org-mode
This was likely unnecessary and may be the cause of recent reports of
slowness/freezing over time.
2020-12-14 01:11:45 -05:00
09ac5a48c1 Add org-export-async-debug to debug vars 2020-12-12 15:56:36 -05:00
f40a2e1ed7 lang/org: apply +org--fix-async-export-a to org-export-as 2020-11-14 13:52:11 -05:00
Jay
454eef591a Created PR to backport emacs-lisp org-babel evaluation to manage the UI 2020-11-09 02:25:59 -05:00
ccda9ef6bb Fix Issue #4212; Use Back-Slash for Win FileShares (#4218)
* Fix Issue #4212; Use Back-Slash for Win FileShares

* Replace single backslash with double

Co-authored-by: Henrik Lissner <accounts@v0.io>
2020-11-06 02:32:09 -05:00
304424d844 Fix #4212: slow file checks over network shares
On windows.
2020-11-04 14:40:44 -05:00
50226c45e6 setq -> setq-default for org directory vars
So lazy loaded settings won't overwrite dir or file local variables.
2020-11-03 22:00:15 -05:00
a835be1c40 Fix #4010: respect custom org-export-async-init-file 2020-10-16 04:19:27 -04:00
6b06e0b52f lang/org: ensure org-auto-align-tags is respected
Should be reported upstream.
2020-10-14 01:03:29 -04:00
ea575e3a8d Bump :lang org
Kungsgeten/org-brain@671db0e -> Kungsgeten/org-brain@e703ae0
abo-abo/org-download@67b3c74 -> abo-abo/org-download@42ac361
astahlman/ob-async@80a30b9 -> astahlman/ob-async@de1cd6c
bastibe/org-journal@a2728e2 -> bastibe/org-journal@e7c51c4
emacs-straight/org-mode@220f2b0 -> emacs-straight/org-mode@e2bb605
fuxialexander/org-pdftools@8cc15bb -> fuxialexander/org-pdftools@3c2b9a4
hakimel/reveal.js@15815ef) -> hakimel/reveal.js@e09437f)
integral-dw/org-superstar-mode@94f35c2 -> integral-dw/org-superstar-mode@7f83636
kaushalmodi/ox-hugo@75b849e -> kaushalmodi/ox-hugo@95723cd
oer/org-re-reveal@7fe39d5 -> oer/org-re-reveal@29f565f
org-roam/org-roam@c33867e -> org-roam/org-roam@87d7c07

Closes #4034; company-org-roam is now deprecated, completions are
provided via capf instead.

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-10-11 16:37:51 -04:00
a7c3c5a9d2 Remove org-format-latex-options :background hack
This will be fixed upstream soon, in solaire-mode.
2020-10-04 23:06:11 -04:00
6a30a11709 Fix #4023 (again): background mismatch for latex previews 2020-10-04 21:26:20 -04:00
018a95cf32 Fix #4023: background mismatch for latex previews
A doom-load-theme-hook hook fixes the background of latex previews, but
by the time org is loaded, this hook will have long since triggered,
giving it no change to update its background, so we must run it at least
once, immediately.
2020-10-04 18:24:59 -04:00
2df1eb7a76 Fix #2972: disable eldoc for plantuml org blocks 2020-08-26 13:55:09 -04:00
bdbeb8f507 lang/org: SPC m a p -> org-download-clipboard
And SPC m a P -> org-download-yank for consistency.

p meaning paste.

Closes #3830
2020-08-25 05:50:09 -04:00
4209454df3 lang/org: optimize org-agenda (part 3) #2672 2020-08-21 19:16:56 -04:00
e86ecf60c9 lang/org: optimize org-agenda (part 2) #2672 2020-08-21 19:11:40 -04:00
dddfd9a7b1 Fix #3787: only inhibit some hooks for org-src ops
Inhibiting all MAJOR-MODE-hook functions (to fix #3660) would mean
inhibiting some useful functionality, like indentation or syntax
highlighting modes. We only want to inhibit expensive hooks. Since Doom
adds these to MAJOR-MODE-local-vars-hook by convention, we can
selectively inhibit those instead.
2020-08-20 02:30:06 -04:00
7081d833f6 Move :ui pretty-code to :ui ligatures
Includes a major refactor of the module.
2020-08-20 02:14:32 -04:00
2c25ffab54 Add org-toggle-checkbox binding (SPC m x) 2020-08-19 17:42:11 +05:30
ff90fc82e6 Normalize keymaps on evil-org-mode
Fixes an issue where evil keybinds aren't in effect on just after
activating org-mode.
2020-08-14 13:35:02 -04:00
3173b39b58 lang/org: different bullets for nested plain lists 2020-08-09 01:50:41 -04:00
5a80db875c lang/org: add lookup handlers for src blocks
- Fixes: `set-lookup-handlers!` couldn't define :definition or
  :references handlers in text-mode derivatives.
- Adds: support for evaluating code in jupyter blocks (#2477).
2020-08-06 00:23:09 -04:00
3b159dda0a lang/org: add code-completion in src blocks
company-capf for src blocks and company-dabbrev for everything else.

Relevant to #2477
2020-08-06 00:22:40 -04:00
68136f7ff9 lang/org: add +pretty flag; move org-superstar
org-superstar is no longer enabled by default, due to unicode-related
crashes and general slowness betraying our "gotta go fast" mantra.
2020-08-05 18:31:01 -04:00
8ae0e79918 lang/org: add eval handler
With this, gr and gR will now work in babel blocks to execute a subset
of the block (or the whole thing, if you'd like). Results are displayed
in a popup buffer (or overlay if :tools (eval +overlay) is enabled).
2020-08-05 18:26:07 -04:00