· Philosophischer Nacht- und Sonntagsdienst ·

Dein Spott-Spot im Internetz


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

Lokal
Sitemap
lokale .emacs

Impressum

RSS-Abo

Hergestellt und gewartet mit
GNU/Emacs'
sehr funktionellem
Orgmode im
GNU/Debian Linux Betriebssystem.

;;; zeitblom@gmx.de's
;;;    ___ _ __ ___   __ _  ___ ___
;;;   / _ \ '_ ` _ \ / _` |/ __/ __|
;;;  |  __/ | | | | | (_| | (__\__ \
;;; (_)___|_| |_| |_|\__,_|\___|___/
;;; Time-stamp: <2018-03-05 00:35:08 voli>

;;; (version)"GNU Emacs 27.0.50 (build 12, x86_64-pc-linux-gnu, GTK+
;;; Version 3.22.26) of 2018-02-05"

;;; (shell-command-to-string "uname -a")"Linux barberou
;;; 4.15.0-biscuit-de-barberou+ #111 SMP Wed Feb 7 18:52:46 CET 2018
;;; x86_64 GNU/Linux"

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

(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))

(setq gnus-home-directory "~/.emacs.d"
      gnus-directory "~/.emacs.d/gnus-news-data")

(mapc 'require '(blom-cred blom-erc blom-gnus blom-org mingus cl
crontab-mode outshine swiper ivy debian-bug))

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

(setq
 auto-insert-directory "~/.emacs.d/Vorlagen"
 blink-matching-paren t
;;; browse-url-browser-function 'browse-url-generic
 dired-auto-revert-buffer t
 display-time-day-and-date t
 display-time-24hr-format 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
 make-backup-files 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 nil
 system-name "Philosophischer-Nacht-und-Sonntagsdienst.de"
 visible-bell nil
)

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

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

