.emacs-pre
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 25 Dec 2023 20:15:49 +0200
changeset 1772 d97be992a1f9
parent 1688 0bab53c47567
permissions -rw-r--r--
Introduced Org state FAILED.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
604
9084d12d924d Fix mode name for elisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 533
diff changeset
     1
;; -*- mode: emacs-lisp; coding: utf-8; fill-column: 78 -*-
295
5be44cff4683 Use utf-8 encoding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 111
diff changeset
     2
;;
351
e30e4bd7e85e Small spell correction.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 349
diff changeset
     3
;; For load order see README.
533
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
     4
1676
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
     5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
     6
;; (message "profiler start")
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
     7
1688
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
     8
;; Set to `t' and run:
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
     9
;;   time emacs-w32 --kill
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
    10
(setq my-profiler-enabled nil)
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
    11
;; Override default only when actually profiling... Default is 1000000 ns.
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
    12
(when my-profiler-enabled
0bab53c47567 Moved startup profiler settings to init.el and simplified activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1679
diff changeset
    13
  (setq profiler-sampling-interval 100000))
1679
5ee3a93090f0 Added option to disable activation of desktop-save-mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    14
5ee3a93090f0 Added option to disable activation of desktop-save-mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1676
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
    16
;; (message "libs pre-loading")
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
    17
533
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
    18
;; (require 'etags-select)
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
    19
;; (require 'etags-table)
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
    20
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
    21
;; (require 'jabber)
15b63e0cc424 Document some settings from .emacs-pre/-post.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 381
diff changeset
    22
1676
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
    23
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2952c3c11261 Added a code example helping profiling of startup.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1400
diff changeset
    24