From 6bff70e018cd4e74a552243795b36348b57ed6eb Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 19 Mar 2021 18:07:37 +0000 Subject: mah --- init.el | 111 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 45 insertions(+), 66 deletions(-) diff --git a/init.el b/init.el index 2e71866..ae0936d 100755 --- a/init.el +++ b/init.el @@ -4,10 +4,6 @@ ;; You may delete these explanatory comments. (package-initialize) -; put socket in home dir; emacs 27 daemon seems to put it in -; /tmp/emacs$id but emacsclient doesn't look there :/ -(setq server-socket-dir (format "/home/%s/.emacs.d" (user-login-name))) - ; compatibility with some strange packages that were not updated for emacs 24 (defalias 'make-local-hook 'ignore) @@ -22,27 +18,25 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ack-command "ack --nopager ") + '(auth-source-save-behavior nil) '(auto-coding-alist - (quote - (("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion) + '(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion) ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion) - ("^/home/dakkar/.claws-mail/tmp" . utf-8)))) - '(browse-url-browser-function (quote browse-url-generic)) + ("^/home/dakkar/.claws-mail/tmp" . utf-8))) + '(browse-url-browser-function 'browse-url-generic) '(browse-url-generic-program "/usr/bin/firefox") '(browse-url-lynx-input-attempts 10 t) '(browse-url-netscape-program "/usr/bin/firefox") '(c-cleanup-list - (quote - (brace-else-brace brace-elseif-brace brace-catch-brace empty-defun-braces scope-operator))) + '(brace-else-brace brace-elseif-brace brace-catch-brace empty-defun-braces scope-operator)) '(c-echo-syntactic-information-p t) '(c-tab-always-indent nil) '(calendar-week-start-day 1) '(case-fold-search t) '(column-number-mode t) '(confluence-default-space-alist - (quote - (("https://confluence.nap/rpc/xmlrpc" . "TA") - ("https://confluence.nap/rpc/xmlrpc" . "BAK")))) + '(("https://confluence.nap/rpc/xmlrpc" . "TA") + ("https://confluence.nap/rpc/xmlrpc" . "BAK"))) '(confluence-url "https://confluence.nap/rpc/xmlrpc") '(cperl-close-paren-offset -4) '(cperl-continued-statement-offset 4) @@ -52,39 +46,35 @@ '(cperl-under-as-char nil) '(current-language-environment "English") '(default-frame-alist - (quote - ((tool-bar-lines . 0) + '((tool-bar-lines . 0) (width . 80) (height . 25) (right-fringe) (left-fringe) - (fullscreen . fullheight)))) + (fullscreen . fullheight))) '(desktop-load-locked-desktop t) '(desktop-save t) '(desktop-save-mode t) '(diary-date-forms - (quote - ((month "/" day "[^/0-9]") + '((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W") - (year "-" month "-" day "[^0-9]")))) + (year "-" month "-" day "[^0-9]"))) '(ecb-cedet-url "http://belnet.dl.sourceforge.net/sourceforge/ecb/") '(ecb-download-url "http://belnet.dl.sourceforge.net/sourceforge/ecb/") '(ecb-options-version "2.27") '(emacs-wiki-charset-default "utf-8") - '(emacs-wiki-coding-default (quote utf-8)) + '(emacs-wiki-coding-default 'utf-8) '(emacs-wiki-grep-command "find %D -type f ! -name '*~' | xargs grep -E -n -e \"\\<%W\\>\"") '(emacs-wiki-mode-hook - (quote - (emacs-wiki-use-font-lock footnote-mode highlight-changes-mode))) + '(emacs-wiki-use-font-lock footnote-mode highlight-changes-mode)) '(enable-local-variables t) '(espresso-indent-level 2) '(file-coding-system-alist - (quote - (("\\.po\\'\\|\\.po\\." . po-find-file-coding-system) + '(("\\.po\\'\\|\\.po\\." . po-find-file-coding-system) ("\\.dz\\'" no-conversion . no-conversion) ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.tgz\\'" no-conversion . no-conversion) @@ -97,11 +87,10 @@ ("\\.tar\\'" no-conversion . no-conversion) ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system) - ("" undecided . utf-8)))) - '(file-name-coding-system (quote utf-8) t) + ("" undecided . utf-8))) + '(file-name-coding-system 'utf-8 t) '(flymake-allowed-file-name-masks - (quote - (("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'" flymake-simple-make-init nil nil) + '(("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'" flymake-simple-make-init nil nil) ("\\.xml\\'" flymake-xml-init nil nil) ("\\.html?\\'" flymake-xml-init nil nil) ("\\.cs\\'" flymake-simple-make-init nil nil) @@ -112,12 +101,11 @@ ("[0-9]+\\.tex\\'" flymake-master-tex-init flymake-master-cleanup nil) ("\\.tex\\'" flymake-simple-tex-init nil nil) ("\\.idl\\'" flymake-simple-make-init nil nil) - ("\\.ino\\'" flymake-simple-make-init nil nil)))) + ("\\.ino\\'" flymake-simple-make-init nil nil))) '(flymake-log-level 0) - '(flymake-master-file-dirs (quote ("." "./src" "./lib" "./t/lib"))) + '(flymake-master-file-dirs '("." "./src" "./lib" "./t/lib")) '(flymake-proc-allowed-file-name-masks - (quote - (("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'" flymake-simple-make-init nil nil) + '(("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'" flymake-simple-make-init nil nil) ("\\.xml\\'" flymake-xml-init nil nil) ("\\.html?\\'" flymake-xml-init nil nil) ("\\.cs\\'" flymake-simple-make-init nil nil) @@ -128,16 +116,15 @@ ("[0-9]+\\.tex\\'" flymake-master-tex-init flymake-master-cleanup nil) ("\\.tex\\'" flymake-simple-tex-init nil nil) ("\\.idl\\'" flymake-simple-make-init nil nil) - ("\\.ino\\'" flymake-simple-make-init nil nil)))) - '(flymake-proc-master-file-dirs (quote ("." "./src" "./lib" "./t/lib"))) + ("\\.ino\\'" flymake-simple-make-init nil nil))) + '(flymake-proc-master-file-dirs '("." "./src" "./lib" "./t/lib")) '(footnote-section-tag-regexp "Notes?\\(\\[.\\]\\)?: ") '(footnote-spaced-footnotes nil) '(global-font-lock-mode t nil (font-lock)) - '(gnus-default-charset (quote iso-8859-15)) - '(gnus-default-posting-charset (quote iso-8859-15)) + '(gnus-default-charset 'iso-8859-15) + '(gnus-default-posting-charset 'iso-8859-15) '(gnus-group-charset-alist - (quote - (("^hk\\>\\|^tw\\>\\|\\" cn-big5) + '(("^hk\\>\\|^tw\\>\\|\\" cn-big5) ("^cn\\>\\|\\" cn-gb-2312) ("^fj\\>\\|^japan\\>" iso-2022-jp-2) ("^tnn\\>\\|^pin\\>\\|^sci.lang.japan" iso-2022-7bit) @@ -149,22 +136,20 @@ ("^alt.chinese.text.big5\\>" chinese-big5) ("^soc.culture.vietnamese\\>" vietnamese-viqr) ("^\\(comp\\|rec\\|alt\\|sci\\|soc\\|news\\|gnu\\|bofh\\)\\>" iso-8859-15) - (".*" iso-8859-15)))) + (".*" iso-8859-15))) '(gnus-group-posting-charset-alist - (quote - (("^\\(no\\|fr\\)\\.[^,]*\\(,[ + '(("^\\(no\\|fr\\)\\.[^,]*\\(,[ ]*\\(no\\|fr\\)\\.[^,]*\\)*$" iso-8859-15 (iso-8859-15)) ("^\\(fido7\\|relcom\\)\\.[^,]*\\(,[ ]*\\(fido7\\|relcom\\)\\.[^,]*\\)*$" koi8-r (koi8-r)) (message-this-is-mail nil nil) - (message-this-is-news nil t)))) + (message-this-is-news nil t))) '(gnus-ignored-headers - (quote - ("^Path:" "^Expires:" "^Date-Received:" "^References:" "^Xref:" "^Lines:" "^Relay-Version:" "^Message-ID:" "^Approved:" "^Sender:" "^Received:" "^X-UIDL:" "^MIME-Version:" "^Return-Path:" "^In-Reply-To:" "^Content-Transfer-Encoding:" "^X-WebTV-Signature:" "^X-MimeOLE:" "^X-MSMail-Priority:" "^X-Priority:" "^X-Loop:" "^X-Authentication-Warning:" "^X-MIME-Autoconverted:" "^X-Face:" "^X-Attribution:" "^X-Originating-IP:" "^Delivered-To:" "^NNTP-[-A-Za-z]+:" "^Distribution:" "^X-no-archive:" "^X-Trace:" "^X-Complaints-To:" "^X-NNTP-Posting-Host:" "^X-Orig.*:" "^Abuse-Reports-To:" "^Cache-Post-Path:" "^X-Article-Creation-Date:" "^X-Poster:" "^X-Mail2News-Path:" "^X-Server-Date:" "^X-Cache:" "^Originator:" "^X-Problems-To:" "^X-Auth-User:" "^X-Post-Time:" "^X-Admin:" "^X-UID:" "^Resent-[-A-Za-z]+:" "^X-Mailing-List:" "^Precedence:" "^Original-[-A-Za-z]+:" "^X-filename:" "^X-Orcpt:" "^Old-Received:" "^X-Pgp" "^X-Auth:" "^X-From-Line:" "^X-Gnus-Article-Number:" "^X-Majordomo:" "^X-Url:" "^X-Sender:" "^MBOX-Line" "^Priority:" "^X-Pgp" "^X400-[-A-Za-z]+:" "^Status:" "^X-Gnus-Mail-Source:" "^Cancel-Lock:" "^X-FTN" "^X-EXP32-SerialNo:" "^Encoding:" "^Importance:" "^Autoforwarded:" "^Original-Encoded-Information-Types:" "^X-Ya-Pop3:" "^X-Face-Version:" "^X-Vms-To:" "^X-ML-NAME:" "^X-ML-COUNT:" "^Mailing-List:" "^X-finfo:" "^X-md5sum:" "^X-md5sum-Origin:" "^X-Sun-Charset:" "^X-Accept-Language:" "^X-Envelope-Sender:" "^List-[A-Za-z]+:" "^X-Listprocessor-Version:" "^X-Received:" "^X-Distribute:" "^X-Sequence:" "^X-Juno-Line-Breaks:" "^X-Notes-Item:" "^X-MS-TNEF-Correlator:" "^x-uunet-gateway:" "^X-Received:" "^Content-length:" "X-precedence:"))) + '("^Path:" "^Expires:" "^Date-Received:" "^References:" "^Xref:" "^Lines:" "^Relay-Version:" "^Message-ID:" "^Approved:" "^Sender:" "^Received:" "^X-UIDL:" "^MIME-Version:" "^Return-Path:" "^In-Reply-To:" "^Content-Transfer-Encoding:" "^X-WebTV-Signature:" "^X-MimeOLE:" "^X-MSMail-Priority:" "^X-Priority:" "^X-Loop:" "^X-Authentication-Warning:" "^X-MIME-Autoconverted:" "^X-Face:" "^X-Attribution:" "^X-Originating-IP:" "^Delivered-To:" "^NNTP-[-A-Za-z]+:" "^Distribution:" "^X-no-archive:" "^X-Trace:" "^X-Complaints-To:" "^X-NNTP-Posting-Host:" "^X-Orig.*:" "^Abuse-Reports-To:" "^Cache-Post-Path:" "^X-Article-Creation-Date:" "^X-Poster:" "^X-Mail2News-Path:" "^X-Server-Date:" "^X-Cache:" "^Originator:" "^X-Problems-To:" "^X-Auth-User:" "^X-Post-Time:" "^X-Admin:" "^X-UID:" "^Resent-[-A-Za-z]+:" "^X-Mailing-List:" "^Precedence:" "^Original-[-A-Za-z]+:" "^X-filename:" "^X-Orcpt:" "^Old-Received:" "^X-Pgp" "^X-Auth:" "^X-From-Line:" "^X-Gnus-Article-Number:" "^X-Majordomo:" "^X-Url:" "^X-Sender:" "^MBOX-Line" "^Priority:" "^X-Pgp" "^X400-[-A-Za-z]+:" "^Status:" "^X-Gnus-Mail-Source:" "^Cancel-Lock:" "^X-FTN" "^X-EXP32-SerialNo:" "^Encoding:" "^Importance:" "^Autoforwarded:" "^Original-Encoded-Information-Types:" "^X-Ya-Pop3:" "^X-Face-Version:" "^X-Vms-To:" "^X-ML-NAME:" "^X-ML-COUNT:" "^Mailing-List:" "^X-finfo:" "^X-md5sum:" "^X-md5sum-Origin:" "^X-Sun-Charset:" "^X-Accept-Language:" "^X-Envelope-Sender:" "^List-[A-Za-z]+:" "^X-Listprocessor-Version:" "^X-Received:" "^X-Distribute:" "^X-Sequence:" "^X-Juno-Line-Breaks:" "^X-Notes-Item:" "^X-MS-TNEF-Correlator:" "^x-uunet-gateway:" "^X-Received:" "^Content-length:" "X-precedence:")) '(gnus-large-newsgroup 2000) - '(gnus-select-method (quote (nntp "news.ngi.it"))) + '(gnus-select-method '(nntp "news.ngi.it")) '(icomplete-mode t nil (icomplete)) '(indent-tabs-mode nil) '(ledger-clear-whole-transactions t) @@ -173,7 +158,7 @@ '(ledger-use-iso-dates t) '(lpr-command "gtklp") '(lpr-switches nil) - '(magit-default-tracking-name-function (quote magit-default-tracking-name-branch-only)) + '(magit-default-tracking-name-function 'magit-default-tracking-name-branch-only) '(markdown-command "markdown_py") '(menu-bar-mode nil) '(message-signature-file "~/.signature/news.sig") @@ -186,30 +171,27 @@ '(nxml-auto-insert-xml-declaration-flag t) '(nxml-char-ref-display-glyph-flag nil) '(nxml-child-indent 1) - '(nxml-default-buffer-file-coding-system (quote utf-8)) + '(nxml-default-buffer-file-coding-system 'utf-8) '(nxml-slash-auto-complete-flag t) '(package-archives - (quote - (("gnu" . "https://elpa.gnu.org/packages/") - ("melpa" . "https://melpa.org/packages/")))) + '(("gnu" . "https://elpa.gnu.org/packages/") + ("melpa" . "https://melpa.org/packages/"))) '(package-selected-packages - (quote - (gnu-elpa-keyring-update wgrep web-mode unicode-fonts perl6-mode markdown-mode magit-tramp magit-find-file ledger-mode))) + '(go-mode magit magit-filenotify magit-gh-pulls magit-gitflow magit-vcsh gnu-elpa-keyring-update wgrep web-mode unicode-fonts perl6-mode markdown-mode magit-tramp magit-find-file ledger-mode)) '(pov-external-viewer-command "display") '(pov-help-file "povuser.txt") '(reftex-extra-bindings nil) - '(reftex-label-alist (quote (AMSTeX))) + '(reftex-label-alist '(AMSTeX)) '(rst-adornment-faces-alist - (quote - ((1 . rst-level-1-face) + '((1 . rst-level-1-face) (2 . rst-level-2-face) (3 . rst-level-3-face) (4 . rst-level-4-face) (5 . rst-level-5-face) (6 . rst-level-6-face) (t . font-lock-keyword-face) - (nil . font-lock-keyword-face)))) - '(rst-directive-face (quote font-lock-constant-face)) + (nil . font-lock-keyword-face))) + '(rst-directive-face 'font-lock-constant-face) '(rst-mode-lazy nil) '(ruby-deep-indent-paren nil) '(select-enable-primary t) @@ -220,40 +202,37 @@ "^/home/dakkar/\\.claws-mail/tmp\\|/tmp/\\(Re\\|mutt\\)\\|/draft$") '(sgml-balanced-tag-edit t t) '(sgml-catalog-files - (quote - ("catalog" "/usr/local/lib/sgml/catalog" "/home/dakkar/.emacs-lisp/catalog")) t) + '("catalog" "/usr/local/lib/sgml/catalog" "/home/dakkar/.emacs-lisp/catalog") t) '(sgml-indent-data t t) '(sgml-indent-step 1 t) '(sgml-insert-end-tag-on-new-line t t) '(sgml-live-element-indicator t t) '(sgml-local-catalogs nil t) '(sgml-markup-faces - (quote - ((start-tag . font-lock-builtin-face) + '((start-tag . font-lock-builtin-face) (end-tag . font-lock-builtin-face) (comment . font-lock-comment-face) (pi . bold) (sgml . bold) (doctype . bold) (entity . italic) - (shortref . bold))) t) + (shortref . bold)) t) '(sgml-name-8bit-mode nil) '(sgml-set-face t t) '(sgml-slash-distance nil) '(smiley-regexp-alist nil) '(speedbar-show-unknown-files nil) '(speedbar-supported-extension-expressions - (quote - (".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".f\\(90\\|77\\|or\\)?" ".ada" ".pl" ".tcl" ".m" ".scm" ".pm" ".py" ".s?html" "Makefile\\(\\.in\\)?" ".x[ms]l"))) + '(".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".f\\(90\\|77\\|or\\)?" ".ada" ".pl" ".tcl" ".m" ".scm" ".pm" ".py" ".s?html" "Makefile\\(\\.in\\)?" ".x[ms]l")) '(strokes-use-strokes-buffer nil) - '(tex-default-mode (quote latex-mode)) + '(tex-default-mode 'latex-mode) '(tex-dvi-view-command "xdvi") '(tool-bar-mode nil nil (tool-bar)) '(tooltip-delay 1.5) '(tooltip-short-delay 0.2) '(tramp-default-proxies-alist nil) '(truncate-partial-width-windows nil) - '(uniquify-buffer-name-style (quote forward) nil (uniquify)) + '(uniquify-buffer-name-style 'forward nil (uniquify)) '(url-be-asynchronous t) '(url-external-retrieval-args nil) '(url-external-retrieval-program "wget") -- cgit v1.2.3