summaryrefslogtreecommitdiff
path: root/.emacs
AgeCommit message (Collapse)Author
2022-11-20Port modus config to use-packageKévin Le Gouguec
Following the advice from (modus-themes) Sample configuration with and without use-package.
2022-11-20Keep porting to use-packageKévin Le Gouguec
That one was a doozy.
2022-11-20Port some package settings to use-packageKévin Le Gouguec
Undecided about C-c bindings. I like having them in "one neat pile", rather than scattered across several use-package forms.
2022-11-20Fix org-refile-targets customizationKévin Le Gouguec
2022-11-20Start porting to use-packageKévin Le Gouguec
2022-11-20Make .emacs outline-compliantKévin Le Gouguec
2022-11-20Add functions for rich clipboard interactionKévin Le Gouguec
In order to copy/paste between word processors and Emacs markup modes. This needs a bit more work (e.g. when copying Org snippets, we need to siphon some #+ macros and copy any #+SETUPFILEs) but it's a start.
2022-11-06Undo margins when checking whether window is splittableKévin Le Gouguec
2022-11-05Rename some Emacs commandsKévin Le Gouguec
2022-10-29Adapt my/centered-mode to split-root-window-rightKévin Le Gouguec
(window-buffer window-to-split) returns nil in that case, because window-to-split is the root of the "window tree" rather than a "leaf" or "live" window with an actual buffer attached to it.
2022-10-02Unset margins before attempting to split windowKévin Le Gouguec
Emacs seems to take margins into account when deciding whether a window can be split horizontally. So with my current personal config, a full-width Gnus article window would have huge margins, and could not be split horizontally because a half-width window would not have enough room for these margins.
2022-10-01Use my/centered-mode instead of relying on Gnus layoutsKévin Le Gouguec
Lots of commands in Gnus buffers try to reinstate the setup defined in gnus-buffer-configuration, so when eg drafting a message with the original article displayed on the side, and using P or N to move around the thread, there ends up being some friction in window management. So stop using the Group buffer as a way to left-pad articles; it doesn't even look good on half-width frames anyway.
2022-10-01Fix buffer-local value lookupKévin Le Gouguec
Couple of mistakes there: * buffer-local-value was called too late, * the symbol wasn't quoted, so buffer-local-value ended up taking a peek at fill-column directly, because that's what my/centered-width defaults to. Just wrap the whole thing in with-current-buffer. That'll make it easier to introduce new buffer-local variables set via mode hooks.
2022-09-02Add emoji method to my/input-mapKévin Le Gouguec
2022-06-16Remove Modus deuteranopia/bg-only kludgeKévin Le Gouguec
2022-05-26Add minor mode to keep buffer content centered on windowKévin Le Gouguec
2022-05-22Tone down ediff facesKévin Le Gouguec
2022-05-15Shorten eglot lighterKévin Le Gouguec
2022-05-15Break up .emacs section into smaller chunksKévin Le Gouguec
2022-05-15Shorten flymake lighterKévin Le Gouguec
2022-02-17Fix Modus customizationKévin Le Gouguec
2022-02-13Add MELPA with add-to-listKévin Le Gouguec
I could update the Custom value to add NonGNU ELPA, but at this point I'd rather forsake Custom for lists altogether.
2022-02-06Spend way too much time trying to be backward-compatibleKévin Le Gouguec
2021-12-25Port Modus settings to v2Kévin Le Gouguec
2021-10-15Tweak Emacs settingsKévin Le Gouguec
- clarify package initialization comments - load Modus theme on terminal too - use emoji variation selector when appropriate - open patches in read-only mode - now that Modus has been updated, ditch obsolete option - etc.
2021-09-18Tweak some Emacs settingsKévin Le Gouguec
2021-08-07Tweak Magit bindingsKévin Le Gouguec
I keep pressing "f" for "file-related commands", instead of "c" for "current file-related commands". Cave in and move "f" to "C-f".
2021-04-27Tweak Emacs configKévin Le Gouguec
- install async for paradox; sort package list - don't load Modus theme if it is not builtin
2021-04-22Remove kludge for Modus themeKévin Le Gouguec
Version 1.3.0 has been pushed to Emacs core, and it includes equivalent changes.
2021-04-22Ignore case for all completionKévin Le Gouguec
2021-04-14Enable repeat-mode for Emacs≥28Kévin Le Gouguec
2021-03-17Switch to dark Modus themeKévin Le Gouguec
2021-03-17Commit a collection of tweaks to Emacs configKévin Le Gouguec
2021-02-10Move Magit bindings to C-c gKévin Le Gouguec
2021-01-14Simplify message after killKévin Le Gouguec
Some stuff I killed included double-quotes, so the extra quotes were confusing. I tried fancy Unicode quotes, faces, before realizing that nothing of value is lost if I just remove this prefix.
2021-01-14Add utilities to describe mailing list messagesKévin Le Gouguec
2021-01-14Teach my/describe-revision to work with VCKévin Le Gouguec
This works with C-x v {l,h,g}.
2020-12-29Tweak check for electric-indent support in OrgKévin Le Gouguec
2020-12-29Make killing commands more verboseKévin Le Gouguec
Also add helper to copy Message-Id from Gnus summary.
2020-12-29Add ≤ and ≥ to my/symbolsKévin Le Gouguec
Easier to reach for than \le, especially since I don't enable the TeX input method as much as I used to.
2020-12-15Add another buffer-related keybindingKévin Le Gouguec
See I knew this C-c b keymap would pay for itself.
2020-11-21Add bindings for some buffer commandsKévin Le Gouguec
bury-buffer is useful as a quick way to dismiss a buffer I've brought up for a quick glance; rename-buffer helps persist some classes of buffers (compilation, help, Gnus articles) that get clobbered otherwise.
2020-09-25Simplify revision-formatting functionKévin Le Gouguec
Commit 2020-09-25 "* CONTRIBUTE: Don't recommend action stamps" (499848d840) officially disavows action stamps.
2020-09-18Define more prefix commandsKévin Le Gouguec
2020-09-18Only define project-wide shell commands for Emacs<28Kévin Le Gouguec
2020-09-18Simplify pair notationsKévin Le Gouguec
I find pcase patterns easier to grok than cons cells, dotted pairs, cars and cdrs.
2020-09-18Start defining proper prefix commandsKévin Le Gouguec
This allows - which-key to display a helpful symbol instead of "+prefix", - C-h b to cross-link to the keymap's docstring.
2020-09-18Tweak input method managementKévin Le Gouguec
- Stop requiring quail, since all functions I need are autoloaded. - Reformat quail-define-package clause ala TeX. Using the "UTF-8" language environment means the input method now shows up on C-h L UTF-8. - Since I might define more input methods, use a more "specific" name. - Move comment about user bindings where it belongs. - Make a proper defun, so that which-key can tell me which binding activates which method. - Note that docstrings could cross-reference input methods, if not for help-xref-mule-regexp.
2020-09-18Add which-keyKévin Le Gouguec
2020-07-29Update some keybindings, lighters & moreKévin Le Gouguec
C-c map: - use d for "display" features - m for "manuals" - only bind p [cf] when the equivalent C-x binding does not exist. Org 9.3.7 (future 9.4) now honors electric-indent-mode. Delight visual-line-mode since I have fringe indicators. Keep selection highlighted when moving to another window.