Check-in [3c1101ac0d]

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

Overview
SHA1:3c1101ac0d54a1ac6d32a3fd8cbcf6c8e5f9dca8
Date: 2017-12-03 21:56:04
User: cfuhrman
Comment:Sync latest changes from my personal repository (README.org) - Bump Copyright (emacs) - Re-enable installation of vc-fossil for Emacs 25 and greater - Install and configure the following packages: + flyspell-correct-ivy[1] + all-the-icons[2] + all-the-icons-dired[3] + all-the-icons-ivy[4] + which-key[5] + ace-window[6] + highlight-parentheses[7] + flyspell-correct-ivy[8] - Force set fill-column to 80 characters for text-mode - Enable global-emojify-mode-line-mode - Automatically install fonts required for all-the-icons - Use emoji for common modes presented in the mode-line + 💡: beacon Mode + 📔: eldoc mode + 🦋: flycheck-mode + 🄶: ggtags-mode + 🌲: undo-tree + 🅈: yas-minor-mode - Load package archives more intelligently - Massive reworking of yasnippet[9] and auto-complete[10]. - Move mode-specific variables into their own use-package blocks - Bootstrap diminish prior to installation of use-package - Added boiler-plates for (c)perl-mode - Optimize loading of custom files (setup.sh) - Bump Copyright Footnotes: [1] https://github.com/d12frosted/flyspell-correct [2] https://github.com/domtronn/all-the-icons.el [3] https://github.com/jtbm37/all-the-icons-dired [4] https://github.com/asok/all-the-icons-ivy [5] https://github.com/justbur/emacs-which-key [6] https://github.com/abo-abo/ace-window [7] https://github.com/tsdh/highlight-parentheses.el [8] https://github.com/d12frosted/flyspell-correct/blob/master/flyspell-correct-ivy.el [9] https://github.com/joaotavora/yasnippet [10] https://github.com/auto-complete/auto-complete
Tags And Properties
Context
2017-12-16
21:04
[178b66d4b7] Optimize emacs packaging loading & configuration - Move additional mode-spectific variables into their respective use-package blocks - Re-organize where functions are loaded, with mode-specific functions belonging to their respective use-package blocks - Simplify prog-mode-hook & text-mode-hook customization - Customize trash directory on Mac OS X systems - Lose osx-trash which is s-l-o-w - Customize & simplify auto-complete[1] mode setup. Also, set up auto-complete /before/ yasnippet[2] - Massively simplify yasnippet configuration - Switch keybinding for ace-window[3] - Switch to using arjen grey theme[4] - Switch to using melpa stable[5] where applicable - Disable global-emojify-mode-line-mode since it wrecks havoc with cut-n-paste - I haven't found an excuse to use Go, so don't install go-mode. Hopefully this will change - Don't use ac-php since it's resource intensive. I may readdress this in the future Also, do not accidentally hose network-security.data file Footnotes: [1] https://github.com/auto-complete/auto-complete [2] https://github.com/joaotavora/yasnippet [3] https://github.com/abo-abo/ace-window [4] https://github.com/credmp/arjen-grey-theme [5] http://stable.melpa.org/#/ (user: cfuhrman, tags: trunk, v2017.12.16)
2017-12-03
21:56
[3c1101ac0d] Sync latest changes from my personal repository (README.org) - Bump Copyright (emacs) - Re-enable installation of vc-fossil for Emacs 25 and greater - Install and configure the following packages: + flyspell-correct-ivy[1] + all-the-icons[2] + all-the-icons-dired[3] + all-the-icons-ivy[4] + which-key[5] + ace-window[6] + highlight-parentheses[7] + flyspell-correct-ivy[8] - Force set fill-column to 80 characters for text-mode - Enable global-emojify-mode-line-mode - Automatically install fonts required for all-the-icons - Use emoji for common modes presented in the mode-line + 💡: beacon Mode + 📔: eldoc mode + 🦋: flycheck-mode + 🄶: ggtags-mode + 🌲: undo-tree + 🅈: yas-minor-mode - Load package archives more intelligently - Massive reworking of yasnippet[9] and auto-complete[10]. - Move mode-specific variables into their own use-package blocks - Bootstrap diminish prior to installation of use-package - Added boiler-plates for (c)perl-mode - Optimize loading of custom files (setup.sh) - Bump Copyright Footnotes: [1] https://github.com/d12frosted/flyspell-correct [2] https://github.com/domtronn/all-the-icons.el [3] https://github.com/jtbm37/all-the-icons-dired [4] https://github.com/asok/all-the-icons-ivy [5] https://github.com/justbur/emacs-which-key [6] https://github.com/abo-abo/ace-window [7] https://github.com/tsdh/highlight-parentheses.el [8] https://github.com/d12frosted/flyspell-correct/blob/master/flyspell-correct-ivy.el [9] https://github.com/joaotavora/yasnippet [10] https://github.com/auto-complete/auto-complete (user: cfuhrman, tags: trunk, v2017.12)
2017-10-06
21:43
[0327ed3032] Sync with personal repository (GNUmakefile) - Remove emacs-packages target which is no longer needed - Rename RSYNC to RSYNC_BIN - Switch to using `fossil tarball` for distribution file generation - Add fossil target (bash_linux) - Remove hasBrokenYaST() as the version of openSUSE where the YaST bug occurred is no longer supported by the openSUSE project, then remove detection for the bug (bashrc) - Remove '.' from PATH as this is a security risk[1] - Make sure /opt/schily/bin is toward the end of $PATH (docs/README.org) - Remove '[TABLE-OF-CONTENTS]' It looks like it is not necessary anymore (emacs.d/custom-nox.el) - Remove theme customization (emacs.d/custom.el) - Add emojify-emoji-styles - Customize linum-format - Customize cfw face - Don't forget to customize which-func face (emacs.d/init.d) - Clean ups where applicable - Add melpa-stable repository - Customize emojify mode - Move yasnippet package initializations to the top so it gets processed first - Install and configure calfw package - Switch theme to planet-theme - Install and configure gited - Install and configure sed-mode - Fix the following bugs: + Fix bug involving enriched text mode + Override use-fancy-splash-screens-p() (emacs.d/cmf-org-settings.el) - Remove Kawasaki Riding Log macro - Customize Journal Entry template - Customize org-latex-classes - Switch to using lualatex - Add incubate.org and ideas.org to list of org-mode refile targets (emacs.d/snippets/org-mode/bp) - Remove '[TABLE-OF-CONTENTS]' It looks like it is not necessary anymore (mk/documentation.mk) - Add a couple of more file suffixes to clean up. These are generated by LaTeX Footnotes: [1] See https://www.seas.upenn.edu/cets/answers/dot-path.html (user: cfuhrman, tags: trunk, v2017.10)
Changes

