Commit graph

15995 commits

Author SHA1 Message Date
Henrik Lissner
fa4f03de22 Fix #4784: browse-at-remote-prefer-symbolic = nil
+ Default browse-at-remote-prefer-symbolic to nil because a permanent
  URL is generally more desirable for developers sharing links.
+ 'SPC g y' and 'SPC o o' now support the prefix arg, which will negate
  the default value of browse-at-remote-prefer-symbolic for that call.
2021-03-11 13:41:16 -05:00
Henrik Lissner
26319322b2 Remove redundant straight--build-compile advice
May address #4778 and #4783
2021-03-11 11:44:18 -05:00
Henrik Lissner
abec86310b Fix #4777: wrong-type-argument listp unpin error 2021-03-11 10:57:41 -05:00
Nathan Tran
cdcdde3354
Fix +debugger/start not working (#4782)
* Fix `+debugger/start` not working

* Correct indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-11 10:24:44 -05:00
Henrik Lissner
9f08db8e33 Fix #4759: suppressed doom-first-file-hook side-effects
An optimization that minimizes how much work is done when grabbing org
agenda files in the background prevented side-effects in
doom-first-file-hook. This had the indirect effect of preventing
save-place-mode from adding its hook to find-file-hook IF org-agenda was
the first thing you ran at startup.
2021-03-10 20:33:37 -05:00
Henrik Lissner
61ae935fe4
Merge pull request #4775 from ivanbrennan/fix-reload-hook-docs
Fix doom-{after,before}-reload-hook doc strings
2021-03-10 20:32:38 -05:00
ivanbrennan
e8fe7582a3
fix doom-{after,before}-reload-hook doc strings 2021-03-10 20:27:57 -05:00
Henrik Lissner
377608c54b Fix #4651: don't trigger formatters on org tangle 2021-03-10 13:03:29 -05:00
Henrik Lissner
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
Henrik Lissner
d76d50c1c9 Fix #4676: one-off on go-to-EOL if comment at BOL
Before this commit:
  1. With `|;;; hello`
  2. Press `C-e`: `;|;; hello`
  3. Press `C-e` again: `;;; hello|`

After:
  1. With `|;;; hello`
  2. Press `C-e`: `;;; hello|`
  3. Press `C-e` again: `|;;; hello`
2021-03-10 13:03:29 -05:00
Jeetaditya Chatterjee
a2eac47a75
doc: add crystal README (#4764)
* doc: add crystal README

* adding some punctuation

* adding the version tag

* removing tree/<hash> links and placeholder comments

* adding in the required metadata
2021-03-10 11:53:55 -05:00
Henrik Lissner
62df2c386a Fix #4766: workaround for ivy-prescient wrong-type-arg error
ivy-resume + prefix arg = resume named session, but throws an error when
ivy-prescient is present.
2021-03-10 10:48:57 -05:00
Henrik Lissner
7870350f84 Fix #4768: don't ignore remote projects 2021-03-10 10:48:57 -05:00
Henrik Lissner
cbe4546cb1
Merge pull request #4772 from bpic/fix-split-and-follow
Fix #4770: New window is focused after split
2021-03-10 10:28:57 -05:00
Benjamin Picardat
e33b21dc46 Fix #4770: New window is focused after split
According to the documentation of `evil-window-split` the variable
`evil-split-window-below` needs to be non-nil for the new window to be
created below; and for `evil-window-vsplit` it is the variable
`evil-vsplit-window-right` that needs to be non-nil for the window to be
created on the right.
2021-03-10 15:48:31 +01:00
Henrik Lissner
4a08acd234 Bump :ui doom
hlissner/emacs-doom-themes@e82b6b5 -> hlissner/emacs-doom-themes@55f01ed
hlissner/emacs-solaire-mode@c697925 -> hlissner/emacs-solaire-mode@a8fe09d

Fixes #4729
2021-03-09 16:22:25 -05:00
Henrik Lissner
de781f7a0b ui/zen: enable mixed-pitch-mode in adoc-mode & rst-mode
org-journal-mode is derived from org-mode, so it's not needed in this
list.
2021-03-09 16:20:50 -05:00
Henrik Lissner
b0bec922a9 Fix #4758: wrong-type-arg listp on doom-store-persist 2021-03-09 14:44:24 -05:00
Henrik Lissner
14eb254b4b Bump :tools magit
magit/magit@1c60edc -> magit/magit@4735b92
magit/forge@fa80a87 -> magit/forge@8382fd3

The same predicates are now specified in upstream magit, so there is no need to
override `safe-local-variable'.

Closes #4760

Co-authored-by: Nikita Bloshchanevich <nbfalcon@users.noreply.github.com>
2021-03-09 14:38:09 -05:00
Henrik Lissner
6139ca2e37
Merge pull request #4761 from vherrmann/develop
Better defaults for dired
2021-03-09 14:37:27 -05:00
Valentin Herrmann
79c61629a5
Better defaults for dired 2021-03-09 16:43:22 +01:00
Henrik Lissner
fe6981b245 Bump :tools pdf
flatwhatson/pdf-tools@eb6d406 -> vedang/pdf-tools@35e12b0

The original politza/pdf-tools is no longer maintained (?), and the PR
we were pullin from has been merged into a new, maintained fork at
vedang/pdf-tools.

Might address #4750
2021-03-08 10:25:09 -05:00
Henrik Lissner
a863fe89d0 Bump :lang python
pythonic-emacs/anaconda-mode@081f9d8 -> pythonic-emacs/anaconda-mode@344727c

Closes #786
2021-03-08 10:25:09 -05:00
Henrik Lissner
7e1f5da169 lang/emacs-lisp: respect lexical-binding in eval handler 2021-03-08 10:25:09 -05:00
Henrik Lissner
ab7710adfd doom-info: fix args-out-of-range error 2021-03-08 10:25:09 -05:00
Henrik Lissner
ed0631b404
Merge pull request #4752 from panchoh/fix/org-capture-arguments
Fix 'too many arguments' error on org-capture
2021-03-08 10:16:51 -05:00
Henrik Lissner
6641847932
Merge pull request #4755 from saevarb/patch-1
Prioritize company-capf over company-yasnippet
2021-03-08 10:15:56 -05:00
Sævar Berg
12cf59cf73
Prioritize company-capf over company-yasnippet
This ensures that when doing things like completing on `this.` inside classes, the class fields and methods are shown before the yasnippet snippets.
2021-03-08 13:29:28 +01:00
pancho horrillo
3861225f0b Fix 'too many arguments' error on org-capture
org-capture foo bar baz

will fail with:

org/capture: line 33: [: too many arguments

Adding quotes to the expansion of $str will ensure that test -z has
only one argument.
2021-03-08 10:42:06 +01:00
Henrik Lissner
cf44c43f41 Simplify doctor's native JSON detection 2021-03-07 14:33:11 -05:00
Henrik Lissner
f0d601d2ac ui/nav-flash: refactor
+ Avoid generating unneeded markers (relatively expensive in the long
  run).
+ Extract excluded major modes into a variable.
2021-03-07 14:30:42 -05:00
Ellis Kenyő
ff58823d48
Fix 'wrong type arg: overlayp' error from ivy+nav-flash (#4749)
* Fix for missing overlay

Overlay might be nil before being used, so replicate what the package does

* Neater for for nav-flash issue

* Properly check for the value
2021-03-07 14:29:01 -05:00
Henrik Lissner
a7427bb563
Merge pull request #4744 from edrex/org-capture-nonint-text
org-capture: accept text arg non-interactively
2021-03-07 13:09:58 -05:00
Henrik Lissner
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
Henrik Lissner
f6de662011 Keep treemacs-mode in aw-ignored-buffers
This was an arbitrary default. It's easier to remove than to add
back (see #4746). I'd rather be faithful to treemacs' author's vision.

Closes #4746

Co-authored-by: daanturo <daanturo@users.noreply.github.com>
2021-03-07 12:46:14 -05:00
Henrik Lissner
1c9184504a
Merge pull request #4748 from nbfalcon/bugfix-security/git-commit-locals-predicates
`git-commit`: fix variable predicates
2021-03-07 12:33:44 -05:00
Nikita Bloshchanevich
973f23b1df `git-commit': fix variable predicates
`git-commit-summary-max-length' should be a number, not a symbol.

`git-commit-major-mode' should be checked more carefully, as otherwise
exploits are possible (e.g. if it is `erase-buffer' or some more
dangerous function of the user's environment).
2021-03-07 18:25:01 +01:00
Eric Drechsel
269dab615c org-capture: text from args, else stdin
old behavior was to use stdin in non-interactive
This prevented binding eg in qutebrowser
2021-03-07 00:48:32 -08:00
Henrik Lissner
af775b2f60 Delete docs/workflow.org
This is being moved to the discourse.
2021-03-07 00:14:14 -05:00
Henrik Lissner
4ed27f615e Request users pastebin their M-x doom/info, etc
Also use our new doomemacs.org permalinks.

See #4742
2021-03-07 00:11:42 -05:00
Henrik Lissner
4192d87dcd Redesign doom/info
+ Focus on the important information and cut down on excess.
+ Prompt the user to open pastebin.com after copying doom-info to
  clipboard.
+ Include timestamp in doom-info.
2021-03-07 00:03:04 -05:00
Henrik Lissner
302a76a06e app/everywhere: use MELPA recipe 2021-03-06 23:45:07 -05:00
Henrik Lissner
6b173c5cc5 Remove mention of removed -p in 'doom help install'
This option was removed some time ago. Setting the DOOMDIR envvar is the
canonical way to do this now.

Fixes #4643
2021-03-06 15:06:09 -05:00
Henrik Lissner
f0eb0151f6 evil-respect-visual-line-mode = t
Reverts c733a6a

The previously reported issues seem to be resolved? Just have to wait
and see...

Closes #2447
2021-03-06 14:00:48 -05:00
Henrik Lissner
638c980163 Revert 27d3e73
Some users may not be using a theme (*shudder*), in which case
ns-auto-titlebar-mode never kicks in.

That said, this "fix" didn't fix the targeted issue anyhow.
2021-03-06 12:12:01 -05:00
Henrik Lissner
04a70e23c4 ui/zen: proofread & expand readme 2021-03-06 12:12:01 -05:00
Henrik Lissner
210b3bb059 ui/zen: remove redundant mixed-pitch faces for org
These were already in `mixed-pitch-fixed-pitch-faces`, upstream.
2021-03-06 12:07:10 -05:00
Henrik Lissner
d807657ba7 s/prereqisites/prerequisites
Silly typo is silly.
2021-03-06 12:05:55 -05:00
Henrik Lissner
f8d181a8c4 Ignore remote/temp files or packages as projects 2021-03-06 11:41:47 -05:00
Henrik Lissner
0ebd58c991 Purge ignored projects from cache/known projects
At shutdown time.
2021-03-06 11:39:54 -05:00