.dotfiles

Check-in [46d12dc2a9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Emacs: more :config, less :init
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 46d12dc2a95e3aa9af598ba9ce239d4012812f2068709b223bf49ff5bceb2eb0
User & Date: Cthulhux 2020-05-26 07:48:05
Context
2020-05-26
18:33
Syntax errors fixed check-in: 8898670d94 user: Cthulhux tags: trunk
07:48
Emacs: more :config, less :init check-in: 46d12dc2a9 user: Cthulhux tags: trunk
07:05
Emacs: Removed the last references to package.el, improved documentation. check-in: b95d4bb062 user: Cthulhux tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emacs/init.el.

134
135
136
137
138
139
140
141
142

143
144
145
146
147
148
149
150
151
152
153
...
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205

206
207
208
209
210

211
212
213
214

215
216
217
218
219
220
221
222
223
224
225

226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
...
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
...
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
...
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
;;  (setq auto-package-update-interval 4) ;; ... days
;;  (setq auto-package-update-delete-old-versions t)
;;  (setq auto-package-update-hide-results t)
;;  (auto-package-update-maybe))

;; Some platforms (cough) don't update Emacs's path.
;; Make them.
(when (eq system-type 'darwin)
  (use-package exec-path-from-shell

    :ensure t
    :init
    (setq exec-path-from-shell-check-startup-files nil)
    (exec-path-from-shell-initialize)))

;; Multiple cursors:
(use-package multiple-cursors
  :ensure t
  :config
  (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines))

................................................................................
  :ensure t)

;; Support my blog as well:
(use-package org2blog
  :ensure t
  :config
  (setq org2blog/wp-show-post-in-browser t)
  :init
  ;; Keep the log-in data out of the public eye:
  (load-file "~/.emacs.d/org2blog-config.el"))

;; Preview HTML:
(use-package org-preview-html
  :ensure t
  :after org
  :init
  (add-hook 'org-mode-hook #'org-preview-html-mode))

;; Web development:
(use-package web-mode
  :ensure t
  :init
  (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
  (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)))

;; RSS feed reader with some extras:
(use-package elfeed
  :ensure t)

(use-package elfeed-goodies
  :ensure t
  :after elfeed
  :init
  (elfeed-goodies/setup))

;; Hook elfeed into Newsblur:
(use-package elfeed-protocol
  :ensure t
  :after elfeed
  :init
  ;; Keep the log-in data out of the public eye:
  (elfeed-protocol-enable)

  (load-file "~/.emacs.d/elfeed-config.el"))

;; A less shitty modeline:
(use-package doom-modeline
  :ensure t

  :init (doom-modeline-mode 1))

;; Markdown support:
(use-package markdown-mode

  :ensure t
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :init
  (when (executable-find "multimarkdown") (setq markdown-command "multimarkdown")))

;; Use ripgrep instead of grep (if applicable).
(when (executable-find "rg")
  (use-package rg

    :ensure t
    :init
    (rg-enable-default-bindings)))
  
