Commit graph

15825 commits

Author SHA1 Message Date
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
Henrik Lissner
4c7c9cacd3 os/tty: proofread readme 2021-03-06 11:23:00 -05:00
Henrik Lissner
01b447a12c
Merge pull request #4743 from nbfalcon/bugfix/eldoc-variable-value-not-displayed
Emacs lisp: fix variable value display in eldoc
2021-03-06 10:36:33 -05:00
Henrik Lissner
2a4509c42a editor/evil: fix typo in +evil-window-split-and-follow
And conform these commands to naming conventions.
2021-03-06 10:31:10 -05:00
Nikita Bloshchanevich
169d0b2ed5 Emacs lisp: fix variable value display in eldoc
`fboundp' does not check if a variable is bound, but rather a function.
Use `boundp'.
2021-03-06 16:29:07 +01:00
Henrik Lissner
27d3e73fb7 os/macos: activate ns-auto-titlebar-mode later
If triggered too early, it may read the wrong frame background mode and
you'll get dark text on a dark titlebar in MacOS dark mode (or light
text on a light titlebar in light mode).
2021-03-06 10:24:38 -05:00
Henrik Lissner
e4539bb56c ui/ligatures: fix over-eager activation
Users (or packages) may add entries directly to prettify-symbols-alist.
The module would mistaken that as a green light to activate
prettify-symbols-mode. Instead, only activate the mode if this module's
ligatures (or extra symbols) are specifically asked for.
2021-03-06 10:04:54 -05:00
Henrik Lissner
0917187f20 editor/evil: bind C-w {S,V} to split-and-follow 2021-03-06 09:59:50 -05:00
Henrik Lissner
1e7fb8b915 Remove sourcerer.io hall-of-fame from README
The service shut down: sourcerer-io/sourcerer-app#632
2021-03-06 00:59:06 -05:00
Henrik Lissner
08de1856fa Fix #4733: aggressive saving of org capture buffers 2021-03-06 00:53:18 -05:00
Henrik Lissner
235c386368 Add :app emms to init.example.el 2021-03-06 00:51:37 -05:00
Henrik Lissner
329864ba9d Update docs/modules.org 2021-03-06 00:51:19 -05:00
Henrik Lissner
87e209badc Remove vestigial mentions of the :feature category
It was removed long, long ago.
2021-03-06 00:49:36 -05:00
tJ2ow
7b07e612b4
Added emms as doom module { :app emms } (#3581)
* Added emms dir to gitignore.

* Added emms module.

* Added emms module.

* Added emms module.

* I had a weird bug fixed it.

* I suck.

* Made the changer lissner requested.

* Made a restart music daemon func.

* Simplify config and bump package

* Proofread readme

Co-authored-by: Takoda J Horton <takodajhorton@protonmail.com>
Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-06 00:44:04 -05:00
Henrik Lissner
287e3e83b2 Bump :ui treemacs
Alexander-Miller/treemacs@a7e2e43 -> Alexander-Miller/treemacs@6857816

Include a fix for Treemacs + TRAMP (broken by
Alexander-Miller/treemacs@6c43117)

Closes #4735
2021-03-06 00:23:12 -05:00
Henrik Lissner
f272137e12 app/calendar: fix C-{l,j,k} in details buffer 2021-03-06 00:15:21 -05:00
Henrik Lissner
cf31d2605f app/calendar: fix edge case with +calendar/quit
The user can open the calendar directly, with `M-x
cfw:open-calendar-buffer`, which sidesteps the workspace init logic in
=calendar. This fixes +calendar/quit so it can deal with this use case.

Mentioned in #4019
2021-03-06 00:10:55 -05:00
Henrik Lissner
7399138736 app/calendar: minor refactor & reformatting 2021-03-06 00:10:55 -05:00
Henrik Lissner
b5f258914d app/calendar: add evil keybind scheme
This should probably be upstreamed to evil-collection.

Fixes #4019
2021-03-06 00:10:55 -05:00
Henrik Lissner
4003d1fdea app/calendar: add cfw:details* popup rule 2021-03-06 00:10:55 -05:00
Henrik Lissner
55cfe0cca4 Fix TAB fallthrough for evil keybinds
If TAB was bound on the current keymap, our TAB dispatcher would fall
back on it, but it wouldn't see TAB keybinds on evil auxiliary keymaps
on the current keymaps (e.g. in cfw:calendar-mode).
2021-03-06 00:10:55 -05:00