Henrik Lissner
f8c94547ea
Bump :tools pdf
...
flatwhatson/pdf-tools@86db180 -> flatwhatson/pdf-tools@eb6d406
Fixes #3803
2020-08-21 23:02:39 -04:00
Henrik Lissner
bc11804247
Bump :tools pdf
...
politza/pdf-tools@c510442 -> flatwhatson/pdf-tools@86db180
Moved to flatwhatson's fork, which fixes
politza/pdf-tools#588 (void-function errors on gccemacs).
2020-08-21 20:09:30 -04:00
Henrik Lissner
88b1d05a4a
tools/pdf: revise readme
2020-08-13 17:02:24 -04:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
...
Because these are not really modes.
Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board
2020-05-15 01:44:53 -04:00
Henrik Lissner
b1d9e39a8a
Bump :tools debugger lsp pdf
...
emacs-lsp/dap-mode@cc2eb2f -> emacs-lsp/dap-mode@8f69dc2
emacs-lsp/lsp-mode@11750e7 -> emacs-lsp/lsp-mode@bac42c5
emacs-lsp/lsp-ui@1288be9 -> emacs-lsp/lsp-ui@ab55e30
politza/pdf-tools@d971298 -> politza/pdf-tools@c510442
realgud/realgud@e03446f -> realgud/realgud@1238d8e
2020-05-14 00:12:10 -04:00
Henrik Lissner
92174200aa
Prevent pdf page being persisted too many times
2020-05-14 00:07:26 -04:00
Henrik Lissner
272d8867af
Rename file to store last pdf page
...
Creating a new convention for Doom modules: values stored with the
`doom-store` library should be kept in a file named after the package
that uses it.
2020-05-11 22:12:12 -04:00
Henrik Lissner
84dce5d4ea
Persist current page number for PDFs
2020-05-11 03:00:08 -04:00
Henrik Lissner
7300b0a041
Add :tools pdf readme #1166
...
And document building epdfinfo on Windows.
2020-05-08 05:49:09 -04:00
Henrik Lissner
40c185bd70
Bump :tools
...
Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-04-30 01:27:58 -04:00
Henrik Lissner
d12752324a
Introduce letf! convenience macro
...
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
Henrik Lissner
4431eac0ab
Fix void-function: pdf-tools-install-noverify
...
For folks who try `M-x pdf-tools-install` at startup instead of simply
loading a pdf file.
2020-04-23 13:04:03 -04:00
Henrik Lissner
e0f8fbee22
Fix #2939 : pdf-tools config not triggered on pdf-view-mode
...
Because pdf-view can load without pulling in pdf-tools.
Closes #2954
2020-04-22 15:50:17 -04:00
Henrik Lissner
82e45e756d
Don't disable cua-mode in pdf-view-mode
...
This mode is global. We can't pretend it's buffer local.
2020-03-25 22:44:25 -04:00
Henrik Lissner
21dfd6159e
Bump to politza/pdf-tools@0159cb1
...
From politza/pdf-tools@cc29d4c
2020-02-16 02:26:38 -05:00
Henrik Lissner
a9402cfb55
Fix #2373 : bring back package pinning
...
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES
2020-01-14 22:32:11 -05:00
How Si Wei
8c6efb71cb
Fix pdf-outline error
2020-01-12 15:38:03 +08:00
Henrik Lissner
6f31d774b9
Show the pdf compilation window while its building
...
Even if its output isn't entirely visible (because it redraws once a
second), this is better feedback that something is going on.
2019-12-28 21:28:07 -05:00
Henrik Lissner
9664f68c5f
tools/pdf: minor refactor & reformat
2019-12-17 18:10:25 -05:00
Henrik Lissner
ac17c468d2
tools/pdf: revise comments
2019-09-27 12:05:48 -04:00
Henrik Lissner
62711489df
tools/pdf: run pdf-tools-install-noverify after init
2019-09-26 15:04:25 -04:00
Henrik Lissner
a940f56fb4
tools/pdf: fix 1826
...
Error occurs if pdf-annot is never loaded before kill-buffer hook runs.
2019-09-26 14:26:47 -04:00
Henrik Lissner
ece174d9ed
tools/pdf: document pdf-tools-install hackery
2019-09-26 14:26:47 -04:00
Henrik Lissner
86928e425b
lang/pdf: fix wrong-num-of-args error for MacOS users
2019-09-21 14:19:56 -04:00
Henrik Lissner
fccafff291
tools/pdf: install epdfinfo on load #1788
...
Reverses 4f7bf8b
2019-09-20 01:19:40 -04:00
Henrik Lissner
d5ecfd3429
Move pdf-tools popup rules to tools/pdf
2019-09-19 18:55:44 -04:00
Henrik Lissner
a0826447f5
tools/pdf: refactor retina support advice #1667
2019-09-19 18:39:09 -04:00
Henrik Lissner
4f7bf8b976
tools/pdf: don't install pdf-tools on load
...
Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
2019-09-15 16:16:46 -04:00
Alexander Fu Xi
6c4d8cd408
tools/pdf: display retina images on Emacs NS-port #1667
...
* Advice pdf-tools to display retina image on Mac
* Apply to other functions
* hotfix
* remove redundant advice
2019-08-27 00:36:20 -04:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
...
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.
Also changes def-package-hook! -> use-package-hook!
The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
38d06446ba
tools/pdf: conform to new conventions
2019-07-23 00:00:08 +02:00
Siddharth Shekar
aa64cf9426
Replace kill-this-buffer with kill-current-buffer
...
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
Henrik Lissner
7c9e96da87
General module refactor
2019-03-02 02:04:11 -05:00
Henrik Lissner
8832737671
Adopt seagle0128/doom-modeline for :ui modeline
...
And remove obsolete :ui doom-modeline module.
Relevant to: #136 , #921
2019-03-02 01:34:14 -05:00
Henrik Lissner
36a97b28aa
Fix flickering PDFs in pdf-view-mode #1107
2019-01-22 19:29:13 -05:00
Sean Farley
6f0d01a29e
pdf: remove doom-leader-key from define-key!
...
This is no longer needed now that doom uses general.el.
2019-01-07 14:01:19 -08:00
UndeadKernel
4036f3dad1
pdf-tools: fixes for the new modeline
module
...
Sneak in a comment that addresses some TODOs.
2019-01-02 15:16:05 +01:00
UndeadKernel
239c183b70
tools/pdf: recognize modeline and doom-modeline
2018-09-26 12:55:22 +02:00
Henrik Lissner
20cf412c96
tools/pdf: revert fd7f498
...
Causes an issue where cursor invisibility persists through a workspace
session restore.
Relevant to #892
2018-09-21 10:47:26 -04:00
Henrik Lissner
fd7f498858
tools/pdf: hide cursor in pdf-view-mode #892
2018-09-19 19:27:46 -04:00
Henrik Lissner
df233eb1a9
lang/pdf: fix compatibility with +new modeline
2018-07-29 17:41:58 +02:00
Henrik Lissner
6808c46b58
💥 Change set-popup-rule! usage
...
Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.
The old usage of set-popup-rule! is deprecated and may not work right!
The :ui popup module has also seen a major refactor to improve
efficiency and load times.
Sorry! This is the last "big" change before 2.1!
2018-06-18 02:34:16 +02:00
Henrik Lissner
0ef522bbf2
tools/pdf: close annotation lists when killing pdf
2018-06-15 03:42:01 +02:00
Henrik Lissner
d8b1e469bc
Introduce autodefs to replace some settings
...
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!
I am slowly phasing out the setting system (def-setting! and set!),
starting with these.
What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.
The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
UndeadKernel
99daa9bd43
Fix: restore the display of current and total pages in PDF docs
...
A refactoring spree introduced a bug by incorrectly making a symbol
a function. This fixes this.
2018-06-12 15:32:39 +02:00
Henrik Lissner
32a2a2b64d
General, minor refactor
...
+ Group hooks with add-hook!
+ Sharpquote elfeed call
+ Extract elfeed buffer detector into function and ensure idempotency of
doom-real-buffer-functions
2018-06-03 15:51:59 +02:00
Henrik Lissner
1e81a35461
Minimize dependence on map!
...
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).
In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.
This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
Henrik Lissner
6bb5946765
tools/pdf: rename +pdf-tools-pages segment => +pdf-pages
2018-05-29 15:34:54 +02:00