# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1688513094 14400 # Node ID da89395f2d6c76590da9babcffb3419f1d839662 # Parent 540cc92e654925481fecd1e3800809e05de83576 customize: automatically change quoting style diff --git a/dotemacs.el b/dotemacs.el --- a/dotemacs.el +++ b/dotemacs.el @@ -54,6 +54,7 @@ ;; Don't prompt, just evaluate the ditaa region! (setq org-confirm-babel-evaluate nil) + ;; And show me the image right there once you're done. ;; https://robert.kra.hn/posts/rust-emacs-setup/ @@ -88,8 +89,6 @@ (call-interactively 'find-file))) (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) - - (setq org2blog-server-url "http://jordi.inversethought.com/xmlrpc.php" org2blog-server-user "jordigh" org2blog-server-weblog-id "") @@ -251,7 +250,6 @@ (setq default-major-mode 'text-mode) (global-unset-key "\C-z") - ;; po-mode seems to have forgotten to bind this key, because it does ;; bind C-_ (add-hook 'po-mode-hook @@ -382,11 +380,10 @@ '(TeX-debug-bad-boxes t) '(TeX-debug-warnings t) '(TeX-display-help nil) - '(TeX-engine (quote xetex)) - '(TeX-newline-function (quote reindent-then-newline-and-indent)) + '(TeX-engine 'xetex) + '(TeX-newline-function 'reindent-then-newline-and-indent) '(TeX-output-view-style - (quote - (("^dvi$" + '(("^dvi$" ("^landscape$" "^pstricks$\\|^pst-\\|^psfrag$") "%(o?)dvips -t landscape %d -o && gv %f") ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv %f") @@ -404,25 +401,24 @@ ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d") ("^dvi$" "." "%(o?)xdvi %dS %d") ("^pdf$" "." "evince %o %(outpage)") - ("^html?$" "." "netscape %o")))) + ("^html?$" "." "netscape %o"))) '(TeX-view-program-selection - (quote - (((output-dvi style-pstricks) + '(((output-dvi style-pstricks) "dvips and gv") (output-dvi "Evince") (output-pdf "Evince") - (output-html "xdg-open")))) + (output-html "xdg-open"))) '(add-log-mailing-address "jordigh@octave.org") '(auto-compression-mode t nil (jka-compr)) - '(c-offsets-alist (quote ((substatement-open . 0) (innamespace . 0)))) + '(c-offsets-alist '((substatement-open . +) (innamespace . +))) '(case-fold-search t) '(column-number-mode t) - '(comint-input-autoexpand (quote history)) - '(comint-move-point-for-output (quote all)) + '(comint-input-autoexpand 'history) + '(comint-move-point-for-output 'all) '(comint-prompt-read-only t) - '(comint-scroll-to-bottom-on-input (quote all)) + '(comint-scroll-to-bottom-on-input 'all) '(compilation-scroll-output t) - '(confirm-kill-emacs (quote yes-or-no-p)) + '(confirm-kill-emacs 'yes-or-no-p) '(cperl-auto-newline nil) '(cperl-close-paren-offset 0) '(cperl-electric-backspace-untabify nil) @@ -434,17 +430,16 @@ '(default-input-method "latin-1-prefix") '(ecb-options-version "2.32") '(ecb-tip-of-the-day nil) - '(ediff-split-window-function (quote split-window-horizontally)) + '(ediff-split-window-function 'split-window-horizontally) '(elpy-interactive-python-command "ipython") '(elpy-modules - (quote - (elpy-module-company elpy-module-eldoc elpy-module-flymake elpy-module-pyvenv elpy-module-yasnippet elpy-module-sane-defaults))) + '(elpy-module-company elpy-module-eldoc elpy-module-flymake elpy-module-pyvenv elpy-module-sane-defaults)) '(elpy-rpc-ignored-buffer-size 10240000) '(elpy-rpc-timeout 5) + '(elpy-syntax-check-command "flake8 --config=/home/jordi/.config/flake8") '(erc-input-line-position 0 t) '(erc-modules - (quote - (highlight-nicknames scrolltobottom completion autojoin button fill irccontrols list match menu move-to-prompt netsplit networks noncommands readonly ring stamp track))) + '(highlight-nicknames scrolltobottom completion autojoin button fill irccontrols list match menu move-to-prompt netsplit networks noncommands readonly ring stamp track)) '(gdb-max-frames 1000) '(global-font-lock-mode t nil (font-lock)) '(gud-pdb-command-name "pdb") @@ -452,30 +447,37 @@ '(indent-tabs-mode nil) '(inhibit-startup-buffer-menu t) '(inhibit-startup-screen t) - '(jde-jdk-registry (quote (("1.6.0" . "/usr/lib/jvm/java-6-openjdk")))) + '(jde-jdk-registry '(("1.6.0" . "/usr/lib/jvm/java-6-openjdk"))) + '(js-indent-level 2) '(js2-auto-indent-flag nil) '(js2-bounce-indent-flag nil) '(js2-enter-indents-newline nil) + '(js2-include-node-externs t) '(js2-mirror-mode nil) + '(js2-skip-preprocessor-directives t) '(legalese-default-author "Jordi Gutiérrez Hermoso") '(legalese-default-copyright "Jordi Gutiérrez Hermoso ") + '(lsp-ui-doc-show-with-cursor t) '(make-backup-files nil) + '(native-comp-async-report-warnings-errors 'silent) '(org-startup-folded nil) '(package-archives - (quote - (("melpa-stable" . "https://stable.melpa.org/packages/") - ("gnu" . "http://elpa.gnu.org/packages/")))) + '(("melpa-stable" . "https://stable.melpa.org/packages/") + ("gnu" . "http://elpa.gnu.org/packages/") + ("melpa" . "https://melpa.org/packages/"))) '(package-selected-packages - (quote - (auctex sql-indent sqlup-mode rjsx-mode mastodon rust-mode systemd fountain-mode markdown-mode magit js2-mode yaml-mode web-mode undo-tree puppet-mode nginx-mode json-mode jade-mode idomenu haml-mode goto-last-change flymake-haml elpy dockerfile-mode))) - '(preview-default-option-list - (quote - ("displaymath" "floats" "graphics" "textmath" "footnotes"))) + '(eglot flycheck use-package lsp-ui company lsp-mode rainbow-mode rustic dash python-mode d-mode dts-mode lua-mode csharp-mode pug-mode nhexl-mode elpy mediawiki sqlformat pdf-tools auctex sql-indent sqlup-mode rjsx-mode mastodon rust-mode systemd fountain-mode markdown-mode magit js2-mode yaml-mode web-mode undo-tree puppet-mode nginx-mode json-mode jade-mode idomenu haml-mode goto-last-change flymake-haml dockerfile-mode)) + '(preview-default-option-list '("displaymath" "floats" "graphics" "textmath")) + '(preview-gs-command "/home/jordi/.local/bin/gs-9533-linux-x86_64") '(preview-pdf-color-adjust-method t) '(preview-scale-function 1.3) + '(python-shell-interpreter "python3") + '(rustic-ansi-faces + ["black" "IndianRed1" "green3" "yellow3" "cyan" "magenta3" "cyan3" "white"]) + '(rustic-lsp-client 'eglot) '(safe-local-variable-values - (quote - ((encoding . utf-8) + '((TeX-master nil) + (encoding . utf-8) (eval when (and (buffer-file-name) @@ -503,24 +505,23 @@ (string-match "\\.h\\'" (buffer-file-name)) (c++-mode) - (c-set-style "gnu"))))) + (c-set-style "gnu")))) '(savehist-mode t nil (savehist)) '(select-enable-clipboard t) '(select-enable-primary t) '(show-paren-mode t) - '(sql-product (quote postgres)) + '(sql-product 'postgres) + '(sqlformat-command 'pgformatter) '(sqlup-blacklist - (quote - ("scope" "id" "name" "output" "indicator" "state" "a" "year" "day" "month" "c" "label" "value" "method"))) + '("scope" "id" "name" "output" "indicator" "state" "a" "year" "day" "month" "c" "label" "value" "method")) '(tab-width 2) - '(text-mode-hook (quote (text-mode-hook-identify))) + '(text-mode-hook '(text-mode-hook-identify)) '(tool-bar-mode nil) '(tramp-default-method "ssh" nil (tramp)) '(tramp-remote-process-environment - (quote - ("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C" "TERM=dumb" "EMACS=t" "INSIDE_EMACS='24.3.1,tramp:2.2.6-24.3'" "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=\"\"" "autocorrect=" "HGPLAIN=1" "correct=")) nil (tramp)) + '("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C" "TERM=dumb" "EMACS=t" "INSIDE_EMACS='24.3.1,tramp:2.2.6-24.3'" "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=\"\"" "autocorrect=" "HGPLAIN=1" "correct=") nil (tramp)) '(transient-mark-mode nil) - '(uniquify-buffer-name-style (quote forward) nil (uniquify)) + '(uniquify-buffer-name-style 'forward nil (uniquify)) '(vc-follow-symlinks nil) '(w3m-default-display-inline-images t) '(w3m-use-cookies t) @@ -563,6 +564,7 @@ '(rst-level-1-face ((t (:background "grey10"))) t) '(rst-level-2-face ((t (:background "grey10"))) t) '(rst-level-3-face ((t (:background "grey10"))) t) + '(rustic-errno-face ((t (:foreground "IndianRed1")))) '(show-ws-tab ((t (:background "Black")))) '(stripes-face ((t (:background "#444")))))