Commit Graph

573 Commits

Author SHA1 Message Date
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
80e1e8ff9a lang/org: refactor & reformatting 2020-08-05 18:26:07 -04:00
68c15ef4ae lang/org: tie auto-indent on RET to electric-indent
Gives the user a venue for disabling indentation behavior.
2020-08-05 18:26:06 -04:00
863eb82efd S-RET -> insert literal newline
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.

Relevant to #3694
2020-08-05 18:26:06 -04:00
434f107099 lang/org: org-latex-prefer-user-labels = t 2020-07-31 15:58:09 -04:00
d6fb7d8ac6 lang/org: fix mode restart in buried agenda buffers
Would formerly only apply when persp-mode was active, but this has
nothing to do with persp-mode, specifically.
2020-07-31 15:57:59 -04:00
ff18b1329e Fix #3660: inhibit expensive mode hooks in src blocks
Speeds up native indentation on RET or TAB in org src blocks.

Also, only reindent natively on RET if org-src-tab-acts-natively is
non-nil.
2020-07-31 15:42:27 -04:00
a54d2b3804 lang/org: optimize org-agenda #2672 2020-07-31 01:34:56 -04:00
c7ceed8be7 lang/org: set 3 new defaults
org-fontify-done-headline
org-imenu-depth
org-agenda-deadline-faces
2020-07-31 01:34:24 -04:00
cacc9d2e9b lang/org: org-list-allow-alphabetical = t 2020-07-26 16:17:07 -04:00
a5c509afff lang/org: org-catch-invisible-edits = 'smart 2020-07-26 16:17:07 -04:00
629c7bed8e Rename λ! (deprecated) -> cmd! 2020-07-26 15:56:51 -04:00
12e414be89 Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
da1030985d Minor refactors & reformatting 2020-07-23 01:26:03 -04:00
950740d7a5 add publish keybinding 2020-07-20 09:13:27 -05:00