Changes to README.md.

143
144
145
146
147
148
149
150
151
152
153
154
155
# Author<a id="sec-5" name="sec-5"></a>

Christopher M. Fuhrman
[cfuhrman@pobox.com](cfuhrman@pobox.com)

# Copyright<a id="sec-6" name="sec-6"></a>

Copyright (c) 2000-2016 Christopher M. Fuhrman
All rights reserved.

All files contained herein can be redistributed and/or modified
under the terms of the Simplified BSD License (also known as the
"2-Clause License" or "FreeBSD License".) unless otherwise noted.







|





143
144
145
146
147
148
149
150
151
152
153
154
155
# Author<a id="sec-5" name="sec-5"></a>

Christopher M. Fuhrman
[cfuhrman@pobox.com](cfuhrman@pobox.com)

# Copyright<a id="sec-6" name="sec-6"></a>

Copyright (c) 2000-2017 Christopher M. Fuhrman
All rights reserved.

All files contained herein can be redistributed and/or modified
under the terms of the Simplified BSD License (also known as the
"2-Clause License" or "FreeBSD License".) unless otherwise noted.

Changes to docs/README.org.

130
131
132
133
134
135
136
137
138
139
140
141
142
* Author

  Christopher M. Fuhrman
  [[mailto:cfuhrman@pobox.com][cfuhrman@pobox.com]]

* Copyright

  Copyright (c) 2000-2016 Christopher M. Fuhrman
  All rights reserved.

  All files contained herein can be redistributed and/or modified
  under the terms of the Simplified BSD License (also known as the
  "2-Clause License" or "FreeBSD License".) unless otherwise noted.







|





130
131
132
133
134
135
136
137
138
139
140
141
142
* Author

  Christopher M. Fuhrman
  [[mailto:cfuhrman@pobox.com][cfuhrman@pobox.com]]

* Copyright

  Copyright (c) 2000-2017 Christopher M. Fuhrman
  All rights reserved.

  All files contained herein can be redistributed and/or modified
  under the terms of the Simplified BSD License (also known as the
  "2-Clause License" or "FreeBSD License".) unless otherwise noted.

Changes to emacs.d/init.el.

38
39
40
41
42
43
44



45
46
47
48
49
50
51
..
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
...
282
283
284
285
286
287
288





289
290
291
292
293
294
295
296



297
298
299
300
301
302
303
...
344
345
346
347
348
349
350
351
352

353
354

355





356
357
358
359
360
361
362
...
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
...
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481






































482
483
484
485
486
487
488
...
508
509
510
511
512
513
514









515
516
517
518
519
520
521
522
523
524
525

526
527
528
529
530
531
532
...
559
560
561
562
563
564
565











566
567
568
569
570
571
572
...
578
579
580
581
582
583
584
585










586
587
588
589
590
591
592


593






594
595
596
597
598
599



600
601
602
603
604
605
606
607








608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
...
640
641
642
643
644
645
646














647
648
649
650
651
652
653
...
656
657
658
659
660
661
662

663
664
665
666
667
668
669
670
671
672
673

674
675
676
677
678

679
680
681
682






683
684
685
686
687
688
689
...
841
842
843
844
845
846
847










848
849
850



851
852
853
854
855
856
857
...
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
...
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
...
983
984
985
986
987
988
989








990
991
992
993

994




995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016












