· Philosophischer Nacht- und Sonntagsdienst ·

Poetischer Nihilismus

Mail:
blog@Philosophischer-Nacht-
und-Sonntagsdienst.de
Genutzte Suchmaschine:
duckduckgo.com
Technik:
Orgmode
Emacs Wiki
GNU/Debian Linux
Manjaro Linux

Lokal:
Sitemap
.emacs

Impressum/DSGVO

RSS-Abo

;;; voli@gmx.de's
;;;    ___ _ __ ___   __ _  ___ ___
;;;   / _ \ '_ ` _ \ / _` |/ __/ __|
;;;  |  __/ | | | | | (_| | (__\__ \
;;; (_)___|_| |_| |_|\__,_|\___|___/
;;; Time-stamp: <2019-10-11 19:59:34 voli>

;;; (version)"GNU Emacs 27.0.50 (build 5, x86_64-pc-linux-gnu, GTK+
;;; Version 3.24.9) of 2019-07-07"

;;; (shell-command-to-string "uname -a")"Linux barberou
;;; 5.2.0-1-MANJARO #1 SMP PREEMPT Sat Jun 22 23:22:07 UTC 2019 x86_64
;;; GNU/Linux"

;;;   __            _              _
;;;  / _| ___  __ _| |_ _   _ _ __(_)_ __   __ _
;;; | |_ / _ \/ _` | __| | | | '__| | '_ \ / _` |
;;; |  _|  __/ (_| | |_| |_| | |  | | | | | (_| |
;;; |_|  \___|\__,_|\__|\__,_|_|  |_|_| |_|\__, |
;;;                                        |___

(setq package-quickstart t)
(package-initialize)

(setq user-emacs-source-directory (concat user-emacs-directory "elisp/"))
(add-to-list 'load-path (expand-file-name user-emacs-source-directory))
(let ((default-directory user-emacs-source-directory))
  (normal-top-level-add-subdirs-to-load-path))

(mapc 'require '(
;;		 blom-bbdb
		 blom-cred
;;		 blom-erc
		 blom-eshell
		 blom-gnus
		 blom-org
		 mingus
;;;		 cl
;;;		 crontab-mode
;;;		 orgalist
		 scratch-persist
))

;;; __     __
;;; \ \   / /_ _ _ __ ___   _ __ ___   __ _ _ __
;;;  \ \ / / _` | '__/ __| | '_ ` _ \ / _` | '_ \
;;;   \ V / (_| | |  \__ \ | | | | | | (_| | | | |
;;;    \_/ \__,_|_|  |___/ |_| |_| |_|\__,_|_| |_|
;;;
;;; manuell gesetzte Variable

(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files

(setq
 delete-old-versions t
 auto-insert-directory "~/.emacs.d/Vorlagen"
;;;  blink-matching-paren 'jump
;;; browse-url-browser-function 'browse-url-generic
 create-lockfiles nil
 dired-auto-revert-buffer t
 display-time-day-and-date nil
 display-time-24hr-format t
 display-time-use-mail-icon t
 enable-local-eval t
 font-lock-maximum-decoration t
 history-length 2500
 inferior-lisp-program "/usr/bin/sbcl"
 inhibit-startup-message t
 initial-scratch-message nil
 package-archives '(("org" . "http://orgmode.org/elpa/")("ELPA" . "http://tromey.com/elpa/")("gnu" . "http://elpa.gnu.org/packages/")("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/"))
 scroll-error-top-bottom t
 switch-to-buffer-preserve-window-point t
 system-name "Philosophischer-Nacht-und-Sonntagsdienst.de"
 visible-bell t
 )

;;;  _____         _
;;; |_   _|_ _ ___| |_ ___ _ __
;;;   | |/ _` / __| __/ _ \ '_ \
;;;   | | (_| \__ \ ||  __/ | | |
;;;   |_|\__,_|___/\__\___|_| |_|
;;;
;;; Tastaturbelegung

;;; Barrierefreiheit für mich
;;; Standard-Größe setzen, die alles andere überschreibt. Sie ist groß.
(setq schriftgroesse 140
      intervall 10)

(set-face-attribute 'default nil :height schriftgroesse)

;;; ich will Ctrl-+ und Ctrl-- wie bei Standardanwendungen zur Schriftveränderung benutzen.
(global-set-key [(control +)] '(lambda()(interactive)
				 (setq schriftgroesse (+ schriftgroesse intervall))
				 (set-face-attribute 'default nil :height schriftgroesse)))

(global-set-key [(control -)] '(lambda()(interactive)
				 (setq schriftgroesse (- schriftgroesse intervall))
				 (set-face-attribute 'default nil :height schriftgroesse)))

(global-set-key [(control c) (m)]         'menu-bar-mode)
(global-set-key [(control q)]             'delete-frame)
(global-set-key [(control shift left)]    'bs-cycle-previous)
(global-set-key [(control shift right)]   'bs-cycle-next)
(global-set-key [(control tab)]           'hippie-expand)
;;; (global-set-key [(control s)]             'swiper)
(global-set-key [(control x) (control c)] 'delete-frame)
;;; (global-set-key [(control x) (control f)] 'counsel-find-file)
(global-set-key [(meta tab)]              'hippie-expand)
(global-set-key [(super x)]               'hippie-expand)
;;;(global-set-key [(shift f9)]              '(lambda()(shell-command "~/bin/vol-ident2-daemon start")(interactive)(erc :server erc-irc-server :nick erc-irc-nick)))
(global-set-key [(super tab)]             'hippie-expand)
(global-set-key [f1]                      'gnus)
(global-set-key [f2]                      'delete-other-windows)
(global-set-key [f3]                      'ido-switch-buffer)
(global-set-key [f4]                      '(lambda () (interactive) (eshell 'I)))
(global-set-key [f5]                      '(lambda()(interactive)(insert system-name)))
(global-set-key [f6]                      'other-window)
(global-set-key [f7]                      'mingus)
(global-set-key [f8]                      'org-capture)

;;;        _ _
;;;   __ _| (_) __ _ ___
;;;  / _` | | |/ _` / __|
;;; | (_| | | | (_| \__ \
;;;  \__,_|_|_|\__,_|___/
;;;
;;; Aliase

(defalias 'yes-or-no-p 'y-or-n-p)

;;;     _                      _
;;;    / \  _   _ ___ ___  ___| |__   ___ _ __
;;;   / _ \| | | / __/ __|/ _ \ '_ \ / _ \ '_ \
;;;  / ___ \ |_| \__ \__ \  __/ | | |  __/ | | |
;;; /_/   \_\__,_|___/___/\___|_| |_|\___|_| |_|
;;;
;;; (set-frame-height (selected-frame) 40)

;;; http://Philosophischer-Nacht-und-Sonntagsdienst.de/voli-theme.el
;;; (load-theme 'spacegray t)

;;; Zufallsthema aus heruntergeladenen Elpa-Themen wählen:

(if window-system
    (let* ((installedthemes '(abyss afternoon ample arc-dark spacegray
				    ))
	   (zufallsfarbschema (nth (random (length installedthemes))
				   installedthemes)))
      (load-theme zufallsfarbschema t)))

;;;  __  __       _
;;; |  \/  |_   _| | ___
;;; | |\/| | | | | |/ _ \
;;; | |  | | |_| | |  __/
;;; |_|  |_|\__,_|_|\___|
;;; Unicode: 🎂🎂🎂 : geht mit installierten unicode + unifont-Fonts.

(prefer-coding-system 'utf-8)
(set-language-environment "utf-8")
(setq default-input-method "german")
(set-default-coding-systems 'utf-8)

;; Treat clipboard input as UTF-8 string first; compound text next, etc.
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))

(setq
 x-select-enable-clipboard t
 x-select-enable-primary t)

;;;  __  __           _ _
;;; |  \/  | ___   __| (_)
;;; | |\/| |/ _ \ / _` | |
;;; | |  | | (_) | (_| | |
;;; |_|  |_|\___/ \__,_|_|
;;;
;;; Modi

(appt-activate 1)
(auto-compression-mode 1)
(auto-encryption-mode 1)
(auto-image-file-mode)
(auto-insert-mode t)
(blink-cursor-mode 1)
(display-time)
(electric-layout-mode 1)
(electric-pair-mode 1)
;;; (file-name-shadow-mode 1)
;;; (global-disable-mouse-mode 1)
(global-font-lock-mode 1)
(ido-mode 1)
(iimage-mode 1)
;;; (ivy-mode 0)
(menu-bar-mode 0)
;;; (orgalist-mode 1)
(recentf-mode 1)
(savehist-mode 1)
(scroll-bar-mode 0)
(show-paren-mode 1)
(tool-bar-mode 0)
(tooltip-mode 1)
(transient-mark-mode 1)
(visual-line-mode 1)
(recentf-mode 1)

(setq recentf-max-menu-items 25)
(set-default 'indicate-empty-lines t)

(setq auto-insert-alist
      (nconc '(("\\.el$"    . "elisp-insert.el") ;Reihenfolge wichtig!
	       ("\\.sh$"    . "sh-template")
	       ("brief"     . "brief.org")
	       ("\\.tex$"   . "aufsatz.tex"))
	     auto-insert-alist))

;;;  _   _             _
;;; | | | | ___   ___ | | _____
;;; | |_| |/ _ \ / _ \| |/ / __|
;;; |  _  | (_) | (_) |   <\__ \
;;; |_| |_|\___/ \___/|_|\_\___/
;;;
;;; Hooks

(add-hook 'before-save-hook 'time-stamp)
(add-hook 'after-save-hook  'executable-make-buffer-file-executable-if-script-p)

(add-hook 'shell-mode-hook  'ansi-color-for-comint-mode-on)

(add-hook 'prog-mode-hook (lambda ()
			    (setq show-trailing-whitespace t)
			    (show-paren-mode 1)
			    (turn-on-eldoc-mode)))


;;; (add-to-list 'auto-mode-alist '("\\.fish\\'" . shell-script-mode))
(add-hook 'fish-mode-hook (lambda ()
			    (add-hook 'before-save-hook 'fish_indent-before-save)))


;;;  ____         __  __                __  __             _
;;; | __ ) _   _ / _|/ _| ___ _ __     |  \/  | __ _  __ _(_) ___
;;; |  _ \| | | | |_| |_ / _ \ '__|____| |\/| |/ _` |/ _` | |/ _ \
;;; | |_) | |_| |  _|  _|  __/ | |_____| |  | | (_| | (_| | |  __/
;;; |____/ \__,_|_| |_|  \___|_|       |_|  |_|\__,_|\__, |_|\___|
;;;                                                  |___/
;;; Dateien, die immer präsent sein sollen.

(mapc 'find-file-noselect '("~/.emacs.d/elisp/gnu-emacs"
			    "~/.emacs.d/elisp/blom-gnus.el"
			    "~/.emacs.d/elisp/blom-eshell.el"
			    "~/.emacs.d/elisp/blom-org.el"
			    "~/.emacs.d/elisp/blom-erc.el"
			    "~/.emacs.d/elisp/blom-bbdb.el"
			    "~/.config/i3/config"
			    "~/.config/i3blocks/config"
			    "~/.config/fish/config.fish"
			    "~/.gmrunrc"
			    ))

;;;  _____         _   _
;;; |_   _|__  ___| |_(_)_ __   __ _
;;;   | |/ _ \/ __| __| | '_ \ / _` |
;;;   | |  __/\__ \ |_| | | | | (_| |
;;;   |_|\___||___/\__|_|_| |_|\__, |
;;;                            |___/

(if window-system
    (setq browse-url-browser-function (quote browse-url-generic)
	  browse-url-generic-program "firefox")
  (setq browse-url-browser-function (quote eww-browse-url)))

;;; __     __                              _
;;; \ \   / /_ _ _ __ ___    ___ _   _ ___| |_
;;;  \ \ / / _` | '__/ __|  / __| | | / __| __|
;;;   \ V / (_| | |  \__ \ | (__| |_| \__ \ |_
;;;    \_/ \__,_|_|  |___/  \___|\__,_|___/\__|
;;;
;;; Variable via M-x customize

(setq initial-major-mode 'org-mode)

;;;
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ansi-color-faces-vector
   [default default default italic underline success warning error])
 '(ansi-color-names-vector
   ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
 '(bbdb-file "~/.emacs.d/.bbdb")
 '(canlock-password "32c280757b752474871b12adbdc156c9180b025a")
 '(custom-safe-themes
   (quote
    ("7e5f93f8271df0335d594ba14fd44c8c709d19c9f6e80eebae8124bc01fb2648" "8d805143f2c71cfad5207155234089729bb742a1cb67b7f60357fdd952044315" "bf798e9e8ff00d4bf2512597f36e5a135ce48e477ce88a0764cfb5d8104e8163" "c9ddf33b383e74dac7690255dd2c3dfa1961a8e8a1d20e401c6572febef61045" "d8dc153c58354d612b2576fea87fe676a3a5d43bcc71170c62ddde4a1ad9e1fb" "36ca8f60565af20ef4f30783aa16a26d96c02df7b4e54e9900a5138fb33808da" "2540689fd0bc5d74c4682764ff6c94057ba8061a98be5dd21116bf7bf301acfb" "24fc62afe2e5f0609e436aa2427b396adf9a958a8fa660edbaab5fb13c08aae6" default)))
 '(fci-rule-color "#343d46")
 '(notmuch-saved-searches
   (quote
    ((:name "inbox" :query "tag:inbox" :key "i" :sort-order newest-first :search-type tree)
     (:name "unread" :query "tag:unread" :key "u")
     (:name "flagged" :query "tag:flagged" :key "f")
     (:name "sent" :query "tag:sent" :key "t")
     (:name "drafts" :query "tag:draft" :key "d")
     (:name "all mail" :query "*" :key "a" :sort-order newest-first))))
 '(org-agenda-files
   (quote
    ("~/texte/biographisches/tagebuch/2019.org" "~/texte/biographisches/tagebuch/wiederholt.org" "~/.emacs.d/Cal-ics/ferien_baden-wuerttemberg_2019.org" "~/.emacs.d/Cal-ics/gesetzliche_feiertage_deutschland_2019.org")))
 '(package-selected-packages
   (quote
    (fish-completion fish-mode org-alert org-wild-notifier arc-dark-theme smartparens all-the-icons-dired all-the-icons-gnus calfw calfw-ical calfw-org xclip pcache mastodon nov multi-eshell disable-mouse ivy-hydra erc-nick-notify ivy-rich eshell-fringe-status display-theme erc-hl-nicks scratch-persist forest-blue-theme font-utils helm-tramp helm-unicode helm-z starter-kit-eshell esh-autosuggest eshell-autojump eshell-did-you-mean eshell-manual eshell-up orgalist counsel-projectile counsel-tramp counsel-dash counsel-bbdb zen-and-art-theme yoshi-theme warm-night-theme waher-theme use-package ucs-utils twilight-theme try tronesque-theme tomatinho tangotango-theme systemd suscolors-theme subatomic-theme spacegray-theme rainbow-delimiters pkg-info org-plus-contrib org-bullets org-attach-screenshot mingus ivy-todo htmlize font-lock+ ercn erc-yt debbugs darktooth-theme darkokai-theme darkmine-theme darkburn-theme crontab-mode counsel bliss-theme beacon bbdb badwolf-theme badger-theme atom-dark-theme async arjen-grey-theme ample-theme afternoon-theme aes ac-slime abyss-theme)))
 '(vc-annotate-background nil)
 '(vc-annotate-color-map
   (quote
    ((20 . "#bf616a")
     (40 . "#DCA432")
     (60 . "#ebcb8b")
     (80 . "#B4EB89")
     (100 . "#89EBCA")
     (120 . "#89AAEB")
     (140 . "#C189EB")
     (160 . "#bf616a")
     (180 . "#DCA432")
     (200 . "#ebcb8b")
     (220 . "#B4EB89")
     (240 . "#89EBCA")
     (260 . "#89AAEB")
     (280 . "#C189EB")
     (300 . "#bf616a")
     (320 . "#DCA432")
     (340 . "#ebcb8b")
     (360 . "#B4EB89"))))
 '(vc-annotate-very-old-color nil))

;;;   ___ _ __ ___   __ _  ___ ___       ___  ___ _ ____   _____ _ __
;;;  / _ \ '_ ` _ \ / _` |/ __/ __|_____/ __|/ _ \ '__\ \ / / _ \ '__|
;;; |  __/ | | | | | (_| | (__\__ \_____\__ \  __/ |   \ V /  __/ |
;;;  \___|_| |_| |_|\__,_|\___|___/     |___/\___|_|    \_/ \___|_|
;;;
;;; emacs-server, schön einfach und so praktisch, emacs-Aufruf jetzt
;;; *immer* mit Batch:
;;; ,---- textedit ----
;;; | #!/bin/sh
;;; | exec emacsclient -c --alternate-editor="emacs" "$@"
;;; `----

;;; startet jetzt als emacs --daemon
;;;(server-start)

(use-package server
  :ensure nil
  :hook (after-init . server-mode))

(org-agenda-list)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

Created: 2019-10-11 Fr 20:00

Validate