aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
Commit message (Collapse)AuthorAgeFilesLines
* emacs: removed more warnings and cleaned up js setupMiquel Sabaté Solà2020-04-212-25/+12
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: removed unneeded mail variables and fixed setup for 27Miquel Sabaté Solà2020-04-211-4/+8
| | | | | | | | | | | | There were two variables that were long removed from GNU Emacs (since 24.x, I think). I was setting them anyways and the byte compiler was complaining about it. I used to ignore this warning, but now I want to play nice. Moreover, since upgrading to GNU Emacs 27.x I've noticed that sending emails was broken: it was not able to figure out the GPG key from which to sign emails. I've fixed this by directly telling `mml' which key to use. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: improved versions being supportedMiquel Sabaté Solà2020-04-211-12/+20
| | | | | | | Defining constants so everything is cleaner, and checking GNU Emacs versions in some places where they weren't. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: provide a package headerMiquel Sabaté Solà2020-04-212-5/+41
| | | | | | And update the one from the original init.el file. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: using the IS-MAC constant whenever possibleMiquel Sabaté Solà2020-04-211-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: properly check the OS and use thatMiquel Sabaté Solà2020-04-211-10/+24
| | | | | | | | | | | | The font detection was based on the window system, which utterly failed when starting up on server mode. Thus, we should use the `system-type' variable instead. Moreover, I'm taking this oportunity to create two new constants which are convenient to check the two supported OSes, and I'm also checking the OS at the very beginning. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: removed deprecated variables in 27.xMiquel Sabaté Solà2020-04-201-15/+4
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: make sure that all-the-icons is installedMiquel Sabaté Solà2020-04-201-0/+21
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: fixed some icons when using a serverMiquel Sabaté Solà2020-04-201-42/+44
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: better disable GC during startupMiquel Sabaté Solà2020-04-202-6/+16
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: use doom-modelineMiquel Sabaté Solà2020-04-202-34/+38
| | | | | | | This is much fancier than what I had before. Plus, I was able to get rid off all the ugly `diminish` calls that never actually worked. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: avoid calling package-initialize in 27.xMiquel Sabaté Solà2020-04-201-1/+3
| | | | | | | GNU Emacs 27.x no longer requires the call of `package-initialize`. We can skip this call from now on. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: enable lexical binding for the resulting init fileMiquel Sabaté Solà2020-04-201-0/+2
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: there is no need to manually add site-lisp subdirsMiquel Sabaté Solà2020-04-201-1/+0
| | | | | | | | Subdirectories inside of /usr/share/emacs/site-lisp are automatically added inside of the `load-path` variable. Thus, there is no need to manually include it again. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added a couple of optimizations with frame creationMiquel Sabaté Solà2020-04-201-2/+6
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: also use evil-collection for the help modeMiquel Sabaté Solà2020-04-201-0/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: use evil-collection as much as possibleMiquel Sabaté Solà2020-04-201-55/+21
| | | | | | This is useful in most cases and it reduces clutter. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: use evil-collection instead of evil-mu4eMiquel Sabaté Solà2020-04-202-27/+25
| | | | | | | Found an error on evil-mu4e after upgrading mu4e. Turns out that the package had migrated from evil-mu4e into evil-collection. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: make sure that highlight-numbers is installedMiquel Sabaté Solà2020-04-131-4/+11
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added the PLJ abbrevMiquel Sabaté Solà2020-04-091-1/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added highlight-numbers-modeMiquel Sabaté Solà2020-04-072-4/+7
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: updated a variable from the soria themeMiquel Sabaté Solà2020-04-042-3/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: regular hunspell and abbrevs.el updateMiquel Sabaté Solà2020-02-261-1/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added abbrev and vocab from city hallMiquel Sabaté Solà2020-02-171-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: tidying up a bit the test infrastructureMiquel Sabaté Solà2020-02-171-4/+4
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: dash.el is a requirement for elisp-elint.el nowMiquel Sabaté Solà2020-02-171-0/+1
| | | | | | Don't ask me, it is now apparently... Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: fix for stdlib-changes on elisp-lintMiquel Sabaté Solà2020-02-171-3/+4
| | | | | | | Apparently elisp-lint also requires that stupid `stdlib-changes' file. Let's make it happen for this tool too. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: outline all headlines when running flyspellMiquel Sabaté Solà2020-02-171-0/+6
| | | | | | | When calling `flyspell-check-next-highlighted-word', expand all headlines, so flyspell does not struggle with hidden text. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: reworked the whole mess that was spell checkingMiquel Sabaté Solà2020-02-132-108/+171
| | | | | | | I've added support for hunspell and languagetool. Moreover, I've redistributed sections so things were located more logically. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: fixed wrong requirement from gif-keycastMiquel Sabaté Solà2020-02-111-23/+23
| | | | | | | This package claimed to support GNU Emacs 25 but it's using the `xdg` library, which is only available since GNU Emacs 26.1. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: use the safer boundp functionMiquel Sabaté Solà2020-02-111-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* ci: rebumped again how things are builtMiquel Sabaté Solà2020-02-111-0/+5
| | | | | | | | Following the example set by writer-mode, I feel much more comfortable with the nix approach of installing GNU Emacs (much more reliable on CI). Plus, I've also added a Makefile so things are easier to test. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Did you know that we are in 2020 already?Miquel Sabaté Solà2020-02-117-7/+7
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: update on the abbrevs.el fileMiquel Sabaté Solà2020-02-111-7/+310
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: use writer-mode in order to export into PDF or ODTMiquel Sabaté Solà2020-02-111-51/+29
| | | | | | This applies only to org mode documents. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added an abbrev for the ... unitary characterMiquel Sabaté Solà2020-02-061-1/+2
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: updated abbrevs.el fileMiquel Sabaté Solà2019-12-091-0/+1
| | | | | | Added yet another long institutional name... Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Minor improvements here and thereMiquel Sabaté Solà2019-12-022-1/+4
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: configured visual-line mode when in text modeMiquel Sabaté Solà2019-09-191-22/+79
| | | | | | | | This will be applied in modes such as org mode. This commit not only enables this mode, but it also tweaks evil mode and it adds a function so everything runs as expected. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added some handy export functionsMiquel Sabaté Solà2019-09-161-3/+46
| | | | | | These avoid some clutter when exporting to either pdf or odt. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added clang-format+Miquel Sabaté Solà2019-09-163-2/+13
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added abbrev into the mixMiquel Sabaté Solà2019-09-163-8/+36
| | | | | | I'm also including some other packages such as dired-x. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: markdown to org-mode on a README fileMiquel Sabaté Solà2019-09-062-18/+18
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Added linters and polished codeMiquel Sabaté Solà2019-09-058-48/+126
| | | | | | The minimum version supported has been raised to 25.3. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs.d: added a hook for lisp-modeMiquel Sabaté Solà2019-09-041-0/+10
| | | | | | Quite similar to what I'm doing in emacs-lisp. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs.d: be a bit more careful with versionsMiquel Sabaté Solà2019-09-041-3/+9
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs.d: fix a type when tangling init.elMiquel Sabaté Solà2019-09-042-8/+10
| | | | | | | Moreover, I'm also included a couple of fixes of typos and documentation improvements. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: added some screencasting packagesMiquel Sabaté Solà2019-08-232-1/+36
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Complete re-structuring so it's easier to installMiquel Sabaté Solà2019-08-2215-0/+2888
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>