1017
1018
1019
1020
1021
1022
1023
....
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
(defvar cmf-mail-address "cfuhrman@example.com")
(defvar cmf-latitude ####)              ; Determine your lat/long at maps.google.com
(defvar cmf-longitude ####)
(defvar cmf-location-name "San Jose, CA")
(defvar cmf-time-zone "America/Los Angeles")
(defvar cmf-time-zone-short-name "PST")
(defvar cmf-time-zone-short-name-daylight "PDT")




;; List of paths to search
(defvar cmf-path-list '("/usr/texbin"
                        "/usr/pkg/bin"
                        "/usr/local/bin"
                        "~/.composer/vendor/bin"
                        "/Library/TeX/texbin"))
................................................................................
 '(calendar-time-zone -480)
 '(calendar-view-holidays-initially-flag nil)
 '(column-number-mode t)
 '(comment-auto-fill-only-comments t)
 '(comment-fill-column 80)
 '(comment-multi-line t)
 '(comment-style (quote indent))
 '(cperl-continued-brace-offset -8)
 '(cperl-continued-statement-offset 4)
 '(cperl-electric-keywords t)
 '(cperl-electric-linefeed t)
 '(cperl-electric-parens nil)
 '(cperl-font-lock t)
 '(cperl-highlight-variables-indiscriminately t)
 '(cperl-indent-level 8)
 '(delete-selection-mode nil)
 '(diff-switches "-u")
 '(dired-listing-switches "-alh")
 '(dired-use-ls-dired (quote unspecified))
 '(display-time-mode t)
 '(emerge-combine-versions-template "
%b
%a
")
 '(flycheck-disabled-checkers (quote (php-phpcs)))
 '(flycheck-highlighting-mode 'lines)
 '(flycheck-phpcs-standard "PSR2")
 '(forecast-latitude cmf-latitude)
 '(forecast-longitude cmf-longitude)
 '(forecast-city cmf-location-name)
 '(forecast-country "United States")
 '(forecast-units 'us)
 '(forecast-api-key "set-your-own-key") ; Get your own key from https://developer.forecast.io/
 '(global-hl-line-mode t)
 '(ivy-use-virtual-buffers t)
 '(ivy-height 10)
 '(ivy-count-format "(%d/%d) ")
 '(linum-delay t)
 '(log-edit-hook (quote (log-edit-show-files)))
 '(mac-option-modifier 'meta)
 '(mark-even-if-inactive t)
 '(mark-holidays-in-calendar t)
 '(recentf-mode t)
 '(scroll-bar-mode (quote right))
................................................................................
 '(sh-indent-for-continuation 4)
 '(sh-indentation 8)
 '(show-paren-mode 1)
 '(sml/modified-char "★")
 '(sml/read-only-char "🔒")
 '(tramp-default-method "ssh")
 '(transient-mark-mode 1)
 '(twittering-display-remaining t)
 '(twittering-timer-interval 900)
 '(twittering-tinyurl-service (quote tinyurl))
 '(twittering-use-icon-storage t)
 '(twittering-use-master-password t)
 ;; '(twittering-username "your_twitter_account_here")
 '(undo-tree-visualizer-diff t)
 '(undo-tree-visualizer-timestamps t)
 '(use-package-concat t)
 '(user-full-name cmf-full-name)
 '(user-mail-address cmf-mail-address)
 '(which-function-mode t)
 '(yas-snippet-dirs '("~/.emacs.d/snippets"))
 )

;; Load the appropriate customization file based on if we are running
;; under a window system, such as "x" or "ns" (Mac OS X or GNUstep)
(if (equal window-system nil)
    (if (or (string-match "term-256" (getenv "TERM"))
            (string-match "screen-256" (getenv "TERM")))
        (defvar cmf-console-colors 256)
      (defvar cmf-console-colors 16))
  (defvar cmf-console-colors nil)
  )

(cond ((equal cmf-console-colors 256)
       (setq custom-file "~/.emacs.d/custom-nox256.el"))
      ((equal cmf-console-colors 16)
       (setq custom-file "~/.emacs.d/custom-nox.el"))
      ((setq custom-file "~/.emacs.d/custom.el"))
      )

(load custom-file)

;; Fix for bug involving enriched text mode
(if (version< emacs-version "25.3")
    (eval-after-load "enriched"
      '(defun enriched-decode-display-prop (start end &optional param)
         (list start end))))

;; Programming styles
;; --------------------------------------------------------------------

;; Shipwire Coding Style
(c-add-style "psr2"
            '("psr2"
              (c-offsets-alist . (
                                  (statement-cont . (first c-lineup-cascaded-calls +))
                                  ))))

;; OpenBSD Coding Style
(c-add-style "openbsd"
             '("bsd"
               (c-backspace-function . delete-backward-char)
               (c-syntactic-indentation-in-macros . nil)
               (c-tab-always-indent . nil)
................................................................................
  (footnote-mode t)
  (if (package-installed-p 'undo-tree)
      (undo-tree-mode t))
  (if (package-installed-p 'auto-complete)
      (auto-complete-mode t))
  )






;; Aliases
;; --------------------------------------------------------------------

(defalias 'perl-mode 'cperl-mode)


;; Macros
;; --------------------------------------------------------------------




(fset 'align-on-equal
   [?\M-x ?a ?l ?i ?g ?n ?- ?r ?e ?g tab return ?= return])

(fset 'align-on-hash-arrow
   [?\M-x ?a ?l ?i ?g ?n ?- ?r ?e ?g tab return ?= ?> return])

................................................................................


;; Package configuration
;; --------------------------------------------------------------------

(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))

(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))

(package-initialize)






