1 ;;; -*- mode: emacs-lisp; coding: utf-8 -*-
3 ;;; Emacs configuration file
5 ;;; (c) 1996-1999 Mark Wooding
8 ;;;----- Licensing notice ---------------------------------------------------
10 ;;; This program is free software; you can redistribute it and/or modify
11 ;;; it under the terms of the GNU General Public License as published by
12 ;;; the Free Software Foundation; either version 2 of the License, or
13 ;;; (at your option) any later version.
15 ;;; This program is distributed in the hope that it will be useful,
16 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;;; GNU General Public License for more details.
20 ;;; You should have received a copy of the GNU General Public License
21 ;;; along with this program; if not, write to the Free Software
22 ;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
24 (setq load-path (nconc load-path (list "~/lib/emacs")))
27 ;;;----- Some random initialisation -----------------------------------------
29 (setq mdw-init-window (selected-window))
31 ;; --- Load some other bits of code ---
33 (maybe-autoload 'cc-mode "cc-mode" nil t)
34 (maybe-autoload 'rexx-mode "rexx-mode" nil t)
35 (maybe-autoload 'cvs-update "pcl-cvs" nil t)
36 (maybe-autoload 'debian-changelog-mode "debian-changelog-mode" nil t)
37 (maybe-autoload 'git-status "git" nil t)
38 (maybe-autoload 'git-blame-mode "git-blame" nil t)
39 (maybe-autoload 'stgit "stgit" nil t)
40 (and (library-exists-p "vc-git")
41 (not (memq 'GIT vc-handled-backends))
42 (setq vc-handled-backends (cons 'GIT vc-handled-backends)))
43 (and (library-exists-p "quilt")
44 (not mdw-fast-startup)
47 (trap (or mdw-fast-startup (require 'tex-site)))
49 ;; --- Skeleton stuff ---
51 (trap (or mdw-fast-startup (require 'skel-init)))
53 ;; --- Window system-dependent things ---
56 (trap (show-paren-mode t))
57 (or window-system (menu-bar-mode -1))
59 ;; --- Temporary directory handling ---
61 (defun mdw-check-dir-exists (dir)
63 (file-directory-p dir)
65 (setq tmpdir (or (mdw-check-dir-exists (getenv "TMPDIR"))
66 (mdw-check-dir-exists (format "/tmp/%s" (user-login-name)))
69 ;; --- Emacs server behaviour ---
73 (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$"))))
75 ;; --- Control backup behaviour ---
77 (setq backup-by-copying nil)
78 (setq backup-by-copying-when-linked t)
79 (setq backup-by-copying-when-mismatch t)
81 (setq mdw-backup-disable-regexps
82 '("/\\.git/COMMIT_EDITMSG$"
83 "/\\.stgit\\(-edit\\.txt\\|msg\\.txt\\|\\.msg\\)$"))
85 ;; --- Safe variables ---
87 (setq safe-local-variable-values
88 '((make-backup-files . nil)))
90 ;; --- Calculator fiddling ---
92 (setq calc-settings-file "~/.emacs-calc")
93 (load calc-settings-file)
95 ;; ---- Some mail and news configuration ---
97 (setq mail-from-style 'parens)
98 (setq mail-signature t)
99 (setq mail-yank-prefix "> ")
100 (setq mail-archive-file-name "~/Mail/sent")
102 (setq rmail-display-summary t)
103 (setq rmail-file-name "~/Mail/rmail")
105 ;; --- Internationalization twiddling ---
108 ;; Have top-bit-set characters work properly in terminals.
109 (let ((im (current-input-mode)))
110 (apply #'set-input-mode
111 (nconc (list (nth 0 im) (nth 1 im) 0) (nthcdr 3 im)))))
113 ;; --- Don't disable any commands ---
115 (mapatoms #'(lambda (sym) (put sym 'disabled nil)))
117 ;; --- Split a wide window ---
121 ;; --- Postscript printing ---
123 (setq ps-paper-type 'a4
126 ps-number-of-columns 3
127 ps-font-family 'Courier
130 ;; --- Splash screen stuff ---
133 (setq inhibit-splash-screen t
134 inhibit-startup-message t))
136 ;; --- Other goodies ---
138 (trap (resize-minibuffer-mode 1)) ;Make minibuffer grow dynamically
139 (auto-compression-mode 1) ;Enable automatic compression
140 (setq dabbrev-case-replace nil) ;Retain case when completing
141 (setq next-line-add-newlines nil) ;Don't add weird newlines
142 (setq split-height-threshold 45) ;Reuse windows where sensible
143 (setq display-buffer-reuse-frames nil ;Don't confuse me by showing buffers
144 iswitchb-default-method 'samewindow) ;in other random frames
145 (setq dired-deletion-confirmer ;Make deletion easier in dired
146 (symbol-function 'y-or-n-p))
147 (setq dired-listing-switches "-alF") ;Do `ls -F' things in dired windows
148 (setq wdired-allow-to-change-permissions t)
149 (setq case-fold-file-names nil) ;Don't translate file names (grr...)
150 (setq scroll-step 5) ;Don't scroll too much at a time
151 (setq-default fill-column 77) ;I use rather narrow windows
152 (setq-default comment-column 40) ;Set a standard comment column
153 (setq-default truncate-partial-width-windows nil)
154 (setq woman-use-own-frame nil) ;Keep man pages somewhere sensible
155 (setq diff-switches "-u" ;I like reading unified diffs
156 cvs-diff-flags (list diff-switches))
157 (setq echo-keystrokes 10) ;Long delay before keystrokes echo
158 (setq ange-ftp-ftp-program-name "pftp") ;Use passive FTP
159 (setq find-ls-option ;Build file lists efficiently
160 '("-print0 | xargs -0r ls -ld" . "ld"))
161 (setq bookmark-save-flag 0) ;Save bookmarks automatically
162 (setq Info-fontify-maximum-menu-size 60000)
163 (setq set-mark-command-repeat-pop t)
164 (setq ispell-program-name "aspell"
165 ispell-local-dictionary "en_GB-ize-w_accents"
166 flyspell-default-dictionary "en_GB-ize-w_accents"
167 ispell-silently-savep t)
170 (setq uniquify-buffer-name-style 'post-forward-angle-brackets)
171 (setq uniquify-after-kill-buffer-p t))
172 (transient-mark-mode t)
176 (trap (or mdw-fast-startup (global-auto-revert-mode t)))
177 (setq psgml-html-build-new-buffer nil)
179 (defvar mdw-black-background t)
181 (eval-after-load "outline" '(require 'foldout))
183 (setq cltl2-root-url (mdw-config 'cltl-url))
184 (setq common-lisp-hyperspec-root (mdw-config 'hyperspec-url))
186 ;;;----- W3 and URL fetching stuff ------------------------------------------
188 (let ((proxy (mdw-config 'http-proxy)))
189 (setq url-proxy-services
192 ("gopher" . ,proxy))))
193 (setq url-cookie-untrusted-urls '("."))
195 (setq browse-url-browser-function (mdw-good-url-browser)
196 browse-url-mozilla-program "firefox")
198 (setq w3m-default-display-inline-images t)
200 (setq w3-do-incremental-display t
201 w3-use-menus '(file edit view go bookmark options
202 buffers style search emacs nil help)
203 w3-display-inline-image t
206 ;;;----- Calendar configuration ---------------------------------------------
208 (setq diary-file "~/etc/diary")
210 ;; --- Trivial stuff for the sunrise/sunset calculations ---
212 (setq calendar-latitude 52.2)
213 (setq calendar-longitude 0.1)
214 (setq calendar-location-name "Cambridge, UK")
218 (and (not mdw-fast-startup)
221 (setq other-holidays (append english-and-welsh-bank-holidays
224 ;; --- Date format fiddling ---
226 (setq european-calendar-style t)
228 (setq diary-date-forms '((day "[-/]" month "[^-/0-9]")
229 (day " *" monthname "[ \t]*\\(\^M\\|\n\\)")
230 (backup day " *" monthname "\\W+\\<[^*0-9]")
231 (day "[-/]" month "[-/]" year "[^0-9]")
232 (day " *" monthname " *" year "[^0-9]")
233 (year "[-/]" month "[-/]" day "[^0-9]")
236 ;; --- Fancy diary handling ---
238 (add-hook 'diary-display-hook 'fancy-diary-display)
239 (setq diary-list-include-blanks t)
240 (add-hook 'list-diary-entries-hook 'sort-diary-entries t)
241 (add-hook 'list-diary-entries-hook 'include-other-diary-files)
242 (add-hook 'mark-diary-entries-hook 'mark-included-diary-files)
244 ;; --- Appointment management ---
246 (add-hook 'diary-hook 'appt-make-list)
247 (setq appt-issue-message t)
248 (setq appt-display-interval 3)
249 (setq appt-message-warning-time 10)
251 ;; --- Cosmetic stuff ---
253 (setq display-time-24hr-format t)
257 (let ((view-diary-entries-initially t))
260 ;;;----- MailCrypt ----------------------------------------------------------
262 ;; --- Define more mode hooks for MailCrypt ---
265 '((mdwmail-mode (encrypt . mdwmail-mc-encrypt)
266 (sign . mdwmail-mc-sign))))
268 ;; --- Load the MailCrypt support ---
271 (and (string-match "linux" (symbol-name system-type))
272 (not mdw-fast-startup)
273 (progn (require 'mailcrypt-init)
275 (setq mc-default-scheme 'mc-scheme-gpg)
276 (setq mc-pgp-user-id "mdw-nsict-pgp")
277 (setq mc-gpg-user-id "mdw-nsict-gpg")
278 (setq mc-modes-alist (append mc-modes-alist mdw-mc-modes))
279 (setq mc-pgp-always-sign t)
280 (setq mc-gpg-always-sign t)
281 (setq mc-always-replace 'never)
282 (setq mc-passwd-timeout 3600)
283 (setq mc-temp-directory tmpdir)
284 (setq mc-modes-alist (append mc-modes-alist mdw-mc-modes))
285 (define-key mc-write-mode-map "\C-c/S" 'mc-sign-region)
286 (define-key mc-write-mode-map "\C-c/E" 'mc-encrypt-region)
287 (add-hook 'text-mode-hook 'mc-install-write-mode))))
289 ;;;----- Other common declarations ------------------------------------------
291 ;; --- Default frame size ---
293 (setq default-frame-alist
297 (vertical-scroll-bars . right))
299 '((cursor-type . bar)
303 (scroll-bar-width . 15)))
304 '((cursor-color . "red"))
305 (if mdw-black-background
306 '((background-color . "black")
307 (foreground-color . "white")
308 (background-mode . dark))
309 '((background-mode . light)))
310 (and (eq window-system 'pm)
311 '((font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850")
312 (menu-font . "8.Helv")
313 (background-color . "lightgrey")))
314 '((transparency . t))
315 default-frame-alist))
317 ;; --- Other frame fiddling ---
319 (setq frame-title-format '("" invocation-name "@" system-name ": %b"))
321 ;; --- Global keymap changes ---
324 (windmove-default-keybindings))
325 (setq windmove-wrap-around t)
326 (trap (iswitchb-mode))
327 (global-set-key [?\C-x ?w left] 'windmove-left)
328 (global-set-key [?\C-x ?w ?h] 'windmove-left)
329 (global-set-key [?\C-x ?w up] 'windmove-up)
330 (global-set-key [?\C-x ?w ?k] 'windmove-up)
331 (global-set-key [?\C-x ?w down] 'windmove-down)
332 (global-set-key [?\C-x ?w ?j] 'windmove-down)
333 (global-set-key [?\C-x ?w right] 'windmove-right)
334 (global-set-key [?\C-x ?w ?l] 'windmove-right)
335 (global-set-key [?\M-#] 'calc-dispatch)
336 (global-set-key [?\C-x ?/] 'auto-fill-mode)
337 (global-set-key [?\C-x ?w ?d] 'mdw-divvy-window)
338 (global-set-key [insertchar] 'overwrite-mode)
339 (global-set-key [?\C-x ?m] 'vm-mail)
340 (global-set-key [?\C-x ?\C-n] 'skel-create-file)
341 (global-set-key [?\C-x ?4 ?n] 'skel-create-file-other-window)
342 (global-set-key [?\C-x ?5 ?n] 'skel-create-file-other-frame)
343 (global-set-key [delete] 'delete-char)
344 (global-set-key [?\M-q] 'mdw-fill-paragraph)
345 (global-set-key [?\C-h ?\C-m] 'manual-entry)
346 (global-set-key [C-M-backspace] 'backward-kill-sexp)
347 (global-set-key [mode-line C-mouse-1] 'mouse-tear-off-window)
348 (global-set-key [vertical-scroll-bar C-down-mouse-1]
349 'mouse-drag-vertical-line)
350 (global-set-key [vertical-scroll-bar C-mouse-1]
351 #'(lambda () (interactive)))
353 ;; --- Recognising types of files ---
355 (setq auto-mode-alist
356 (append `(("\\.p[lm]$" . perl-mode)
357 ("\\.m$" . objc-mode)
359 ("\\.cs" . csharp-mode)
360 ;; ("/[ch]/" . c-mode)
362 "\\.stgit\\.msg" "\\|"
363 "\\.git/COMMIT_EDITMSG" "\\|"
364 "svn-commit\\.tmp" "\\|"
365 "svk-commit[^/.]*\\.tmp"
368 (,(concat "^" tmpdir "/\\("
369 "svk-commit[^/.]*\\.tmp" "\\|"
370 "gitci\\.[^/.]*" "\\|"
371 "cvs[^/.]\\{6\\}" "\\|"
372 "quilt_header\.[^/.]\\{6\\}"
375 ("\\.calc?$" . apcalc-mode)
376 ("/src/linux/.*\\.\\(c\\|h\\|cc\\)$" . linux-c-mode)
377 ("/\\(s\\|sh\\)/" . arm-assembler-mode)
378 ("\\.\\(cmd\\|exec\\|rexx\\)$" . rexx-mode)
379 ("\\.st$" . smalltalk-mode)
380 ("\\.msgs$" . messages-mode)
381 ("/all-cmds\\.in$" . cpp-messages-mode)
382 ("\\.\\(tex\\|dtx\\)$" . latex-mode)
383 ("\\.gc$" . haskell.-mode)
384 (,(concat "^" (getenv "HOME") "/News/") . mdwmail-mode)
385 (,(concat "^" tmpdir "/\\(SLRN\\|snd\\|pico\\)")
389 (setq interpreter-mode-alist
390 (append `(("runlisp" . lisp-mode))
391 interpreter-mode-alist))
393 (setq completion-ignored-extensions
394 (append `(".hc" ".hi") completion-ignored-extensions))
396 ;; --- Some common local definitions ---
398 (make-variable-buffer-local 'mdw-auto-indent)
400 (mapcar (lambda (hook) (add-hook hook 'mdw-misc-mode-config))
401 '(c-mode-hook c++-mode-hook objc-mode-hook java-mode-hook
402 perl-mode-hook cperl-mode-hook python-mode-hook awk-mode-hook
403 tcl-mode-hook asm-mode-hook
404 TeX-mode-hook LaTeX-mode-hook TeXinfo-mode-hook
405 tex-mode-hook latex-mode-hook texinfo-mode-hook
406 emacs-lisp-mode-hook scheme-mode-hook
407 lisp-mode-hook lisp-interaction-mode-hook inferior-lisp-mode-hook
409 sml-mode-hook haskell-mode-hook
410 smalltalk-mode-hook rexx-mode-hook
411 arm-assembler-mode-hook))
413 (global-font-lock-mode t)
414 (defalias 'perl-mode 'cperl-mode)
416 ;;;----- Rootly editingness -------------------------------------------------
418 (eval-after-load "tramp"
423 (tramp-connection-function tramp-open-connection-su)
424 (tramp-remote-sh "/bin/sh")
425 (tramp-login-program "become")
426 (tramp-copy-program nil)
427 (tramp-copy-args nil)
428 (tramp-copy-keep-date-arg nil)
429 (tramp-login-args ("TERM=dumb" "%u")))
431 (tramp-connection-function tramp-open-connection-su)
432 (tramp-login-program "really")
433 (tramp-login-args ("-u" "%u" "--"
434 "env" "TERM=dumb" "/bin/sh"))
435 (tramp-copy-program nil)
436 (tramp-copy-args nil)
437 (tramp-copy-keep-date-arg nil)
438 (tramp-remote-sh "/bin/sh"))
440 (setq tramp-multi-connection-function-alist
442 '(("bc" tramp-multi-connect-su "become TERM=dumb %u%n"))
443 '(("r" tramp-multi-connect-su "really -u %u%n"))
444 tramp-multi-connection-function-alist))
445 (setq tramp-default-method "ssh")
446 (setq tramp-default-method-alist
447 `(("\\`localhost\\'" ""
448 ,(cond ((executable-find "become") "become")
449 ((executable-find "really") "really")
452 ;;;----- General fontification ----------------------------------------------
454 ;; --- Configure lazy fontification ---
456 (and (fboundp 'lazy-lock-mode)
457 (setq font-lock-support-mode 'lazy-lock-mode))
458 ; (setq lazy-lock-defer-contextually t)
459 (setq lazy-lock-defer-time nil)
460 (setq font-lock-maximum-decoration 3)
461 (setq lazy-lock-minimum-size 0)
462 (setq lazy-lock-stealth-time 5)
463 (setq lazy-lock-stealth-lines 100)
464 (setq lazy-lock-stealth-verbose t)
466 (add-hook 'after-make-frame-functions 'mdw-do-set-font)
467 (add-hook 'term-setup-hook (lambda () (mdw-do-set-font (selected-frame))))
468 (add-hook 'window-setup-hook (lambda () (mdw-do-set-font (selected-frame))))
470 (add-hook 'c-mode-hook 'mdw-fontify-c-and-c++ t)
471 (add-hook 'objc-mode-hook 'mdw-fontify-c-and-c++ t)
472 (add-hook 'c++-mode-hook 'mdw-fontify-c-and-c++ t)
473 (add-hook 'linux-c-mode-hook #'(lambda () (setq c-basic-offset 8)))
474 (add-hook 'asm-mode-hook 'mdw-fontify-asm t)
476 (add-hook 'apcalc-mode-hook 'mdw-misc-mode-config t)
477 (add-hook 'apcalc-mode-hook 'mdw-fontify-apcalc t)
479 (add-hook 'java-mode-hook 'mdw-fontify-java t)
481 (add-hook 'awk-mode-hook 'mdw-fontify-awk t)
483 (add-hook 'perl-mode-hook 'mdw-fontify-perl t)
484 (add-hook 'cperl-mode-hook 'mdw-fontify-perl t)
486 (setq-default py-indent-offset 2)
487 (add-hook 'python-mode-hook 'mdw-fontify-python t)
489 (setq-default tcl-indent-level 2)
490 (add-hook 'tcl-mode-hook 'mdw-fontify-tcl t)
492 (add-hook 'rexx-mode-hook 'mdw-fontify-rexx t)
494 (setq sml-nested-if-indent t)
495 (setq sml-case-indent nil)
496 (setq sml-indent-level 4)
497 (setq sml-type-of-indent nil)
498 (add-hook 'sml-mode-hook 'mdw-fontify-sml t)
500 (add-hook 'haskell-mode-hook 'mdw-fontify-haskell t)
501 (setq-default haskell-indent-offset 2)
503 (add-hook 'texinfo-mode-hook 'mdw-fontify-texinfo t)
504 (add-hook 'TeXinfo-mode-hook 'mdw-fontify-texinfo t)
506 (setq LaTeX-table-label "tbl:")
507 (setq-default TeX-master nil)
508 ;; (setq TeX-parse-self t)
509 ;; (setq TeX-auto-save t)
510 (setq TeX-auto-untabify nil)
511 (add-hook 'TeX-mode-hook 'mdw-fontify-tex t)
512 (add-hook 'tex-mode-hook 'mdw-fontify-tex t)
513 (add-hook 'LaTeX-mode-hook 'mdw-fontify-tex t)
514 (add-hook 'latex-mode-hook 'mdw-fontify-tex t)
516 (add-hook 'sh-mode-hook #'mdw-setup-sh-script-mode)
517 (add-hook 'autoconf-mode-hook #'mdw-setup-m4)
518 (add-hook 'm4-mode-hook #'mdw-setup-m4)
520 (add-hook 'smalltalk-mode-hook 'mdw-fontify-smalltalk t)
521 (add-hook 'smalltalk-mode-hook 'mdw-setup-smalltalk t)
523 (add-hook 'emacs-lisp-mode-hook 'mdw-fontify-lispy t)
524 (add-hook 'scheme-mode-hook 'mdw-fontify-lispy t)
525 (add-hook 'lisp-mode-hook 'mdw-fontify-lispy t)
526 (add-hook 'inferior-lisp-mode-hook 'mdw-fontify-lispy t)
527 (add-hook 'lisp-interaction-mode-hook 'mdw-fontify-lispy t)
528 (add-hook 'slime-repl-mode-hook 'mdw-fontify-lispy t)
529 (add-hook 'lisp-mode-hook 'mdw-common-lisp-indent t)
530 (add-hook 'inferior-lisp-mode-hook
532 (local-set-key "\C-m" 'comint-send-and-indent)) t)
534 (add-hook 'text-mode-hook 'mdw-text-mode t)
536 ;;;----- TeX stuff ----------------------------------------------------------
538 (setq TeX-output-view-style
540 ("^landscape$" "^pstricks$\\|^pst-\\|^psfrag$")
541 "%(o?)dvips -t landscape %d -o && evince %f")
542 ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$"
543 "%(o?)dvips %d -o && evince %f")
545 ("^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$" "^landscape$")
546 "%(o?)xdvi %dS -paper a4r -s 0 %d")
547 ("^dvi$" "^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$"
548 "%(o?)xdvi %dS -paper a4 %d")
550 ("^a5\\(?:comb\\|paper\\)$" "^landscape$")
551 "%(o?)xdvi %dS -paper a5r -s 0 %d")
552 ("^dvi$" "^a5\\(?:comb\\|paper\\)$" "%(o?)xdvi %dS -paper a5 %d")
553 ("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d")
554 ("^dvi$" "^letterpaper$" "%(o?)xdvi %dS -paper us %d")
555 ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -paper legal %d")
556 ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
557 ("^dvi$" "." "%(o?)xdvi %dS %d")
558 ("^pdf$" "." "evince %o")
559 ("^html?$" "." "netscape %o")))
561 ;;;----- SLIME setup --------------------------------------------------------
564 (if (not mdw-fast-startup)
566 (require 'slime-autoloads)
567 (slime-setup '(slime-autodoc slime-c-p-c)))))
569 (let ((stuff '((cmucl ("cmucl"))
570 (sbcl ("sbcl") :coding-system utf-8-unix)
571 (clisp ("clisp") :coding-system utf-8-unix))))
572 (or (boundp 'slime-lisp-implementations)
573 (setq slime-lisp-implementations nil))
575 (let* ((head (car stuff))
576 (found (assq (car head) slime-lisp-implementations)))
577 (setq stuff (cdr stuff))
579 (rplacd found (cdr head))
580 (setq slime-lisp-implementations
581 (cons head slime-lisp-implementations))))))
582 (setq slime-default-lisp 'sbcl)
584 ;;;----- Shell mode ---------------------------------------------------------
586 ;; --- Make the shell mode aware of my prompt ---
588 (setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *")
589 (setq comint-password-prompt-regexp
590 (concat "\\(\\([Oo]ld \\|[Nn]ew \\|[a-zA-Z0-9_]*'s \\|^\\)"
591 "[Pp]assword\\|pass phrase\\):\\s *\\'"))
593 ;; --- Notice passwords, and make C-a work right ---
595 (add-hook 'shell-mode-hook #'mdw-sh-mode-setup)
597 (add-hook 'term-mode-hook #'mdw-term-mode-setup)
599 ;;;----- Finishing touches --------------------------------------------------
601 (trap (select-window mdw-init-window))
602 (provide 'emacs-init)
604 ;;;----- That's all, folks --------------------------------------------------