(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 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 x) (control c)] 'delete-frame)
(global-set-key [(meta tab)]              'hippie-expand)
(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) ;; 'bs-show) ;; 
(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)
(global-set-key [(shift f9)]              '(lambda()(interactive)(erc :server erc-irc-server :nick erc-irc-nick)))
(global-set-key [(control q)]             'kill-buffer)

;;;        _ _
;;;   __ _| (_) __ _ ___
;;;  / _` | | |/ _` / __|
;;; | (_| | | | (_| \__ \
;;;  \__,_|_|_|\__,_|___/
;;;
;;; 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 'voli t)

;;;;---
;;;Zufallsthema aus heruntergeladenen Elpa-Themen wählen:
(if window-system
      (let* ((installedthemes '(voli abyss afternoon arjen-grey
				   atom-dark badger badwolf bliss clues
				   darkburn darkmine darkokai darktooth
				   spacegray subatomic suscolors tangotango
				   tronesque twilight waher warm-night yoshi
				   zen-and-art voli))
	    (zufallsfarbschema (nth (random (length installedthemes))
				   installedthemes)))
      (load-theme zufallsfarbschema t))
  (load-theme 'voli t))

;;;   ___ _ __ ___   __ _  ___ ___       ___  ___ _ ____   _____ _ __
;;;  / _ \ '_ ` _ \ / _` |/ __/ __|_____/ __|/ _ \ '__\ \ / / _ \ '__|
;;; |  __/ | | | | | (_| | (__\__ \_____\__ \  __/ |   \ 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)

;;;  __  __       _
;;; |  \/  |_   _| | ___
;;; | |\/| | | | | |/ _ \
;;; | |  | | |_| | |  __/
;;; |_|  |_|\__,_|_|\___|
;;; 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)
(electric-quote-mode 1)
(file-name-shadow-mode 1)
(global-font-lock-mode 1)
(ido-mode 1)
(iimage-mode 1)
(menu-bar-mode 0)
(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)

(set-default 'indicate-empty-lines t)
(persistent-scratch-setup-default)

(setq auto-insert-alist
      (nconc '(("\\.el$"    . "elisp-insert.el") ;Reihenfolge wichtig!
	       ("\\.sh$"    . "sh-template")
	       ("brief"     . "brief.org")
	       ("reisliste" . "preisliste.tex")
	       ("\\.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)
			    (rainbow-delimiters-mode)
			    (show-paren-mode 1)
			    (turn-on-eldoc-mode)))

;; schlimme Hacks
(setq org-bullets-bullet-list '("◉" "◎" "⚫" "○" "►" "◇"))
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)
			   (global-set-key [(control shift left)]    'bs-cycle-previous)
			   (global-set-key [(control shift right)]   'bs-cycle-next)
			   ))

(add-to-list 'auto-mode-alist '("\\.fish\\'" . shell-script-mode))

;;;(add-hook 'text-mode-hook (lambda ()
;;;			    (set-input-method "latin-prefix" t)
;;;			    ;;; (flyspell-mode)
;;;			    ))


;;;  _____     _          _ _
;;; | ____|___| |__   ___| | |
;;; |  _| / __| '_ \ / _ \ | |
;;; | |___\__ \ | | |  __/ | |
;;; |_____|___/_| |_|\___|_|_|
;;;
;;; eshell

;;; Change the default eshell prompt
;;; (setq eshell-prompt-function
;;;       (lambda ()
;;; 	(concat "[" (getenv "USER") "] "
;;; 		"(" (format-time-string "%c") ")\n"
;;; 		(eshell/pwd) (if (= (user-uid) 0) " # " " $ "))))

;;; von Jeremias_Queiroz
;;;(setq eshell-prompt-function
;;;      (lambda ()
;;;	(concat
;;;	 (propertize "┌─[" 'face `(:foreground "green"))
;;;	 (propertize (user-login-name) 'face `(:foreground "red"))
;;;	 (propertize "@" 'face `(:foreground "green"))
;;;	 (propertize (system-name) 'face `(:foreground "brown"))
;;;	 (propertize "]──[" 'face `(:foreground "green"))
;;;	 (propertize (format-time-string "%H:%M" (current-time)) 'face `(:foreground "yellow"))
;;;	 (propertize "]──[" 'face `(:foreground "green"))
;;;	 (propertize (concat (eshell/pwd)) 'face `(:foreground "white"))
;;;	 (propertize "]\n" 'face `(:foreground "green"))
;;;	 (propertize "└─>" 'face `(:foreground "cyan"))
;;;	 (propertize (if (= (user-uid) 0) " # " " $ ") 'face `(:foreground "green"))
;;;	 )))
;;;
;;;  ____         __  __                __  __             _
;;; | __ ) _   _ / _|/ _| ___ _ __     |  \/  | __ _  __ _(_) ___
;;; |  _ \| | | | |_| |_ / _ \ '__|____| |\/| |/ _` |/ _` | |/ _ \
;;; | |_) | |_| |  _|  _|  __/ | |_____| |  | | (_| | (_| | |  __/
;;; |____/ \__,_|_| |_|  \___|_|       |_|  |_|\__,_|\__, |_|\___|
;;;                                                  |___/
;;; Dateien, die immer präsent sein sollen.

(mapc 'find-file-noselect
      '("~/.emacs.d/elisp/gnu-emacs"
	"~/.emacs.d/elisp/blom-gnus.el"
	"~/.config/i3/config"
	"~/.config/i3status/config"
	"~/.gmrunrc"
	"~/.crontab"
	))

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

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

(use-package swiper
  :ensure t
  :diminish ivy-mode
  :bind (("C-s" . swiper)
;;;	 ("C-c C-r" . ivy-resume)
;;;	 ("M-x" . counsel-M-x)
	 ("C-x C-f" . counsel-find-file)
;;;	 ("C-M-i" . complete-symbol)
;;;	 ("C-." . counsel-imenu)
	 ("C-c 8" . counsel-unicode-char)
;;;	 ("C-c v" . ivy-push-view)
;;;	 ("C-c V" . ivy-pop-view)
	 ("M-y" . counsel-yank-pop))
  :config
  (ivy-mode 0)
  (setq ivy-use-virtual-buffers t)
;;;  (setq ivy-count-format "%d/%d ")
  )


;;; __     __                              _
;;; \ \   / /_ _ _ __ ___    ___ _   _ ___| |_
;;;  \ \ / / _` | '__/ __|  / __| | | / __| __|
;;;   \ 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.
 '(bbdb-file "~/.emacs.d/.bbdb")
 '(display-time-use-mail-icon t)
 '(package-selected-packages
   (quote
    (ercn boxquote parinfer org-alert htmlize persistent-scratch zen-and-art-theme yoshi-theme wtf warm-night-theme waher-theme use-package ucs-utils twilight-theme try tronesque-theme tomatinho tea-time tangotango-theme systemd suscolors-theme sunshine subatomic-theme spacegray-theme s rainbow-delimiters pkg-info picpocket picolisp-mode outshine org-plus-contrib org-bullets org-attach-screenshot notmuch-labeler notify mingus memoize ivy-todo gnus-desktop-notify font-utils font-lock+ erc-yt erc-twitch erc-nick-notify debbugs darktooth-theme darkokai-theme darkmine-theme darkburn-theme crontab-mode counsel clues-theme bonjourmadame bliss-theme beacon bbdb badwolf-theme badger-theme atom-dark-theme async arjen-grey-theme ample-theme alert afternoon-theme aes ac-slime abyss-theme))))

(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.
 )
;;; Local Variables:
;;; coding: utf-8
;;; End:

Created: 2018-03-05 Mo 00:44

Validate