;; Project-related functionalities:
(use-package projectile
  :ensure t
  :init
  (projectile-mode +1)
  (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
  (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))

;; Syntax checking:
(use-package flycheck
  :ensure t
................................................................................
(use-package all-the-icons-dired
  :after all-the-icons
  :config
  (add-hook 'dired-mode-hook 'all-the-icons-dired-mode))

(use-package all-the-icons-gnus
  :after all-the-icons
  :init
  (all-the-icons-gnus-setup))

;; Better regexp search&replace:
(use-package visual-regexp
  :ensure t)

(use-package visual-regexp-steroids
................................................................................
	 ("C-r" . swiper)))

;; Smart parentheses:
(use-package smartparens
  :ensure t
  :config
  (require 'smartparens-config)
  :init
  (smartparens-global-mode t))

;; Version Control enhancements:
(use-package darcsum
  :ensure t)

(use-package vc-fossil
................................................................................
  :config
  (enable-circe-color-nicks)
  (setq circe-reduce-lurker-spam t
        lui-time-stamp-position 'right-margin
        lui-time-stamp-format "%H:%M"
        circe-format-say "{nick:-16s} {body}"
        circe-format-self-say "<{nick:-16s}> {body}")
  :init
  ;; Again, keep the log-in data private:
  (load-file "~/.emacs.d/circe-config.el"))


;; Nicer theme:
(use-package nofrils-acme-theme
  :ensure t







<
|
>
|
|
|
|







 







<







|





|










|






|
<

>





>
|



>





|
|

|
<
|
>
|
|
|




|







 







|







 







<







 







<







134
135
136
137
138
139
140

141
142
143
144
145
146
147
148
149
150
151
152
153
...
164
165
166
167
168
169
170

171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202

203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224

225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
...
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
...
366
367
368
369
370
371
372

373
374
375
376
377
378
379
...
388
389
390
391
392
393
394

395
396
397
398
399
400
401
;;  (setq auto-package-update-interval 4) ;; ... days
;;  (setq auto-package-update-delete-old-versions t)
;;  (setq auto-package-update-hide-results t)
;;  (auto-package-update-maybe))

;; Some platforms (cough) don't update Emacs's path.
;; Make them.

(use-package exec-path-from-shell
  :if (eq system-type 'darwin)
  :ensure t
  :config
  (setq exec-path-from-shell-check-startup-files nil)
  (exec-path-from-shell-initialize)))

;; Multiple cursors:
(use-package multiple-cursors
  :ensure t
  :config
  (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines))

................................................................................
  :ensure t)

;; Support my blog as well:
(use-package org2blog
  :ensure t
  :config
  (setq org2blog/wp-show-post-in-browser t)

  ;; Keep the log-in data out of the public eye:
  (load-file "~/.emacs.d/org2blog-config.el"))

;; Preview HTML:
(use-package org-preview-html
  :ensure t
  :after org
  :config
  (add-hook 'org-mode-hook #'org-preview-html-mode))

;; Web development:
(use-package web-mode
  :ensure t
  :config
  (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
  (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)))

;; RSS feed reader with some extras:
(use-package elfeed
  :ensure t)

(use-package elfeed-goodies
  :ensure t
  :after elfeed
  :config
  (elfeed-goodies/setup))

;; Hook elfeed into Newsblur:
(use-package elfeed-protocol
  :ensure t
  :after elfeed
  :config

  (elfeed-protocol-enable)
  ;; Keep the log-in data out of the public eye:
  (load-file "~/.emacs.d/elfeed-config.el"))

;; A less shitty modeline:
(use-package doom-modeline
  :ensure t
  :config
  (doom-modeline-mode 1))

;; Markdown support:
(use-package markdown-mode
  :if (executable-find "multimarkdown")
  :ensure t
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :config
  (setq markdown-command "multimarkdown"))

;; Use ripgrep instead of grep (if applicable):

(use-package rg
  :if (executable-find "rg")
  :ensure t
  :config
  (rg-enable-default-bindings)))
  
;; Project-related functionalities:
(use-package projectile
  :ensure t
  :config
  (projectile-mode +1)
  (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
  (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))

;; Syntax checking:
(use-package flycheck
  :ensure t
................................................................................
(use-package all-the-icons-dired
  :after all-the-icons
  :config
  (add-hook 'dired-mode-hook 'all-the-icons-dired-mode))

(use-package all-the-icons-gnus
  :after all-the-icons
  :config
  (all-the-icons-gnus-setup))

;; Better regexp search&replace:
(use-package visual-regexp
  :ensure t)

(use-package visual-regexp-steroids
................................................................................
	 ("C-r" . swiper)))

;; Smart parentheses:
(use-package smartparens
  :ensure t
  :config
  (require 'smartparens-config)

  (smartparens-global-mode t))

;; Version Control enhancements:
(use-package darcsum
  :ensure t)

(use-package vc-fossil
................................................................................
  :config
  (enable-circe-color-nicks)
  (setq circe-reduce-lurker-spam t
        lui-time-stamp-position 'right-margin
        lui-time-stamp-format "%H:%M"
        circe-format-say "{nick:-16s} {body}"
        circe-format-self-say "<{nick:-16s}> {body}")

  ;; Again, keep the log-in data private:
  (load-file "~/.emacs.d/circe-config.el"))


;; Nicer theme:
(use-package nofrils-acme-theme
  :ensure t