Mercurial > hg > config
comparison .emacs @ 856:1c3f6daa1190
require package
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Fri, 22 Dec 2017 14:10:15 -0800 |
| parents | 03f9657514e9 |
| children | 977b5789cfe8 |
comparison
equal
deleted
inserted
replaced
| 855:8e41e95aac97 | 856:1c3f6daa1190 |
|---|---|
| 1 (require 'package) | |
| 2 (custom-set-variables | |
| 3 ;; custom-set-variables was added by Custom. | |
| 4 ;; If you edit it by hand, you could mess it up, so be careful. | |
| 5 ;; Your init file should contain only one such instance. | |
| 6 ;; If there is more than one, they won't work right. | |
| 7 '(package-archives | |
| 8 (quote | |
| 9 (("gnu" . "http://elpa.gnu.org/packages/") | |
| 10 ("melpa-stable" . "http://stable.melpa.org/packages/"))))) | |
| 11 (package-initialize) | |
| 12 | |
| 1 (setq max-specpdl-size 5000) | 13 (setq max-specpdl-size 5000) |
| 2 | 14 |
| 3 (setq initial-scratch-message ";; scratch ;; | 15 (setq initial-scratch-message ";; scratch ;; |
| 4 | 16 |
| 5 ") | 17 ") |
| 7 ;; server: gnuserv | 19 ;; server: gnuserv |
| 8 ;; http://www.emacswiki.org/emacs/GnuClient | 20 ;; http://www.emacswiki.org/emacs/GnuClient |
| 9 (if (boundp 'gnuserv-start) (gnuserv-start)) | 21 (if (boundp 'gnuserv-start) (gnuserv-start)) |
| 10 ;; frames: http://www.emacswiki.org/emacs/GnuClient#toc6 | 22 ;; frames: http://www.emacswiki.org/emacs/GnuClient#toc6 |
| 11 (setq gnuserv-frame (selected-frame)) | 23 (setq gnuserv-frame (selected-frame)) |
| 12 | |
| 13 ;; ;; ;; emacs server (what a piece of crap) | |
| 14 ;; (require 'server) | |
| 15 ;; (unless (server-running-p) | |
| 16 ;; (server-start)) | |
| 17 ;; ;; ;; An error has occurred while loading `/home/jhammel/.emacs': | |
| 18 ;; ;; ;; Symbol's function definition is void: server-running-p | |
| 19 ;; ;; ;; To ensure normal operation, you should investigate and remove the | |
| 20 ;; ;; ;; cause of the error in your initialization file. Start Emacs with | |
| 21 ;; ;; ;; the `--debug-init' option to view a complete error backtrace. | |
| 22 | |
| 23 ;; ;; ;; For information about GNU Emacs and the GNU system, type C-h C-a. | |
| 24 ;; ;; How to fix: | |
| 25 ;; http://stackoverflow.com/questions/9999320/how-to-check-if-a-function-e-g-server-running-p-is-available-under-emacs | |
| 26 | 24 |
| 27 ;;;; bars | 25 ;;;; bars |
| 28 | 26 |
| 29 ;; Turn off the status bar and on the mouse if we're not in a window system | 27 ;; Turn off the status bar and on the mouse if we're not in a window system |
| 30 (menu-bar-mode (if window-system 1 -1)) | 28 (menu-bar-mode (if window-system 1 -1)) |
