summaryrefslogtreecommitdiff
path: root/.emacs
AgeCommit message (Collapse)Author
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.
2020-07-17Give up on fine-grained erc-modules customizationKévin Le Gouguec
I wanted to add 'notifications to the list, started wondering whether I should change the hook by looping over cons or using append, and got bored. For the record, I want to include: - log - notifications and exclude: - fill
2020-07-05Tweak ibuffer, ERC, and Gnus FAQKévin Le Gouguec
- Add ibuffer section for VC buffers. - Let ERC pick up my full name. Also, bind switch-to-buffer-obey-display-actions to make C-x 4 4 and C-x 5 5 more reliable.
2020-06-22Tweak Emacs configuration some moreKévin Le Gouguec
Take advantage of recent (Emacs 28) additions to project.el to make a convenient "magit-to-project" command. Some C-c p bindings are now redundant with the new C-x p keymap; keep them for a bit, as Emacs 28 is not coming out anytime soon. Add an ibuffer group for "messaging" buffers. Set lua indentation to 2 spaces; the Lua Style Guide[1] says that this convention is used in many learning resources; this is also what pandoc filters use AFAICT. [1]: http://lua-users.org/wiki/LuaStyleGuide Org 9.4 introduces a new face for DONE headlines; I think the DONE keyword face is enough to distinguish these headlines, so I'll turn off that feature.
2020-05-18Remove obsolete kludge for rg-modeKévin Le Gouguec
Turns out somebody filed an issue soon after I committed my workaround: https://github.com/dajva/rg.el/issues/72 Now fixed 🙌
2020-04-13Update diff-hl integration with MagitKévin Le Gouguec
Cf. <https://github.com/dgutov/diff-hl/commit/a625033fb1dde83f6e4c2fc21f632b22ec34b609>.
2020-04-12Tweak compilation lighter for Emacs 27Kévin Le Gouguec
2020-03-20Stop using C-tab for other-windowKévin Le Gouguec
Use C-x o with repeatable o instead. This removes a conflict with Magit and Org bindings. Inspiration: https://emacs.stackexchange.com/a/52203/10209
2020-02-01Tweak a bunch of Emacs settingsKévin Le Gouguec
* Use Custom to set whitespace style. As much as I dislike using Custom for lists where I just want to add/remove a couple of elements, the previous method introduced a subtle bug where visiting a diff buffer, *then* activating whitespace-mode resulted in diff-mode's whitespace style applying instead of mine. Something to do with diff-setup-whitespace I guess. * Make Org comply with RET/C-j conventions in the rest of Emacs. Since Emacs 24.4, by virtue of electric-indent-mode being enabled by default, RET is the "smart newline" key which handles indentation, and C-j is the "dumb newline" key which simply inputs character 0x0A. * Stop popping another frame for Ediff's control buffer. The popup frame needs its own .Xresources entry. Sometimes it disappears behind the system tray. Having another window allows other-windowing. * Make line-number-mode try harder with long lines. * Change the scroll logic. scroll-conservatively > 100 tells Emacs to *never ever* recenter point, which is annoying when jumping to e.g. a search result or a tags definition. scroll-conservatively = n < 100 tells Emacs to recenter when scrolling needs to move more than n lines, and to scroll only m lines when m≤n. * And some other stuff.
2020-01-10Fix eager macro-expansion failure during startupKévin Le Gouguec
Emacs attempts to expand macros when loading uncompiled files to speed up their execution. Since rx is not loaded during startup, Emacs is not aware of the rx pattern for pcase, and takes it for the rx macro. Since this macro does not understand (let …) forms, it throws an "unknown rx pattern" error, which interrupts macro-expansion and shows a noisy warning.
2020-01-09Allow user to specify revision to consider for action stampsKévin Le Gouguec
2020-01-09Add a function to create action stamp from Magit bufferKévin Le Gouguec
2019-12-27Tweak Emacs font configurationKévin Le Gouguec
2019-12-23Prevent minibuffer seizures when setting frame titleKévin Le Gouguec
For reasons not entirely clear, the password prompt would get stuck when trying to sudoedit a file. minibuffer-depth-indicate-mode told me that I was 16 prompts deep. I'll chalk if off to my/project-name calling functions it shouldn't call when TRAMP is busy.