;; Bootstrap 'use-package' if necessary
(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

;; Enable use-package
................................................................................
  (require 'use-package))
(require 'diminish)
(require 'bind-key)

;; Packages loaded through external files
(require 'cmf-org-settings)

;;
;; Window-system Modes
;;

(unless (equal window-system nil)

  ;; Enable emojify
  (use-package emojify
    :ensure t

    :config
    (global-emojify-mode)
    )
  )

;;
;; OSX Modes (Mac OS X only)
;;

(when (eq system-type 'darwin)

................................................................................
;;
;; For use on all operating systems
;;

;; yasnippet
;;
;; Note this needs to be loaded first since we want to use the version
;; from melpa-stable
(use-package yasnippet
  :ensure t
  :pin melpa-stable

  :config
  ;; Inter-field navigation
  (defun yas/goto-end-of-active-field ()
    (interactive)
    (let* ((snippet (car (yas--snippets-at-point)))
           (position (yas--field-end (yas--snippet-active-field snippet))))
      (if (= (point) position)
          (move-end-of-line 1)
        (goto-char position))))

  (defun yas/goto-start-of-active-field ()
    (interactive)
    (let* ((snippet (car (yas--snippets-at-point)))
           (position (yas--field-start (yas--snippet-active-field snippet))))
      (if (= (point) position)
          (move-beginning-of-line 1)
        (goto-char position))))

  ;; fix some org-mode + yasnippet conflicts:
  (defun yas/org-very-safe-expand ()
    (let ((yas/fallback-behavior 'return-nil)) (yas/expand)))

  ;; Turn on snippets
  (yas-global-mode t)

  ;; Keybindings
  (define-key yas-keymap (kbd "<return>") 'yas-exit-all-snippets)
  (define-key yas-keymap (kbd "C-e") 'yas/goto-end-of-active-field)
  (define-key yas-keymap (kbd "C-a") 'yas/goto-start-of-active-field)

  ;; Update org-mode configuration
  (add-hook 'org-mode-hook
            (lambda ()
              (make-variable-buffer-local 'yas/trigger-key)
              (setq yas/trigger-key [tab])
              (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand)
              (define-key yas/keymap [tab] 'yas/next-field)))

  ;; Wrap around region
  (setq yas-wrap-around-region t)






































  )

;; apache-mode
(use-package apache-mode
  :ensure t
  :defer t
  :no-require t
................................................................................
  (require 'auto-complete-config)
  (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  (ac-config-default)
  (ac-set-trigger-key "TAB")
  (ac-set-trigger-key "<tab>")
  (if (package-installed-p 'ac-ispell)
      (ac-ispell-setup))









  )

;; auto-compile
(use-package auto-compile
  :ensure t
  :config (auto-compile-on-load-mode))

(setq load-prefer-newer t)

;; beacon mode
(use-package beacon

  :ensure t

  :init
  (require 'beacon)

  :config
  (beacon-mode 1)
................................................................................
  (add-hook 'cperl-mode-hook 'nice-prog-hook)
  (add-hook 'cperl-mode-hook
            (lambda ()
              (font-lock-add-keywords nil
                                      '(("\\<\\(FIXME\\|TODO\\|BUG\\|LATER\\):" 1 font-lock-warning-face t)))))

  :mode ("\\.cgi\\'" . cperl-mode)











  )

;; crontab-mode
(use-package crontab-mode
  :ensure t
  :defer t
  :mode (("\\.cron\\(tab\\)?\\'" . crontab-mode)
................................................................................
  :ensure csv-nav
  :defer t
  :mode ("\\.csv\\'" . csv-nav-mode)
  )

;; eldoc
(use-package eldoc
  :diminish eldoc-mode " Edoc"










  )

;; flycheck
(use-package flycheck
  :ensure t
  :defer t
  :config


  (add-hook 'after-init-hook  #'global-flycheck-mode)






  )

;; flyspell
(use-package flyspell
  :config
  (setq-default ispell-program-name "aspell")



  )

;; forecast
(if (version< emacs-version "24.4")
    (message "Forecast requires Emacs version 24.4 or later.  Unable to install")
  (use-package forecast
    :ensure t
    :defer t








    )
  )

;; ggtags
(use-package ggtags
  :ensure t
  :defer t
  :diminish ggtags-mode " G"
  )

;; gited - dired for git branches
(use-package gited
  :ensure t
  :defer t

................................................................................
  :defer t

  :mode ("\\.go\\'" . go-mode)

  :config
  (add-hook 'go-mode-hook 'nice-prog-hook)
  )















;; html-mode
(use-package html-mode
  :mode ("\\.tmpl\\'" . html-mode)
  )

;; indent-guide
................................................................................
  :defer t
  :diminish indent-guide-mode
  )

;; ivy-mode
(use-package ivy-mode
  :ensure counsel

  :ensure swiper

  :bind (
         ("C-s"     . swiper)
         ("C-r"     . swiper)
         ("C-c C-r" . ivy-resume)
         ("M-x"     . counsel-M-x)
         ("C-x C-f" . counsel-find-file)
         ("<f1> f"  . counsel-describe-function)
         ("<f1> v"  . counsel-describe-variable)
         ("<f1> l"  . counsel-load-library)

         ("<f2> i"  . counsel-info-lookup-symbol)
         ("<f2> u"  . counsel-unicode-char)
         ("C-c g"   . counsel-git)
         ("C-c j"   . counsel-git-grep)
         ("C-x l"   . counsel-locate)

         )

  :init
  (ivy-mode 1)






  )

;; jinja2-mode
(use-package jinja2-mode
  :ensure t
  :defer t
  :mode ("\\.j2\\'" . jinja2-mode)
................................................................................
  ;; For PHP files
  (add-hook 'php-mode-hook 'nice-php-hook)
  (add-hook 'php-mode-hook
            (lambda ()
              (font-lock-add-keywords nil
                                      '(("\\<\\(FIXME\\|TODO\\|BUG\\|LATER\\)" 1 font-lock-warning-face t)))))











  ;; Load phpdocumentor
  (load-file "~/.emacs.d/thirdparty/phpdocumentor.el")




  )

;; planet-theme
(if (not(equal window-system nil))
    (use-package planet-theme
      :ensure t

................................................................................
  (add-to-list 'custom-safe-themes
               "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa")
  (add-to-list 'custom-safe-themes
               "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e")
  (sml/setup)

  :config
  (if (equal cmf-console-colors 16)
      (sml/apply-theme 'light)
    (sml/apply-theme 'dark)
    )
  )

;; sh-script
(use-package sh-script
................................................................................
         )

  :init
  (add-hook 'text-mode-hook     'nice-text-hook)
  )

;; twilight-theme
(if (equal cmf-console-colors 256)
    (use-package twilight-theme
      :ensure t

      :init
      (load-theme 'twilight t)
      )
  )
................................................................................

  :config
  (add-hook 'twittering-edit-mode-hook 'nice-text-hook)

  :if window-system
  :config
  (twittering-icon-mode t)








  )

;; undo-tree
(use-package undo-tree

  :ensure t




  )

;; vc-fossil
(if (< emacs-major-version 25)
    (use-package vc-fossil
      :ensure t
      :defer t

      :init
      (require 'vc-fossil)

      :config
      (add-to-list 'vc-handled-backends 'Fossil)
      )
  )

;; which-func
(use-package which-func
  :no-require t
  :config
  (custom-set-faces
   '(which-func ((t (:foreground "goldenrod")))))












  )

;; with-editor
(use-package with-editor
  :no-require t
  :config
  (add-hook 'with-editor-mode-hook 'nice-text-hook)
................................................................................
  )

;; Miscellany
;; --------------------------------------------------------------------

;; Diminished functions
(diminish 'ivy-mode "")
(diminish 'yas-minor-mode " Y")
(diminish 'undo-tree-mode " UT")

;; Do some byte recompilation
(byte-recompile-directory (expand-file-name "~/.emacs.d/thirdparty") 0)
(byte-recompile-directory (expand-file-name "~/.emacs.d/lisp") 0)

;;; init.el ends here







>
>
>







 







<
<
<
<
<
<
<
<









<
<
<
<
<
<
<
<
<

<
<
<







 







<
<
<
<
<
<
<
<



<
<







<
<
<
<
<
<
|
<
|
|
|














|
|
|
|







 







>
>
>
>
>








>
>
>







 







|
|
>
|
|
>

>
>
>
>
>







 







<
<
<
<
<
<
<
<
<
<
<
<
<
<







 







|





<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







|
|
<
<





|





>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>











>







 







>
>
>
>
>
>
>
>
>
>
>







 







|
>
>
>
>
>
>
>
>
>
>






<
>
>
|
>
>
>
>
>
>






>
>
>








>
>
>
>
>
>
>
>







|







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







>











>





>




>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>
>



>
>
>







 







|







 







|







 







>
>
>
>
>
>
>
>




>

>
>
>
>



<
|
|
|

|
|

|
|
<








>
>
>
>
>
>
>
>
>
>
>
>







 







|
<






38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
..
73
74
75
76
77
78
79








80
81
82
83
84
85
86
87
88









89



90
91
92
93
94
95
96
...
101
102
103
104
105
106
107








108
109
110


111
112
113
114
115
116
117






118

119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
...
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
...
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
...
345
346
347
348
349
350
351














352
353
354
355
356
357
358
...
397
398
399
400
401
402
403
404
405
406
407
408
409

















410
411
412
413
414
415
416
417
418


419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
...
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
...
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
...
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608

609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
...
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
...
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
...
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
...
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
....
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
....
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081

1082
1083
1084
1085
1086
1087
1088
1089
1090

1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
....
1133
1134
1135
1136
1137
1138
1139
1140

1141
1142
1143
1144
1145
1146
(defvar cmf-mail-address "cfuhrman@example.com")
(defvar cmf-latitude ####)              ; Determine your lat/long at maps.google.com
(defvar cmf-longitude ####)
(defvar cmf-location-name "San Jose, CA")
(defvar cmf-time-zone "America/Los Angeles")
(defvar cmf-time-zone-short-name "PST")
(defvar cmf-time-zone-short-name-daylight "PDT")
(defvar cmf-custom "~/.emacs.d/custom.el")
(defvar cmf-custom-16 "~/.emacs.d/custom-nox.el")
(defvar cmf-custom-256 "~/.emacs.d/custom-nox256.el")

;; List of paths to search
(defvar cmf-path-list '("/usr/texbin"
                        "/usr/pkg/bin"
                        "/usr/local/bin"
                        "~/.composer/vendor/bin"
                        "/Library/TeX/texbin"))
................................................................................
 '(calendar-time-zone -480)
 '(calendar-view-holidays-initially-flag nil)
 '(column-number-mode t)
 '(comment-auto-fill-only-comments t)
 '(comment-fill-column 80)
 '(comment-multi-line t)
 '(comment-style (quote indent))








 '(delete-selection-mode nil)
 '(diff-switches "-u")
 '(dired-listing-switches "-alh")
 '(dired-use-ls-dired (quote unspecified))
 '(display-time-mode t)
 '(emerge-combine-versions-template "
%b
%a
")









 '(global-hl-line-mode t)



 '(linum-delay t)
 '(log-edit-hook (quote (log-edit-show-files)))
 '(mac-option-modifier 'meta)
 '(mark-even-if-inactive t)
 '(mark-holidays-in-calendar t)
 '(recentf-mode t)
 '(scroll-bar-mode (quote right))
................................................................................
 '(sh-indent-for-continuation 4)
 '(sh-indentation 8)
 '(show-paren-mode 1)
 '(sml/modified-char "★")
 '(sml/read-only-char "🔒")
 '(tramp-default-method "ssh")
 '(transient-mark-mode 1)








 '(use-package-concat t)
 '(user-full-name cmf-full-name)
 '(user-mail-address cmf-mail-address)


 )

;; Load the appropriate customization file based on if we are running
;; under a window system, such as "x" or "ns" (Mac OS X or GNUstep)
(if (equal window-system nil)
    (if (or (string-match "term-256" (getenv "TERM"))
            (string-match "screen-256" (getenv "TERM")))






        (setq custom-file cmf-custom-256)

      (setq custom-file cmf-custom-16))
  (setq custom-file cmf-custom)
  )

(load custom-file)

;; Fix for bug involving enriched text mode
(if (version< emacs-version "25.3")
    (eval-after-load "enriched"
      '(defun enriched-decode-display-prop (start end &optional param)
         (list start end))))

;; Programming styles
;; --------------------------------------------------------------------

;; Shipwire Coding Style
(c-add-style "psr2"
             '("psr2"
               (c-offsets-alist . (
                                   (statement-cont . (first c-lineup-cascaded-calls +))
                                   ))))

;; OpenBSD Coding Style
(c-add-style "openbsd"
             '("bsd"
               (c-backspace-function . delete-backward-char)
               (c-syntactic-indentation-in-macros . nil)
               (c-tab-always-indent . nil)
................................................................................
  (footnote-mode t)
  (if (package-installed-p 'undo-tree)
      (undo-tree-mode t))
  (if (package-installed-p 'auto-complete)
      (auto-complete-mode t))
  )

;; Force fill column for nice-text-hook
(add-hook 'text-mode-hook
          (lambda ()
            (set-fill-column 80)))

;; Aliases
;; --------------------------------------------------------------------

(defalias 'perl-mode 'cperl-mode)


;; Macros
;; --------------------------------------------------------------------

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

(fset 'align-on-equal
   [?\M-x ?a ?l ?i ?g ?n ?- ?r ?e ?g tab return ?= return])

(fset 'align-on-hash-arrow
   [?\M-x ?a ?l ?i ?g ?n ?- ?r ?e ?g tab return ?= ?> return])

................................................................................


;; Package configuration
;; --------------------------------------------------------------------

(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives
      '(("melpa" . "https://melpa.org/packages/")
        ("melpa-stable" . "https://stable.melpa.org/packages/")
        ("marmalade" . "https://marmalade-repo.org/packages/")
        ("gnu" . "http://elpa.gnu.org/packages/"))
      )
(package-initialize)

;; Boostrap 'diminish' if necessary
(unless (package-installed-p 'diminish)
   (package-refresh-contents)
   (package-install 'diminish))

;; Bootstrap 'use-package' if necessary
(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

;; Enable use-package
................................................................................
  (require 'use-package))
(require 'diminish)
(require 'bind-key)

;; Packages loaded through external files
(require 'cmf-org-settings)
















;;
;; OSX Modes (Mac OS X only)
;;

(when (eq system-type 'darwin)

................................................................................
;;
;; For use on all operating systems
;;

;; yasnippet
;;
;; Note this needs to be loaded first since we want to use the version
;; from melpa-stable.
(use-package yasnippet
  :ensure t
  :pin melpa-stable

  :config

















  ;; fix some org-mode + yasnippet conflicts:
  (defun yas/org-very-safe-expand ()
    (let ((yas/fallback-behavior 'return-nil)) (yas/expand)))

  ;; Turn on snippets
  (yas-global-mode t)

  ;; Bind `C-c y' to `yas-expand' ONLY.
  (define-key yas-minor-mode-map (kbd "C-c y") #'yas-expand)



  ;; Update org-mode configuration
  (add-hook 'org-mode-hook
            (lambda ()
              (make-variable-buffer-local 'yas/trigger-key)
              (setq yas/trigger-key "C-c y")
              (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand)
              (define-key yas/keymap [tab] 'yas/next-field)))

  ;; Wrap around region
  (setq yas-wrap-around-region t)

  :custom
  (yas-snippet-dirs '("~/.emacs.d/snippets"))
  (yas-wrap-around-region t)
  )

;; ace-window
(use-package ace-window
  :ensure t
  :pin melpa-stable

  :config
  (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l))

  :bind (
         ("M-p" . ace-window))
  )

;; all-the-icons
(use-package all-the-icons
  :if window-system
  :ensure t
  :ensure all-the-icons-dired
  :ensure all-the-icons-ivy

  :config

  ;; Install the font files only if we have not already done so
  (defvar cmf-fonts-installed-file "~/SHELL/emacs.d/.icon-fonts-installed")
  (unless (file-exists-p cmf-fonts-installed-file)
    (progn
      (message "Installing icon fonts")
      (all-the-icons-install-fonts t)
      (with-temp-buffer (write-file cmf-fonts-installed-file)))
    )

  (add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
  (all-the-icons-ivy-setup)
  )

;; apache-mode
(use-package apache-mode
  :ensure t
  :defer t
  :no-require t
................................................................................
  (require 'auto-complete-config)
  (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  (ac-config-default)
  (ac-set-trigger-key "TAB")
  (ac-set-trigger-key "<tab>")
  (if (package-installed-p 'ac-ispell)
      (ac-ispell-setup))

  ;; resetting ac-sources
  (setq-default ac-sources '(
                             ac-source-yasnippet
                             ac-source-abbrev
                             ac-source-dictionary
                             ac-source-words-in-same-mode-buffers
                             ac-source-gtags
                             ))
  )

;; auto-compile
(use-package auto-compile
  :ensure t
  :config (auto-compile-on-load-mode))

(setq load-prefer-newer t)

;; beacon mode
(use-package beacon
  :diminish " 💡"
  :ensure t

  :init
  (require 'beacon)

  :config
  (beacon-mode 1)
................................................................................
  (add-hook 'cperl-mode-hook 'nice-prog-hook)
  (add-hook 'cperl-mode-hook
            (lambda ()
              (font-lock-add-keywords nil
                                      '(("\\<\\(FIXME\\|TODO\\|BUG\\|LATER\\):" 1 font-lock-warning-face t)))))

  :mode ("\\.cgi\\'" . cperl-mode)

  :custom
  (cperl-continued-brace-offset -8)
  (cperl-continued-statement-offset 4)
  (cperl-electric-keywords t)
  (cperl-electric-linefeed t)
  (cperl-electric-parens nil)
  (cperl-font-lock t)
  (cperl-highlight-variables-indiscriminately t)
  (cperl-indent-level 8)

  )

;; crontab-mode
(use-package crontab-mode
  :ensure t
  :defer t
  :mode (("\\.cron\\(tab\\)?\\'" . crontab-mode)
................................................................................
  :ensure csv-nav
  :defer t
  :mode ("\\.csv\\'" . csv-nav-mode)
  )

;; eldoc
(use-package eldoc
  :diminish eldoc-mode " 📔"
  )

;; emojify
(use-package emojify
  :if window-system
  :ensure t

  :config
  (global-emojify-mode)
  (global-emojify-mode-line-mode)
  )

;; flycheck
(use-package flycheck
  :ensure t
  :defer t


  :init
  (global-flycheck-mode)

  :custom
  (flycheck-disabled-checkers (quote (php-phpcs)))
  (flycheck-highlighting-mode 'lines)
  (flycheck-phpcs-standard "PSR2")

  )

;; flyspell
(use-package flyspell
  :config
  (setq-default ispell-program-name "aspell")

  :custom
  (flycheck-mode-line-prefix "🦋")
  )

;; forecast
(if (version< emacs-version "24.4")
    (message "Forecast requires Emacs version 24.4 or later.  Unable to install")
  (use-package forecast
    :ensure t
    :defer t

    :custom
    (forecast-latitude cmf-latitude)
    (forecast-longitude cmf-longitude)
    (forecast-city cmf-location-name)
    (forecast-country "United States")
    (forecast-units 'us)
    (forecast-api-key "f78b853ac0c972cccf06e75e21afbe9d")
    )
  )

;; ggtags
(use-package ggtags
  :ensure t
  :defer t
  :diminish ggtags-mode " 🄶"
  )

;; gited - dired for git branches
(use-package gited
  :ensure t
  :defer t

................................................................................
  :defer t

  :mode ("\\.go\\'" . go-mode)

  :config
  (add-hook 'go-mode-hook 'nice-prog-hook)
  )

;; highlight-parentheses
(use-package highlight-parentheses
  :ensure t
  :diminish highlight-parentheses-mode

  :config
  (add-hook 'emacs-lisp-mode-hook
            (lambda()
              (highlight-parentheses-mode)
              ))

  (global-highlight-parentheses-mode)
  )

;; html-mode
(use-package html-mode
  :mode ("\\.tmpl\\'" . html-mode)
  )

;; indent-guide
................................................................................
  :defer t
  :diminish indent-guide-mode
  )

;; ivy-mode
(use-package ivy-mode
  :ensure counsel
  :ensure flyspell-correct-ivy
  :ensure swiper

  :bind (
         ("C-s"     . swiper)
         ("C-r"     . swiper)
         ("C-c C-r" . ivy-resume)
         ("M-x"     . counsel-M-x)
         ("C-x C-f" . counsel-find-file)
         ("<f1> f"  . counsel-describe-function)
         ("<f1> v"  . counsel-describe-variable)
         ("<f1> l"  . counsel-load-library)
         ("M-i"     . counsel-imenu)
         ("<f2> i"  . counsel-info-lookup-symbol)
         ("<f2> u"  . counsel-unicode-char)
         ("C-c g"   . counsel-git)
         ("C-c j"   . counsel-git-grep)
         ("C-x l"   . counsel-locate)
         ("C-c ;"   . flyspell-correct-previous-word-generic)
         )

  :init
  (ivy-mode 1)

  :custom
  (ivy-use-virtual-buffers t)
  (ivy-height 10)
  (ivy-count-format "(%d/%d) ")

  )

;; jinja2-mode
(use-package jinja2-mode
  :ensure t
  :defer t
  :mode ("\\.j2\\'" . jinja2-mode)
................................................................................
  ;; For PHP files
  (add-hook 'php-mode-hook 'nice-php-hook)
  (add-hook 'php-mode-hook
            (lambda ()
              (font-lock-add-keywords nil
                                      '(("\\<\\(FIXME\\|TODO\\|BUG\\|LATER\\)" 1 font-lock-warning-face t)))))

  (add-hook 'php-mode-hook
            '(lambda ()
               (require 'ac-php)
               (setq ac-sources (cons 'ac-source-php ac-sources))
               (ac-php-core-eldoc-setup ) ;; enable eldoc
               
               (define-key php-mode-map  (kbd "C-]") 'ac-php-find-symbol-at-point)   ;goto define
               (define-key php-mode-map  (kbd "C-t") 'ac-php-location-stack-back)    ;go back
               ))
  
  ;; Load phpdocumentor
  (load-file "~/.emacs.d/thirdparty/phpdocumentor.el")

  :custom
  (phpcbf-standard "PSR2")

  )

;; planet-theme
(if (not(equal window-system nil))
    (use-package planet-theme
      :ensure t

................................................................................
  (add-to-list 'custom-safe-themes
               "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa")
  (add-to-list 'custom-safe-themes
               "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e")
  (sml/setup)

  :config
  (if (equal custom-file cmf-custom-16)
      (sml/apply-theme 'light)
    (sml/apply-theme 'dark)
    )
  )

;; sh-script
(use-package sh-script
................................................................................
         )

  :init
  (add-hook 'text-mode-hook     'nice-text-hook)
  )

;; twilight-theme
(if (equal custom-file cmf-custom-256)
    (use-package twilight-theme
      :ensure t

      :init
      (load-theme 'twilight t)
      )
  )
................................................................................

  :config
  (add-hook 'twittering-edit-mode-hook 'nice-text-hook)

  :if window-system
  :config
  (twittering-icon-mode t)

  :custom
  (twittering-display-remaining t)
  (twittering-timer-interval 900)
  (twittering-tinyurl-service (quote tinyurl))
  (twittering-use-icon-storage t)
  (twittering-use-master-password t)
  (twittering-username "wulflock")
  )

;; undo-tree
(use-package undo-tree
  :diminish " 🌲"
  :ensure t

  :custom
  (undo-tree-visualizer-diff t)
  (undo-tree-visualizer-timestamps t)
  )

;; vc-fossil

(use-package vc-fossil
  :ensure t
  :defer t

  :init
  (require 'vc-fossil)

  :config
  (add-to-list 'vc-handled-backends 'Fossil)

  )

;; which-func
(use-package which-func
  :no-require t
  :config
  (custom-set-faces
   '(which-func ((t (:foreground "goldenrod")))))

  :custom
  (which-function-mode t)
  )

;; which-key
(use-package which-key
  :ensure t
  :pin melpa-stable

  :config
  (which-key-mode)
  )

;; with-editor
(use-package with-editor
  :no-require t
  :config
  (add-hook 'with-editor-mode-hook 'nice-text-hook)
................................................................................
  )

;; Miscellany
;; --------------------------------------------------------------------

;; Diminished functions
(diminish 'ivy-mode "")
(diminish 'yas-minor-mode " 🅈")


;; Do some byte recompilation
(byte-recompile-directory (expand-file-name "~/.emacs.d/thirdparty") 0)
(byte-recompile-directory (expand-file-name "~/.emacs.d/lisp") 0)

;;; init.el ends here

Added emacs.d/snippets/cperl-mode/.yas-parents.



>
1
perl-mode

Added emacs.d/snippets/perl-mode/.yas-parents.



>
1
text-mode

Added emacs.d/snippets/perl-mode/bp.











































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- mode: snippet -*-
# name: Boiler Plate for Perl Files
# --
#!/usr/bin/env perl
# ====================================================================
#
# `(file-name-nondirectory (buffer-file-name))`
#
# Copyright (c) `(format-time-string "%Y")` `(user-full-name)`
# All rights reserved
#
# This program is free software; you can redistribute it and/or
# modify it under terms of the Simplified BSD License (also
# known as the "2-Clause License" or "FreeBSD License".)
#
# Created on `(current-time-string)` `(car (cdr (current-time-zone)))`

use strict;
use warnings;

$0

Added emacs.d/snippets/perl-mode/bpm.

















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: snippet -*-
# name: Boiler Plate for Perl Modules
# --
=head1 NAME

$0

=head1 SYNOPSIS

  # Fill me in!
  

=head1 DESCRIPTION

=cut

$1

=head COPYRIGHT

Copyright(c) `(format-time-string "%Y")` `(user-full-name)`
All rights reserved

1;

Added emacs.d/snippets/perl-mode/pdf.





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- mode: snippet -*-
# name: Function declarations
# --
=head2 $0

$1

=head3 Parameters

=over

$2

=head3 Returns

$3

=cut

Changes to global-excludes.

1
2

3
4
5
6
7
8
9
*.tar.gz
*~

.fslckout
.org-id-locations
GPATH
GRTAGS
GTAGS
_FOSSIL_
ac-comphist.dat


>







1
2
3
4
5
6
7
8
9
10
*.tar.gz
*~
.icon-fonts-installed
.fslckout
.org-id-locations
GPATH
GRTAGS
GTAGS
_FOSSIL_
ac-comphist.dat

Changes to setup.sh.

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SHELLDIR=${HOME}/SHELL
BACKUPDIR=${HOME}/Backup/shell
HOMETMPDIR=${HOME}/tmp
RSYNC=rsync
RSYNC_EXCLUDE=global-excludes
RSYNC_OPTS="-Ccav --delete --exclude-from=${RSYNC_EXCLUDE}"
MAKE=make
COPYRIGHT='Copyright (c) 2000-2016 Christopher M. Fuhrman'
OUTPUTSPACING=55
DRYRUN=""
UNINSTALL=0
GOINSTALL=0
GOPATH=${HOME}/go
BUILD_EMACS_PACKAGES=0
EMACS_OUTPUT_LOG=${HOME}/tmp/emacs-pkg-install-$$-`date +%y%m%d`.log







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SHELLDIR=${HOME}/SHELL
BACKUPDIR=${HOME}/Backup/shell
HOMETMPDIR=${HOME}/tmp
RSYNC=rsync
RSYNC_EXCLUDE=global-excludes
RSYNC_OPTS="-Ccav --delete --exclude-from=${RSYNC_EXCLUDE}"
MAKE=make
COPYRIGHT='Copyright (c) 2000-2017 Christopher M. Fuhrman'
OUTPUTSPACING=55
DRYRUN=""
UNINSTALL=0
GOINSTALL=0
GOPATH=${HOME}/go
BUILD_EMACS_PACKAGES=0
EMACS_OUTPUT_LOG=${HOME}/tmp/emacs-pkg-install-$$-`date +%y%m%d`.log